-
-
Save Gerifield/b0e0f5913a8f4ca86b607857e26c5182 to your computer and use it in GitHub Desktop.
SOCKS5 Proxy using Tailscale Exit Node
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TS_AUTHKEY=ts-auth-yattayatta |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3.9" | |
services: | |
dingus-cloud: | |
image: tailscale/tailscale:stable | |
privileged: true | |
ports: | |
- "1055:1055/tcp" | |
- "1055:1055/udp" | |
environment: | |
TS_AUTHKEY: "${TS_AUTHKEY}" | |
TS_SOCKS5_SERVER: ":1055" | |
# TS_OUTBOUND_HTTP_PROXY_LISTEN: ":${TS_HTTP_PORT}" | |
TS_EXTRA_ARGS: "--exit-node=100.70.93.127 --exit-node-allow-lan-access --shields-up" | |
volumes: | |
- "/dev/net/tun:/dev/net/tun" | |
cap_add: | |
- NET_ADMIN | |
- SYS_MODULE | |
- NET_RAW | |
tmpfs: | |
- /tmp | |
restart: unless-stopped | |
dingus-server: | |
image: tailscale/tailscale:stable | |
privileged: true | |
ports: | |
- "1056:1055/tcp" | |
- "1056:1055/udp" | |
environment: | |
TS_AUTHKEY: "${TS_AUTHKEY}" | |
TS_SOCKS5_SERVER: ":1055" | |
# TS_OUTBOUND_HTTP_PROXY_LISTEN: ":${TS_HTTP_PORT}" | |
TS_EXTRA_ARGS: "--exit-node=100.70.168.22 --exit-node-allow-lan-access --shields-up" | |
volumes: | |
- "/dev/net/tun:/dev/net/tun" | |
cap_add: | |
- NET_ADMIN | |
- SYS_MODULE | |
- NET_RAW | |
tmpfs: | |
- /tmp | |
restart: unless-stopped | |
cloud2: | |
image: tailscale/tailscale:stable | |
privileged: true | |
ports: | |
- "1057:1055/tcp" | |
- "1057:1055/udp" | |
environment: | |
TS_AUTHKEY: "${TS_AUTHKEY}" | |
TS_SOCKS5_SERVER: ":1055" | |
# TS_OUTBOUND_HTTP_PROXY_LISTEN: ":${TS_HTTP_PORT}" | |
TS_EXTRA_ARGS: "--exit-node=100.64.91.73 --exit-node-allow-lan-access --shields-up" | |
volumes: | |
- "/dev/net/tun:/dev/net/tun" | |
cap_add: | |
- NET_ADMIN | |
- SYS_MODULE | |
- NET_RAW | |
tmpfs: | |
- /tmp | |
restart: unless-stopped | |
networks: | |
default: | |
driver_opts: | |
com.docker.network.driver.mtu: 1280 # tailscale/tailscale#3877 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment