Comment on Solution: How to use Tailscale with Nordvpn to access your selfhosted devices
Unquote0270@programming.dev 3 days agoI did have some problems for a while but eventually got it working. I think what you probably needed to set was the WIREGUARD_MTU, this made a drastic difference for me.
This is the compose:
services: gluetun_exit_node: image: qmcgaw/gluetun container_name: gluetun_exit_node cap_add: - NET_ADMIN devices: - /dev/net/tun:/dev/net/tun environment: - FIREWALL_OUTBOUND_SUBNETS=100.64.0.0/10,192.168.0.0/24 # tailscale + LAN - VPN_SERVICE_PROVIDER=mullvad - VPN_TYPE=wireguard - WIREGUARD_PRIVATE_KEY=${WIREGUARD_PRIVATE_KEY} - WIREGUARD_ADDRESSES=${WIREGUARD_ADDRESSES} - SERVER_COUNTRIES=${MULLVAD_SERVER_COUNTRIES} - WIREGUARD_MTU=1420 - UPDATER_PERIOD=24h - BLOCK_MALICIOUS=true - BLOCK_SURVEILLANCE=true - BLOCK_ADS=true restart: unless-stopped healthcheck: test: ["CMD", "/gluetun-entrypoint", "healthcheck"] interval: 30s timeout: 10s retries: 3 start_period: 10s tailscale-exit: image: tailscale/tailscale:latest container_name: tailscale-exit network_mode: service:gluetun_exit_node environment: - TS_HOSTNAME=mediaserver-exit - TS_AUTHKEY=${TS_AUTHKEY_EXIT} - TS_STATE_DIR=/var/lib/tailscale - TS_EXTRA_ARGS=--advertise-exit-node --accept-routes - TS_ROUTES=192.168.0.0/24 - TS_USERSPACE=true - TS_LOG_LEVEL=info volumes: - /srv/config/tailscale-exit:/var/lib/tailscale user: "1000:1000" depends_on: - gluetun_exit_node restart: unless-stopped
Infernal_pizza@lemmy.dbzer0.com 2 days ago
Thanks, I seem to get about 120ms ping regardless of whether I set the MTU or not. It could be better but it’s not unusable, I’m sure I was getting way worse last time I tried