Jan 27

How to install and configure rTorrent, Squid3, Privoxy, Tor – Linux – Debian – Ubuntu.

How to install and configure rTorrent, Squid3, Privoxy, Tor – Linux – Debian – Ubuntu.

 

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.

rtorrent-squid3-tor-privoxy

 

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 +:

http://terminal28.com/how-to-install-and-configure-rutorrent-rtorrent-libtorrent-xmlrpc-screen-ubuntu/

2. Install and configure Squid3 server proxy.

http://terminal28.com/how-to-install-and-configure-squid-proxy-server-clamav-squidclamav-c-icap-server-debian-linux/

 

3. Install and configure Privoxy proxy server , Tor and configure Squid3 proxy server.


http://terminal28.com/anonymity-online-how-to-install-and-configure-squid3-tor-privoxy-debian-ubuntu-linux/

 

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
...

 


Leave a Reply

Your email address will not be published.