I read that was highly recommend, and looked closer into the config options for transmission torrent client on Debian. I don’t see any options in that regard. Where can I find instructions?
Use docker with something like gluetun and run transmission docker sharing gluetun network.
I know you’re asking about transmission, but… Qbittorrent has an option in the GUI that allows you to specify what network interface it uses to communicate through. Therefore if your VPN isn’t up, it won’t use your normal network. And if your VPN drops out, it also won’t use your normal network. Just another option in case you’re interested.
I found this: https://askubuntu.com/questions/37412/how-can-i-ensure-transmission-traffic-uses-a-vpn#205510 Hope it helps
I’m using this if it helps and if you want to use docker : https://hub.docker.com/r/haugene/transmission-openvpn
This container is great, I use it for my arrstack. If the VPN connection goes down, the container infinitely restarts until it can get a connection again.
I use qbittorrent in a docker container which sits on the network stack of another wireguard container connected to mullvad.
Kinda like this, but with VMs, Qubes is a option to ensure you never leak. And there are many guides on setting up VPN vms (mullvad even has a article).
Qubes has a bit of a learning curve, but it’s rewarding.
is there any guide on how to do this?
not really.
It’s pretty easy as far as docker configs go.
Get a wireguard container, I think I use one from linuxserver IIRC.
Then get a qbittorrent (or other torrent client) container, and set it’s network to use the wireguard container. It’s as easy as
network: wireguard_container_name
in your compose file or something like that anyway.
Also, VPN usually have a killswitch feature where it turn off the connection if the VPN stops working.