Make sure tor and privoxy are installed.
apt-get install tor privoxy
Step 2 :
nano /etc/privoxy/config
Append the following line to the file.
forward-socks4a / localhost:9050 .
Step 3 :
/etc/init.d/privoxy start
/etc/init.d/tor start
Step 4 :
Install tor button on firefox
https://addons.mozilla.org/zh-TW/firefox/addon/torbutton/
Go to Tor Button perference and set as the following.
Select "
Use custom proxy settings
"HTTP Proxy : 127.0.0.1 Port : 8118
SSL Proxy : 127.0.0.1 Port : 8118
SOCKS host : 127.0.0.1 Port : 9050
Step 5 :
Click on the "
Tor enable
" at the right bottom of the Firefox to enable the Tor Button.Hints : You should repeat the Step 3 and Step 5 when you are using Tor to surf the internet next time.
That's all! See you.