Howto: TOR + Privoxy + Fedora = Secret Happiness [updated]

Posted on 18/01/2009 by Dr. W

7


If you go to the TOR project website you will find that they only have RPMs for Fedora Core 7. So you are stuck with hoping that these RPMs will work or that you might have to compile from source.
I don’t mind compiling software from source, but sometimes when it comes to security software I prefer using an RPM.

If you are running the latest version of Fedora you just have to install TOR and Privoxy from the repository; and this is how I did it.

1. Start the Terminal and login as root:

$ su -

2. Install TOR and Privoxy using YUM:

# yum -y install tor privoxy

3. Configure Privoxy.
Open the Privoxy config file:

# gedit /etc/privoxy/config

Delete all the text in the config file and Copy/paste the following sample config from the TOR wiki in the config file:

# Tor listens as a SOCKS4a proxy here:
forward-socks4a / 127.0.0.1:9050 .
confdir /etc/privoxy
logdir /var/log/privoxy
# actionsfile standard  # Internal purpose, recommended
actionsfile default.action   # Main actions file
actionsfile user.action      # User customizations
filterfile default.filter

# Don't log interesting things, only startup messages, warnings and errors
logfile logfile
#jarfile jarfile
#debug   0    # show each GET/POST/CONNECT request
debug   4096 # Startup banner and warnings
debug   8192 # Errors - *we highly recommended enabling this*

user-manual /usr/share/doc/privoxy/user-manual
listen-address  127.0.0.1:8118
toggle  1
enable-remote-toggle 0
enable-edit-actions 0
enable-remote-http-toggle 0
buffer-limit 4096

Save and close the config file.

4. Start TOR and Privoxy by starting the Services application (System -> Administration -> Services).
Find TOR and Privoxy in the list; Enable and Start them both.

5. Install Torbutton for Firefox.

6. Click on the Torbutton and check that TOR is working.

Now you should have TOR running with Privoxy on your computer. If you want to highten your security even more with TOR, go the TOR project web site.

Note: This instruction works with Fedora 10, 11 and 12.