Installing TOR Onion Router On Ubuntu 8.0.4 (Hardy Heron)

an·o·nym·i·ty

TOR - The Onion Router noun, plural -cies.

1. The state or quality of being anonymous.

 

The Onion Router Project is a great tool to help people keep their online activites anonymous. In this article i am going to give the reader a quick run down on getting this great piece of software installed on a Ubuntu 8.04 (Hardy Heron) system.

First open a shell on the machine and issue the command:

sudo pico /etc/apt/sources.list

To edit your apt sources list, add the lines below to the bottom of this file and then save.

deb http://mirror.noreply.org/pub/tor hardy main
deb-src http://mirror.noreply.org/pub/tor hardy main

Import the gpg key for the new package repository, with the following commands:

sudo gpg –keyserver subkeys.pgp.net –recv 94C09C7F
sudo gpg –fingerprint 94C09C7F

gpg –export 94C09C7F | sudo apt-key add –

Now the key is imported time to update your packages and install Tor and Privoxy.

sudo apt-get update
sudo apt-get install tor privoxy

Tor should run okay straight out of the box but privoxy will require some changes for our needs.

sudo pico /etc/privoxy/config

Add the line below to the very top of the file:

forward-socks4a / 127.0.0.1:9050 .

To the very top of the file taking special care to keep the fullstop at the end of the line its not a typo. By default privoxy will log all requests that pass through it for better privacy  out line 457 of the file (logfile logfile) by placing a hash (#) character at the very start of the line to comment out the setting. Now save the changes and restart privoxy with:

sudo /etc/init.d/privoxy restart

Okay know the services are good to go you need to configure something to use them with so open Firefox and install the Tor button plugin then restart the browser.

After you need to configure TOR button to use the TOR service as your web proxy. Click tools –> add-ons and click the ‘preferences’ button.

Make all lines have localhost and port 8118 set except for the entry labelled “Socks Proxy” this should read localhost and port 9050, see image below.

Tor Button Firefox Addon Preferences

 

After setting tor button up deactivate the plugin then reactive (or just restart your browser) and you should be good to go, head over to http://whatismyip.com/ first when the tor button is deactivated, and then with it activated the site should now display a completely different IP address.

 

Leave a Reply

Your email address will not be published. Required fields are marked *