Every time I torrent stuff, I don’t want to enable VPN on my computer as that will affect everything I do and slows online gaming/things down.
For example, I just want to be able to have the VPN only affect the torrent client so it hides my IP, meanwhile using my browser I don’t care if my IP is exposed. Is there a way or is there a client that does that?
Look into docker containers, in particular for qbittorrent. By the way you phrased your question, I assume that you are using windows and IDK much about it but google will help you.
Many VPN providers can perform Split Tunnelling, which is sending traffic from a certain app or IP through the VPN and nothing else. Or, inversely, NOT sending certain traffic through the VPN built all other traffic is.
Windscribe does this as I use it often.
Private Internet Access has a split tunnel feature. You can set specific apps only to go through the VPN and bypass everything else.
I use it myself and only have qbittorrent set to use the VPN tunnel. For added security I’ve used the advanced options in qbittorrent to bind it to the PIA VPN connection, that way if the PIA client ever crashes, qbittorrent drops all its connections.
I use Windscribe. They split tunnel on WireGuard that works amazing with qbittorrent.
You can bind the torrent client to the VPN.
What happens is you specify in the torrent client what device it connects to. If the VPN disconnects, rather than exposing your IP address, that connection breaks and it stops trying to transfer.
Just Google how to bind whatever torrent client to your VPN. A Docker container is way more advanced than doing it this way.
Personally, I recommend glueten GitHub - qdm12/gluetun: VPN client in a thin Docker container for multiple VPN providers, written in Go, and using OpenVPN or Wireguard, DNS over TLS, with a few proxy servers built-in.. You can set it up with most VPNs and have all the features like wireguard, portforwarding and so on. All well documented to set up.
Especially useful if your VPN doesn’t have an official client for your OS.
Yeah, I would setup a container with the vpn client and qbitorrent-nox. It might be a good moment to fork gluetun and have it configured with qbt-nox, jacket, etcs.
I do this and in addition my VPN, Nord, has a kill switch feature that closes qbittorent if the connection is interrupted. This is on Windows 10, not sure if their other clients will do it.