Solution to run qBittorent container and VPN but not affect host?

I'm currently running qbittorent and nord VPN on a VM to safely torrent without getting yelled at by my ISP. I use the VM because I cannot enable the VPN on the host it'self as it would cause various connectivity issues. Is there a way to usse the qBittorrent container, and have it use a VPN without the entire host utilizing the VPN?

I know the container uses the host's IP but can you use VPN only for a specific port? Or do I continue using a VM?

1 points · 2 comments · view on lemmy.world

2 Comments

ElusiveClarity@lemmy.world · 1 pts · 2y

I’m not sure about nord, but I use proton vpn and it has a setting called split tunneling. You can choose to include or exclude certain apps from the vpn and I just have qbittorrent on the include list so it’s the only thing on my pc that uses the vpn.

Radium@sh.itjust.works · 1 pts · 2y

Checkout gluetun, it does exactly what you want https://github.com/qdm12/gluetun