How to install and configure rTorrent, Squid3, Privoxy, Tor – Linux – Debian – Ubuntu.
Important!
Tested:
- Debian 6.0.x.
- Debian 7.x.x.
- Squid (3.1.6) bez obsługi SSL
- Privoxy (3.0.16)
- Tor (0.2.2.39)
- Rtorrent (0.8.9)
- Libtorrent (12.9)
- libxmlrpc (svn)
Screenplay:
The rTorrent is connected to Squid3 server.
Squid3 server is connected to 8 Privoxy server instances.
Each instances is Privoxy server is connected to 1 of 8 instances of Tor.
Tor is connected to the internet.
1. Install rTorrent with SCGI and RuTorrent WebUI.
Rtorrent, RuTorrent for Debian 7 Wheezy +:
http://terminal28.com/how-to-install-and-configure-rutorrent-rtorrent-libtorrent-xmlrpc-screen-debian-7-wheezy/
Rtorrent, RuTorrent for Ubuntu 14.X +:
2. Install and configure Squid3 server proxy.
3. Install and configure Privoxy proxy server , Tor and configure Squid3 proxy server.
4. Edit rTorrent’s configfile .rtorrent.rc.
Stop rTorrent.
sudo /etc/init.d/rtorrent stop
Edit configfile and add records #1 or #2:
sudo nano /opt/rtorrent/.rtorrent.rc
#1 PROXY CONFIGURATION - SQUID => PRIVOXY => TOR => INTERNET http_proxy = 127.0.0.1:3128 proxy_address = 127.0.0.1:3128 # OR #2 PROXY CONFIGURATION - PRIVOXY => TOR => INTERNET http_proxy = 127.0.0.1:8118 proxy_address = 127.0.0.1:8118
Change permissions and start Torrent.
sudo chown rtorrent:rtorrent -R /opt/rtorrent/
sudo /etc/init.d/rtorrent start
4. Checking Listening Ports e.g:
sudo netstat -tap | grep rtorrent
... tcp 0 0 host:35880 host:3128 ESTABLISHED 12843/rtorrent tcp 0 0 host:59737 host:3128 ESTABLISHED 12843/rtorrent tcp 0 0 host:36829 host:3128 ESTABLISHED 12843/rtorrent tcp 0 0 host:36844 host:3128 ESTABLISHED 12843/rtorrent ...
Notice
This configuration may not working properly, because rTorrent has a lots of bugs.
Notice
Support my work by donation. Thank You.