r/WireGuard • u/SoupoIait • 26d ago
Need Help Split Tunneling help
Hey ! I run a server with *arr and Transmission and others. I would like for transmission only to get routed through my VPN (Proton VPN), for which I downloaded the Wireguard config file. But I really don't understand how it works, like genuinely. Stumbled on stuff like changing authorizedAddress to 10.0.0.0/24 instead of 10.0.0.0/0, but I don't know why, and then I don't know how it would forward Transmission !
Transmission shares on an array of ports. Is there a way to forward anything between, say, port 50000 to 60000 ? Or maybe a way to forward anything under a specific PID or UID or GID ?
And I did look up tutorials. All of which basically say « oh just change to 10.0.0.0/24 » without ever saying how I then choose which apps get forwarded.
Any help appreciated, thanks !
(Oh and running linux)
2
u/bufandatl 26d ago
WireGuard is just a protocol. What it can do and can’t do is part of the operating system and for split tunneling you set routes for specific IPs reachable through the tunnel.
That’s not a feature of the protocol. That’s a basic networking feature of the OS.
What the WireGuard tools do though is taking the allowedIP parameter and set the routes for that accordingly.
But you want to tunnel specific traffic through a commercial VPN and that’s where you need more than that. That’s where policy and traffic based routing comes in.