Configuring Transmission and OpenVPN on Linux (muuu.net)
from sonus@lemmy.zip to linux@lemmy.ml on 30 Dec 01:57
https://lemmy.zip/post/28997798

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.

#linux

threaded - newest

originalucifer@moist.catsweat.com on 30 Dec 02:14 next collapse

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.

sonus@lemmy.zip on 30 Dec 02:44 next collapse

I don’t know why, but I’ve always shied away from using docker. This does seem like an area where it would be particularly useful.

wesker@lemmy.sdf.org on 30 Dec 02:47 next collapse

I avoided containers for a long time, too. But they truly are game changing.

ComradeMiao@lemmy.dbzer0.com on 30 Dec 13:10 collapse

Is this a server or your pc? Docker is kinda silly if it’s just your pc.

sping@lemmy.sdf.org on 30 Dec 23:40 collapse

Not at all. It allows you to install and use whole suites of tools and libraries without any pollution of or dependencies on your host system. It also allows you to define the whole setup in a file so it’s trivial to recreate on another machine

ComradeMiao@lemmy.dbzer0.com on 31 Dec 00:57 collapse

So baremetal would not be better?

allywilson@lemmy.ml on 30 Dec 07:35 collapse

I use a container for transmission and openvpn: hub.docker.com/r/haugene/transmission-openvpn/

CHKMRK@programming.dev on 30 Dec 21:19 next collapse

I would rather recommend gluetun, it supports multiple VPN protocols and you can attach any container to it

brenticus@lemmy.world on 31 Dec 01:48 collapse

This is what I use as well, although it was primarily out of laziness. Works well enough. I would say the Gluetun solution is a better recommendation, more robust and scalable, but the haugene container basically just works.

Erro@lemmy.world on 30 Dec 02:49 next collapse

Thank you for taking the time to put this together and post it.

WeirdGoesPro@lemmy.dbzer0.com on 30 Dec 22:37 next collapse

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.

lambda_notation@lemmy.ml on 02 Jan 09:28 collapse

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.

sonus@lemmy.zip on 04 Jan 20:58 collapse

What are the pros and cons of that approach vs the one laid out in the blog post?