Add HTTP CONNECT proxy (8080) and SOCKS5 (1055) to custom variants

This commit is contained in:
Weston Blieden
2026-04-14 13:44:31 +02:00
parent ef7d73ca0f
commit db05725432
5 changed files with 48 additions and 2 deletions
+26 -2
View File
@@ -23,7 +23,8 @@ This repository provides an **ACAP package** that installs the [Tailscale VPN cl
- [📥 Installation](#-installation)
- [🚀 Usage](#-usage)
- [🔄 Updating Tailscale](#-updating-tailscale)
- [ Proxy Support](#-proxy-support)
- [🔄 Updating Tailscale](#-updating-tailscale)
- [🧪 Testers Needed](#-testers-needed)
- [🎉 Good News](#-good-news)
- [🎯 Purpose](#-purpose)
@@ -59,7 +60,30 @@ Once installed:
---
## 🔄 Updating Tailscale
## Proxy Support
The **custom** variant exposes two local proxy endpoints that route outbound traffic through the Tailscale tunnel:
### HTTP CONNECT Proxy — `http://127.0.0.1:8080`
Routes HTTP and HTTPS traffic. Set this wherever an HTTP/HTTPS proxy field is available on the camera:
| Location | Field | Value |
|---|---|---|
| System → Network → Global proxies | HTTP proxy | `http://127.0.0.1:8080` |
| System → Network → Global proxies | HTTPS proxy | `http://127.0.0.1:8080` |
| System → MQTT → Broker | HTTP proxy | `http://127.0.0.1:8080` |
| System → MQTT → Broker | HTTPS proxy | `http://127.0.0.1:8080` |
### SOCKS5 Proxy — `127.0.0.1:1055`
For ACAP apps or services that support SOCKS5, set their proxy to `127.0.0.1:1055`.
> ️ Proxy addresses are shown in the **Connection Details** panel of the web UI when connected.
---
## 🔄 Updating Tailscale
- New `.eap` files are auto-built and released **weekly** (if a new Tailscale version is available).
- To update, simply install the new `.eap` over the existing one.
+8
View File
@@ -358,6 +358,14 @@
<div class="info-label">Version</div>
<div class="info-value" id="ts-version">-</div>
</div>
<div class="info-item">
<div class="info-label">HTTP/HTTPS Proxy</div>
<div class="info-value">http://127.0.0.1:8080</div>
</div>
<div class="info-item">
<div class="info-label">SOCKS5 Proxy</div>
<div class="info-value">127.0.0.1:1055</div>
</div>
</div>
<div style="margin-top:14px;text-align:right;">
<button id="check-update-btn" class="log-toggle">Check for Updates</button>
@@ -42,6 +42,7 @@ $TAILSCALED_PATH \
--state="$STATE_DIR/tailscaled.state" \
--socket=$SOCKET_PATH \
--socks5-server=localhost:1055 \
--outbound-http-proxy-listener=localhost:8080 \
--tun=userspace-networking \
2>&1 | logger -t "tailscale_script" &
TAILSCALED_PID=$!
@@ -76,6 +77,8 @@ fi
# Keep the script running to maintain the tailscaled process
logger -t "tailscale_script" "Tailscale VPN is running"
logger -t "tailscale_script" "HTTP/HTTPS proxy: http://127.0.0.1:8080"
logger -t "tailscale_script" "SOCKS5 proxy: 127.0.0.1:1055"
logger -t "tailscale_script" "To change settings, modify parameters in ACAP web interface"
# Wait for tailscaled process to exit
+8
View File
@@ -358,6 +358,14 @@
<div class="info-label">Version</div>
<div class="info-value" id="ts-version">-</div>
</div>
<div class="info-item">
<div class="info-label">HTTP/HTTPS Proxy</div>
<div class="info-value">http://127.0.0.1:8080</div>
</div>
<div class="info-item">
<div class="info-label">SOCKS5 Proxy</div>
<div class="info-value">127.0.0.1:1055</div>
</div>
</div>
<div style="margin-top:14px;text-align:right;">
<button id="check-update-btn" class="log-toggle">Check for Updates</button>
+3
View File
@@ -42,6 +42,7 @@ $TAILSCALED_PATH \
--state="$STATE_DIR/tailscaled.state" \
--socket=$SOCKET_PATH \
--socks5-server=localhost:1055 \
--outbound-http-proxy-listener=localhost:8080 \
--tun=userspace-networking \
2>&1 | logger -t "tailscale_script" &
TAILSCALED_PID=$!
@@ -76,6 +77,8 @@ fi
# Keep the script running to maintain the tailscaled process
logger -t "tailscale_script" "Tailscale VPN is running"
logger -t "tailscale_script" "HTTP/HTTPS proxy: http://127.0.0.1:8080"
logger -t "tailscale_script" "SOCKS5 proxy: 127.0.0.1:1055"
logger -t "tailscale_script" "To change settings, modify parameters in ACAP web interface"
# Wait for tailscaled process to exit