Page 1 of 1

Question regarding routing of traffic through VPN

Posted: Fri Oct 23, 2015 8:25 pm
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

Re: Question regarding routing of traffic through VPN

Posted: Sat Oct 24, 2015 1:56 pm
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"?

Re: Question regarding routing of traffic through VPN

Posted: Sat Oct 24, 2015 4:15 pm
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.

Re: Question regarding routing of traffic through VPN

Posted: Sat Oct 24, 2015 5:21 pm
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.

Re: Question regarding routing of traffic through VPcome to

Posted: Sat Oct 24, 2015 10:55 pm
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? :)