-
I read docs and (discussion)how to use gluetun as ts exit node and I set up accordingly.
My docker-compose.yml: ---
version: "3.7"
services:
gruetun:
image: qmcgaw/gluetun:latest
hostname: gruetun
cap_add:
- NET_ADMIN
devices:
- /dev/net/tun:/dev/net/tun
volumes:
- ./config:/gluetun
ports:
- 8888:8888/tcp # HTTP proxy
- 8388:8388/tcp # Shadowsocks
- 8388:8388/udp # Shadowsocks
environment:
- LOG_LEVEL=debug
- VPN_SERVICE_PROVIDER=mullvad
- VPN_TYPE=wireguard
#- VPN_ENDPOINT_PORT=1194
- WIREGUARD_PRIVATE_KEY=my-mullvad-priv-key
- WIREGUARD_ADDRESSES=10.75.176.201/32
- SERVER_HOSTNAME=jp-osa-wg-001
#- SERVER_CITIES=Osaka
#- DNS_ADDRESS=1.1.1.1
- HEALTH_VPN_DURATION_INITIAL=120s
#network_mode: host
tsdocker:
image: tailscale/tailscale:latest
depends_on:
gruetun:
condition: service_healthy
environment:
- TS_AUTHKEY=tskey-auth-xxx
- TS_STATE_DIR=/var/lib/tailscale
- TS_USERSPACE=false
- TS_EXTRA_ARGS=--advertise-exit-node --accept-routes
- TS_ROUTES=192.168.12.0/24 # home LAN subnet
volumes:
- ./tsdocker/state:/var/lib/tailscale
devices:
- /dev/net/tun:/dev/net/tun
cap_add:
- net_admin
restart: unless-stopped
network_mode: service:gruetun Device Info
I tried:
|
Beta Was this translation helpful? Give feedback.
Answered by
ruka-64
Jul 4, 2025
Replies: 2 comments
-
u get it work? |
Beta Was this translation helpful? Give feedback.
0 replies
-
I found a solution and I wrote how to do that at zenn.dev (Japanese tech community). You can view from here (If you don't know Japanese, translate it with your translator) |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ruka-64
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I found a solution and I wrote how to do that at zenn.dev (Japanese tech community).
You can view from here (If you don't know Japanese, translate it with your translator)