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.
Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ
⚓ Dedicated to the discussion of digital piracy, including ethical problems and legal advancements.
Rules • Full Version
1. Posts must be related to the discussion of digital piracy
2. Don't request invites, trade, sell, or self-promote
3. Don't request or link to specific pirated titles, including DMs
4. Don't submit low-quality posts, be entitled, or harass others
Loot, Pillage, & Plunder
📜 c/Piracy Wiki (Community Edition):
💰 Please help cover server costs.
Ko-fi | Liberapay |
Use docker with something like gluetun and run transmission docker sharing gluetun network.
I use qbittorrent in a docker container which sits on the network stack of another wireguard container connected to mullvad.
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.
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.
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.
Also, VPN usually have a killswitch feature where it turn off the connection if the VPN stops working.