Question regarding routing of traffic through VPN

General support for problems installing or using Deluge
Post Reply
DelugeDeluxe
New User
New User
Posts: 3
Joined: Fri Oct 23, 2015 8:12 pm

Question regarding routing of traffic through VPN

Post by DelugeDeluxe »

Hi,

new to Linux and Deluge. Using Linux Mint 17.2 64-Bit, Deluge 1.3.6 and OpenVPN on my machine.

I was able to blacklist Deluge, so that it is only able to receive and send data when my VPN connection is up and running. Used Preferences --> Network --> Interface and inserted my VPN's IP. Seems to work. When I disconnect from the VPN the download speeds go to zero and the connection to most of the peers drops. I say most because some stay visible in the 'Peers' tab on the bottom. That bugs me. So my question: Are these peers only visible leavings from the previous established connection through the VPN or can these peers in fact see my real IP? Am I IP leaking here or not?

Regards
DD
bro
Top Bloke
Top Bloke
Posts: 364
Joined: Sun Aug 28, 2011 6:46 pm
Location: Norway

Re: Question regarding routing of traffic through VPN

Post by bro »

DelugeDeluxe wrote:Hi,

new to Linux and Deluge. Using Linux Mint 17.2 64-Bit, Deluge 1.3.6 and OpenVPN on my machine.

I was able to blacklist Deluge, so that it is only able to receive and send data when my VPN connection is up and running. Used Preferences --> Network --> Interface and inserted my VPN's IP. Seems to work. When I disconnect from the VPN the download speeds go to zero and the connection to most of the peers drops. I say most because some stay visible in the 'Peers' tab on the bottom. That bugs me. So my question: Are these peers only visible leavings from the previous established connection through the VPN or can these peers in fact see my real IP? Am I IP leaking here or not?

Regards
DD
Have you made any changes to the routing config with e.g. iptables, or did you only set the interface IP in Deluge? What do you mean by "blacklist Deluge"?
When reporting issues, please include any relevant information such as OS (and version), python version (for Windows users this depends on which Deluge installer was used), Deluge version and plugin version.
DelugeDeluxe
New User
New User
Posts: 3
Joined: Fri Oct 23, 2015 8:12 pm

Re: Question regarding routing of traffic through VPN

Post by DelugeDeluxe »

I did only set the interface IP in Deluge. Nothing else.

Blacklisting means that traffic from and to Deluge is only possible through the VPN connection. I did that on Win7 too, using the Windows firewall.
bro
Top Bloke
Top Bloke
Posts: 364
Joined: Sun Aug 28, 2011 6:46 pm
Location: Norway

Re: Question regarding routing of traffic through VPN

Post by bro »

Well, by setting the interface IP in Deluge you are not blacklisting anything. What happens is that libtorrent is configured to only listen for connections on that IP. Outgoing packets will be sent through the interface that goes to the default route, so unless you modify the routing table configurations you will not be using the VPN interface for the torrent traffic.
When reporting issues, please include any relevant information such as OS (and version), python version (for Windows users this depends on which Deluge installer was used), Deluge version and plugin version.
DelugeDeluxe
New User
New User
Posts: 3
Joined: Fri Oct 23, 2015 8:12 pm

Re: Question regarding routing of traffic through VPcome to

Post by DelugeDeluxe »

Thx for the answer.
bro wrote:Outgoing packets will be sent through the interface that goes to the default route
But all the Up- and Downloads are coming to an end when I switch off my VPN. I thought that would be enough. No transfers, no connection to other peers. Right or wrong?

so unless you modify the routing table configurations you will not be using the VPN interface for the torrent traffic.
I'd like to know more about this. Are there any tutorias for a Linux noob like me? :)
Post Reply