qbittorrent-nox bind to VPN interface tun0

Linux specific questions, problems.
Post Reply
joelyboy94

qbittorrent-nox bind to VPN interface tun0

Post by joelyboy94 »

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

Code: Select all

route-nopull
where all traffic is routed through the

Code: Select all

tun0
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

Code: Select all

route-nopull
so all traffic is not re-directed through interface

Code: Select all

tun0
.
- If I run

Code: Select all

curl https://ipinfo.io/ip
my public IP

Code: Select all

82.xx.xx.xx
is returned as expected
- If I run

Code: Select all

curl --interface tun0 https://ipinfo.io/ip
the nordvpn IP

Code: Select all

94.229.73.188
is returned as expected

If I set

Code: Select all

Connection\Interface=tun0
in the qBittorrent.conf file, reboot, and re-add the "Ubuntu 20.10 Desktop (64-bit)" torrent it stays at "downloading metadata"?

Thanks
Post Reply