Proxy/VPN torrent

Posted On // Leave a Comment

I would like to run my torrent client behind a proxy / VPN set up on another server of mine.

I'm using Deluge on Debian as torrent client and I've already tried to use the SOCKS proxy by SSHing to the other server but it partially works:



  • With Deluge 1.3.3 / python-libtorrent 0.15.10 / Debian Wheezy: UDP doesn't work at all, so if torrent trackers are only UDP it will never start.

  • With Deluge 1.3.6 / python-libtorrent 0.16.17 / Debian Sid: UDP works and if I check the announced IP with http://ipleak.net I see the proxy IP. However the IPv6 address is the real one and once the torrent is started the normal IPv4 is used to send data between peers.


Since torrent clients and proxies doesn't seems to go well together I would like to use a VPN but it should be applied only on the torrent client and not to all the server traffic.

I've read that it's possible with iptables to forward all traffic of a specific user to OpenVPN but I have no idea how to do it.

The other solution could be to run them in a OpenVZ container where the VPN get applied globally, but I'm not sure how should the NAT on the host configured as the traffic should go trough the VPN.


http://ift.tt/1dvHQ0Z

0 comments:

Post a Comment