Anonymous Browsing With TOR
By combining TOR with Firefox, you can surf the web completely anonymously with just the click of a button. This how-to will show you how to install TOR and its Firefox add-on in just a matter of minutes.
Applicable to Fedora Versions
- Fedora Core 7+ (Could work for previous versions, but this is all I've tested it on).
- Firefox 0.9 or greater
- No ill-intents. TOR offers true anonymity and can therefore be used for evil. Please use it as the creators intended it to be used: to protect your right to privacy.
Doing the Work
In order to browse anonymously, TOR and Privoxy must first be installed, and then the Firefox add-on.
- Download the TOR rpm from the EFF. This How-To uses version 0.2.0.9. Get it here.
- Install TOR with rpm:
- Download Privoxy from their site. This How-To uses version 3.0.6. Get it here.
- Install Privoxy with rpm:
- Open the Privoxy config file for editing from /etc/privoxy.
- Comment out lines containing 'logfile logfile', 'jarfile jarfile', 'enable-remote-toggle', 'enable-remote-http-toggle', and 'enable-edit-actions' by prefixing their lines with a '#' character.
- Add the following line to the config file:
forward-socks4a / 127.0.0.1:9050 .
- Save and close the file.
- Restart the Privoxy and TOR services.
- Download and install the Firefox TorButton from Mozilla by clicking here.
- Restart Firefox when prompted.
su -c 'rpm -ivh tor-0.2.0.9.alpha-tor.0.fc7.i386.rpm'
su -c 'rpm -ivh privoxy-3.0.6-0.fc6.i386.rpm'
su -c 'gedit /etc/privoxy/config'
su -c 'service privoxy restart'
su -c 'service tor restart'
How to test
- You'll notice that there is now a button in the bottom right corner of your Firefox browser window that says "Tor Disabled" in red text. Click on it to change the text to a green "Tor enabled"
- Visit http://www.ipaddressreport.com to see your current external IP address. If it doesn't match your normal IP address and physical location, then the installation was a success!
- Surf the web anonymously to your heart's content.
Common problems and fixes
The most common problem comes from Tor not starting up correctly. You will see a glaringly red Privoxy error page. To fix this, click the TorButton so that it states "Tor Disabled". Then, restart Privoxy and Tor as in step #9 above. Now try clicking the TorButton again.
For more information, check out the TOR documentation repository, linked below in the Added Reading section.
We test this stuff on our own machines, really we do. But you may run into problems, if you do, come to #fedora on irc.freenode.net