News for hackers. Stuff that matters.
Re:Transmission 4.0.0 beta 1 is out by bjoli on Friday October 07, 2022 @08:12AM (#33120162)
Under Linux you can run transmission as another user and have an iptables rule to only allow outbound traffic through a specific interface.
Re:Transmission 4.0.0 beta 1 is out by remram on Friday October 07, 2022 @12:04PM (#33123166)
Or as your user in a cgroup, probably.
Re:Transmission 4.0.0 beta 1 is out by megous on Friday October 07, 2022 @04:34PM (#33126575)
Or just uidrange based policy for a separate routing table that just routes to the VPN. Just one thing to set up.
Re:Transmission 4.0.0 beta 1 is out by colinsane on Friday October 07, 2022 @05:04PM (#33126840)
you don't even need the extra user: use a network namespace.

- ip netns add vpnonly # create an empty namespace

- ip netns exec vpnonly wg quick ... # connect to your VPN

later, launch transmission inside this namespace:

- ip netns exec vpnonly transmission

has the nice property that as long as you do that exec step right (or even half right), the failure mode is no connectivity rather than accidentally sending traffic in the clear.