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?


You don’t need to switch to another client. Apparently Transmission can be set to bind to your VPN IP by editing
settings.json:If you set those with your VPN IP and the VPN is down then Transmission won’t be able to communicate with any peers.
Another option, is to use systemd to restrict Transmission’s networking to your VPN IP. You can make an override of the default transmission daemon unit by using the following command:
Then type what you need to override:
[Service] IPAddressDeny=any IPAddressAllow=10.0.0.1 # --> your VPN IP hereAnother systemd option, might be to restrict it to a single network interface:
[Service] RestrictNetworkInterfaces=wg0 # --> your VPN interfaceSave the file and run
systemctl daemon-reloadfollowed bysystemctl restart transmission-daemon.serviceand it should be applied.This will be safer than just doing
bind-address-ipv4andbind-address-ipv6.