This seems like something that would be simple, but I spent a long time trying to figure it out. I figured I’d write a blog post about it in case anyone else has a similar desire.

  • lambda_notation@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    6 hours ago

    On BSD you use FIBs to declare process specific routing tables, on Linux you use firewall marks to do the same, then just route all trafik through the vpn uplink and deny any other.

  • originalucifer@moist.catsweat.com
    link
    fedilink
    arrow-up
    11
    ·
    4 days ago

    i found it very easy to grab a couple of pre-built containers… im using deluge and gluetun … im sure theres a transmission container out there also.

    setup your auth info in gluetun, point your deluge/trans container at gluetun for its network and youre done.

  • WeirdGoesPro@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    1
    ·
    3 days ago

    Gluetun is the way. Get a transmission docker container, set up a gluetun docker container, set the gluetun container as the network for the transmission container.

    Viola, you have a perfectly working VPN with a kill switch.