Tor (The Onion Router) is a free implementation of a routing system called onion routing, this one allows users to communicate anonymously online. Originating in the U.S. Naval Research Laboratory until November 2005, sponsored by the Electronic Frontier Foundation (EFF). Tor was developed by Roger Dingledine and Nick Mathewson with other developers

Tor provides anonymous communication channel and its design to resist attacks of traffic analysis. Using Tor is possible realize a connection to a computer without this or any other possibility of knowing the source IP number of the connection.

Tor is usually combine with Privoxy to access web pages in an anonymously and safely way. Privoxy is an HTTP proxy design to protect the privacy in the internet browsing. Tor’s interface is a proxy SOCK S(usually on 9050 port).This manual will provide you two ways for integrated to SQUID,the first one is the basic, the second one is when the squid is the son of another proxy.

For both options we will install the packages for Tor, Privoxy and Squid.I realize an installation on Ubuntu 9.10 Karmic Koala and in the repositories of this release we cannot found Tor, for that reason I added the repositories of the official server of Tor, I ‘m not going to explain the installation with the sources, because I don’t wanna extend the manual, if you are interested on this way you can see in the documentation of the official site.

Added on the Sources.list

$sudo nano /etc/apt/sources.list

This line:

deb http://deb.torproject.org/torproject.org lucid main

Add the repository keys

$ gpg --keyserver keys.gnupg.net --recv 886DDD89
$ gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | sudo apt-key add -
$ sudo apt-get update

Update the packages list:

$sudo aptitude update

Install next packages

$sudo aptitude install tor privoxy squid

After complete these steps, go to 1rst alternative:

Alternative #1 (Basic)

Configure privoxy configuration file adding the line I put down:

$sudo nano /etc/privoxy/config

Don’t forget the final dot(is important)

Read more