how do I use rtorrent with a socks5 proxy?

17,590

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:
17,590

Related videos on Youtube

chovy
Author by

chovy

Javascript Hacker who loves node + svelte.

Updated on September 18, 2022

Comments

  • chovy
    chovy over 1 year

    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