I’m a long-time Transmission user but I just learned that VPN killswitches are a thing (how did it take me so long!?). I would like to try another client which has this feature in case I forget to launch my VPN client before opening Transmission. Does anybody have any recommendations? Deluge? QBittorrent? Or any others?
UPDATE: Thanks for the suggestions everyone! I decided to give qbittorrent a try and have been enjoying it so far.
I followed these steps to bind it to my VPN from on Linux:
- Pause torrents
- Connect VPN
- Open qBittorrent. Go to Preferences, and then Advanced tab
- Change network interface to tun0. If unsure, disconnect VPN and restart qBittorrent then repeat step 1 to see which interface appears.
- Restart qBittorrent
- Test it out on the official kubuntu torrent or your favourite distro from LinuxTracker.org. Turn your VPN on and off while verifying whether it pauses and resumes downloading.
So, my setup might be of interest to you.
I have an OpenWRT router with an OpenVPN client on it. I use the router’s firewall rules to secure the access as needed. If I’m using the VPN, then the VPN is the only way traffic can get out, as I close the direct route via firewall.
This setup persists even after a router reboot.
To do this easily, I made a Python script that can load the OpenVPN files on the router, switch on/off the OpenVPN connection and modify the firewall accordingly.
This affects the entire network, and means I am not reliant on the torrent software or desktop VPN client playing ball.
Happy to share my script if it will be handy to you.