Tor and Privoxy in Ubuntu

Tor is a free implementation of anonymity network which protects your privacy over the internet. Tor enable this by providing virtual tunnels to internet application through SOCKS interface. This post will show you how to setup and use Tor to browse the web anonymously.

First of all you need to install tor and privoxy package

apt-get install tor
apt-get install privoxy

Then you need to edit privoxy config file for some quick setup,

sudo vi /etc/privoxy/config

Uncomment “logfile logfile” line by adding a hash symbol at the start of the line.
Add this line at the end of the file

forward-socks4a/localhost:9050

Save the file and restart privoxy service.

sudo /etc/init.d/privoxy restart

You should be able to connect through Tor by using an application which supports SOCK 4a/SOCK 5 interface with port 9050.
In the Firefox Preferences choose Network and Settings. Set the proxy to manual and enter localhost in the SOCKS space and port 9050.Test it out.

Leave a Reply

  • (will not be published)

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>