Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

How do I get rtorrent to use a socks5 proxy? I've tried to get socks5 to work with rtorrent, but it doesn't seem to have any impact.

Setup the socks5 proxy on port 9800:

ssh -ND 9800 user@otherhost

in .rtorrent.rc

http_proxy=127.0.0.7:9800
proxy_address=127.0.0.7:9800

It cannot download any data from tracker.

Tracker: [Server returned nothing (no headers, no data)]

And my ip does not appear to use the IP from "otherhost" when I check with http://www.checkmytorrentip.com/

I also tried using tsocks rtorrent

server = 127.0.0.1
eserver_type = 5
server_port = 9800

This shows my IP as coming from 'otherhost', but after a few seconds rtorrent freezes up.

I am using rTorrent 0.9.2/0.13.2

share|improve this question

1 Answer 1

According to this ticket (and that one),you need to decide what to proxy: connections to the tracker or all connections (including the ones to peers):

  1. Proxying tracker connections can be done using the patch mentioned here or using something like Polipo, mentioned here
  2. Proxying everything can be done, as you already tried, using socksifiers like tsocks, but I suppose there's no chance of having incoming connections this way and your BT experience will thus be unsatisfying.

To proxy everything but still have incoming connections, I suspect you'd have to use something VPN-ish.

share|improve this answer
    
So I could setup a vpn from one host to another? Using tsocks frooze rtorrent, and I'm not sure why incoming connections wouldn't work, can you explain? –  chovy Nov 30 '12 at 17:53

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.