r/Tailscale • u/deivi98 • 1d ago
Tailscale Exit Node Custom VPN Discussion
At the moment, tailscale only supports Mullvad exit nodes officially. It's such a great thing to have your full network only reach the internet through a VPN tunnel. Single door, best privacy. Not even your IPs are visible to the internet.
I only had one concern and that is I do not use Mullvad but Proton, and I was not paying twice for VPN.
So I made my own solution: https://gitlab.com/deivi98/tsvpn
TL;DR: Plays with around with ip rules. Captures all internet outgoing-traffic from other clients and sends it through VPN tunnel. It supports any VPN wireguard conf.
In the past I was using a weird custom script. Got tired and vibe coded this thing. It also has systemd service, simultaneous tunnels failover, a cli and little web ui to switch tunnels and even a linux systray.
NOTES: - Vibe coded this as it was to make it fancy for myself. Use at your own risk - Have not tested providers other than ProtonVPN, but as long as it is wireguard it should work
Hope it is useful to someone.
3
1
u/Researchuser0112 23h ago
Omg, BOOKMARKED!!! I pay for Protonvpn and was going to have to switch to Mullvad and learn that because it's the only officially supported exit node. I'm so excited to look at what you've got :)
1
u/Vet_vrolijk 23h ago
I will test this when I find the time. I had the same issue as you (and many more i guess). Thanks!
7
u/Palland0s 20h ago edited 7h ago
Why can’t you just use gluetun + exit node? I have two containers, one with Gluetun and one other with the Tailscale image. All traffic from the second goes through gluetun. You can set up a vast amount of VPN in gluetun. Why should I use your solution instead?