Step 1 :
sudo nano /etc/apt/sources.listAppend the following line to the file :
deb http://deb.torproject.org/torproject.org lucid mainSave and exit. Then add the key :
gpg --keyserver keys.gnupg.net --recv 886DDD89
gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | sudo apt-key add -Install tor.
sudo apt-get install torStep 2 :
Install Privoxy.
sudo apt-get install privoxyEdit the configure file of privoxy.
sudo nano /etc/privoxy/configAppend the following line.
forward-socks4a / localhost:9050 .Step 2a (Optional) :
If you are behind firewall or NAT as well as router, you should append the following line at the configure file.
forward 192.168.*.*/ .Step 3 :
Made sure Tor is working.
sudo /etc/init.d/privoxy start
sudo /etc/init.d/tor startnetstat -a | grep 9050If the output is similar to the following line, your Tor is working.
tcp 0 0 localhost:9050 *:* LISTENStep 4 :
Get "
TorButton" addon for Firefox. Then enable/disable it by Ctrl+2.Step 5 :
You can confirm the Tor is working on the remote side by visiting the following site.
check.torproject.org
Step 6 (Optional) :
If the System start/stop links do not exist, please issue the following commands :
sudo update-rc.d privoxy defaults
sudo update-rc.d tor defaultsReference
Tor Project
TorButton
WiKi of Tor
That's all! See you.
