I would really really really like to have one device on my tailnet as the exitnode for all other devices on the tailnet. However, most VPNs make this really difficult. Is there any way to do this? I’ve read it’s possible with split-tunnelling, but ProtonVPN (which I use) doesn’t support that. I just installed Alpine Linux on my RPI 4b. And would like to use this as my exit node. Does anyone have any tips for how this could be done?

  • RandomlyRight@sh.itjust.works
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    3 months ago

    For anyone trying this, make sure you do not have “- TS_USERSPACE=false” in your yaml from previous experimentation. After removing this, it works for me too.

    In the documentation they say to add sysctl entries, it is possible in docker compose like so:

    tailscale:
        sysctls:
          - net.ipv4.ip_forward=1
          - net.ipv6.conf.all.forwarding=1
    

    But it does not seem to make a difference for me. Does anyone know why these would not be required in this specific setup?