Skip to content

Commit 069b192

Browse files
committed
Add support for a built-in funnel
1 parent 2d78629 commit 069b192

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

sidecar/connect.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ else
1616
# this is over the tailnet, so I'm fine with HTTP here too
1717
tailscale serve --yes --bg --http 80 localhost:${TS_SERVE_PORT}
1818
fi
19+
20+
if [ "${TS_FUNNEL:-no}" = "yes" ]; then
21+
echo "Starting funnel"
22+
tailscale funnel --bg ${TS_SERVE_PORT}
23+
fi
1924
fi
2025

2126
tailscale status

0 commit comments

Comments
 (0)