qbittorrent-nox bind to VPN interface tun0
Posted: Wed Mar 24, 2021 11:22 pm
I'm having issues configuring qBittorrent to work with a VPN interface.
I have openvpn setup on a raspberry pi 3B using a Nordvpn server.
If I leave the openvpn .conf file without setting where all traffic is routed through the adaptor, qbittorrent-nox works fine and I am able to torrent
- I have checked the "Ubuntu 20.10 Desktop (64-bit)" torrent and am able to download it successfully
- Checked on https://ipleak.net and when the "Torrent Address detection" comes up as the Nordvpn IP address as expected
However, I do not want to route all my traffic through the VPN, only torrenting. So, I modified the .conf openvpn file with the line so all traffic is not re-directed through interface .
- If I run my public IP is returned as expected
- If I run the nordvpn IP is returned as expected
If I set in the qBittorrent.conf file, reboot, and re-add the "Ubuntu 20.10 Desktop (64-bit)" torrent it stays at "downloading metadata"?
Thanks
I have openvpn setup on a raspberry pi 3B using a Nordvpn server.
If I leave the openvpn .conf file without setting
Code: Select all
route-nopull
Code: Select all
tun0
- I have checked the "Ubuntu 20.10 Desktop (64-bit)" torrent and am able to download it successfully
- Checked on https://ipleak.net and when the "Torrent Address detection" comes up as the Nordvpn IP address as expected
However, I do not want to route all my traffic through the VPN, only torrenting. So, I modified the .conf openvpn file with the line
Code: Select all
route-nopull
Code: Select all
tun0
- If I run
Code: Select all
curl https://ipinfo.io/ip
Code: Select all
82.xx.xx.xx
- If I run
Code: Select all
curl --interface tun0 https://ipinfo.io/ip
Code: Select all
94.229.73.188
If I set
Code: Select all
Connection\Interface=tun0
Thanks