Skip to content

Commit 7c1e8ee

Browse files
committed
Enable the embedded http-proxy
If the userspace networking implementation is used, we lose the ability to add routes to the routing table and have processes hit Tailscale addresses directly. In order to have outbound connectivity in these cases an HTTP Proxy is used that essentially redirect Tailscale traffic to tailscaled.
1 parent 7bb71d5 commit 7c1e8ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ set -e
1616
TAILSCALED_ARGS="--socket=/tmp/tailscaled.sock"
1717

1818
if [[ "${USERSPACE}" == "true" ]]; then
19-
TAILSCALED_ARGS="${TAILSCALED_ARGS} --tun=userspace-networking"
19+
TAILSCALED_ARGS="${TAILSCALED_ARGS} --tun=userspace-networking --outbound-http-proxy-listen=localhost:1055"
2020
else
2121
if [[ ! -d /dev/net ]]; then
2222
mkdir -p /dev/net

0 commit comments

Comments
 (0)