Opsec Technical Guides

How to Install Tor With Privoxy – An Easy 5 Minute Guide

How to Install Tor With Privoxy

Cyber attacks hit businesses and individuals everyday.

Some aren’t even aware that they are currently being watched. Ads and hackers are always there to watch your internet movements and everything you do.

Here’s how you can easily set up The Onion Router (Tor) with a web proxy like Privoxy.

With this, you can certainly avoid being watched online.

Installing & Configuring Tor, Privoxy Along with a Free VPN

If you’re currently using Tor alone, it’s time to consider beefing up anonymity.

There are attackers even on the Tor browser and you want to stay highly anonymous to avoid being discovered.

No Tor node (except the exit node) can read your data and this is okay.

But if you use sites like the dark web, you want to hide more than you think you need to.

Therefore, combining Tor with Privoxy and even a free VPN is a way to go.

The basic principle of this tutorial is to avoid using Microsoft, especially to run a secret transaction online.

The NSA has been working with Microsoft since the release of Windows seven.

This is scary because you have no idea the nodes NSA could watch through Microsoft.

Yes, you can cover up some but probably there’s some nodes even you don’t know about. 

I would never try to outsmart the NSA on this one.

Most people concerned about security use operating systems like Linux.

Linux ensures a much more secure environment on your workstation.

I know transitioning from Windows to Linux can be a big decision to make, but there are manual pages to guide you.

Windows become obsolete when you use Linux for a while because the commands come easily.

And you just type man <command> into a terminal to bring up the manual if you forget any.

Else, there is a windows application you can’t do without, after all Linux offers more benefits.

At least encrypt your hard drives and turn off WPS in modems and routers.

It’s a lot tougher for hackers to break a network handshake sequence than it is for a WPS key.

You can use Veracrypt to encrypt hard drives on windows and VLSM on Linux. But before installing Linux, it’s necessary to back up and wipe your disk drive entirely.

This would give you the peace of mind that they are not keeping an eye on you.

It’s funny how an encrypted hard drive can make you feel your data is safe.

Also, write down your password in order not to forget it or lose it.


My preferred version of Linux is the Kali-Linux.

Kali-Linux is Debian-based and I prefer it to Ubuntu. This is simply because we can achieve all we need easily. 

Kali is also a security auditing distribution of Linux. Other versions of Linux that are Ubuntu-based might seem cool but the sudooing can be tiring.

You can install all you need in any version of Linux though, you might need to do more reading anyways.

Kali is much simpler, just follow the steps below and you’re good to go.

Download a Kali*iso compatible with your system (32bit – 64bit, AMD, Intel e.t.c.) from offense security.

Run the installation and it’s recommended you wipe your computer to remove all malware before installing.

Encrypt the hard drive with VLSM. This is an option while installing and remembering your password/key.

Next, you need to install some drivers while using Debian-based versions of Linux, the pros outweigh the cons. 

So use this website as a guide to doing this.

Next, install Viadalia which is the GUI front end to Tor.

Install Tor itself, Privoxy, proxy chains, and open DNS, which prevent people from being able to see the DNS address of the ISP you use.

Use an anonymous email from 12p email or free net when making PGP keys. This ensures that your identity remains a secret. 

Using your normal email address could be a loophole to your security.

It would be too much of a hassle for hackers to follow if you also use a VPN to go through this process.

This is especially true if you access the dark web with your computer.

In the Linux prompt, type in the command, $’sudo -s’ then enter the following commands as root.

How to Install Tor With Privoxy &#8211; An Easy 5 Minute Guide
  1. #apt-get install network-manager-openvpn-gnome
  2. #apt-get install network-manager-pptp
  3. #apt-get install network-manager-pptp-gnome
  4. #apt-get install network-manager-strongswan
  5. #apt-get install network-manager-vpnc
  6. #apt-get install network-manager-vpnc-gnome/etc/init.d/network-manager restart

If you aren’t located in the US, you need to Google your country’s server. This would make your VPN work properly. If you are in the US simply type the following. 

How to Install Tor With Privoxy &#8211; An Easy 5 Minute Guide
  1. Server: us.justfreevpn.com
  2. PPTP Username: justfreevpn
  3. PPTP Password: USA Free VPN Account

Now install Tor and other tools using the following commands: 

How to Install Tor With Privoxy &#8211; An Easy 5 Minute Guide
  1. #apt-get install tor
  2. #apt-get update
  3. #apt-get install privoxy
  4. #apt-get update
  5. #apt-get install vidalia 
  6. #apt-get update

Now you need to edit a configuration file with the following command: 

How to Install Tor With Privoxy &#8211; An Easy 5 Minute Guide
  1. #leafpad /etc/privoxy/config

And go down to line (it was 699 on my config file)

How to Install Tor With Privoxy &#8211; An Easy 5 Minute Guide
  1. 697 # Default Value:
  2. 698 #
  3. 699 #
  4. 700 #

Now, take the # sign out of line 699, when you do this it would go like: 

How to Install Tor With Privoxy &#8211; An Easy 5 Minute Guide
  1. 699: listen-address

At the very bottom of the file, add the following lines:

How to Install Tor With Privoxy &#8211; An Easy 5 Minute Guide
  1. forward-socks4     / .
  2. forwardsocks4a   / .

Note: Put a full stop at the very end of those commands.

Copying and pasting the commands would probably be the best way to do it. If you fail to do that, you might get stuck wondering what you did wrong.

Just type the following: 

How to Install Tor With Privoxy &#8211; An Easy 5 Minute Guide
  1. #leafpad /etc/tor/torrc
  2. #service privoxy stop && service tor stop
  3. #service privoxy start && service tor start-tor

After that, set up your browser to use the proxy.

To do this, you can use the following steps:

  1. Download the add-on FoxyProxyStandart and install it.
  1. Go > File > Tor Wizard, and just choose the options that come.

 I need to hit enter and choose the proxy configuration just created.

  1. Go to Google and search ” am I using Tor” 

Whatismybrowser.com maintains a copy of the Tor exit node IP addresses.

In order to detect if you’re using Tor, they look in that list for the IP address you’re coming from.

Incase you succeed, go through the last step: 

How to Install Tor With Privoxy &#8211; An Easy 5 Minute Guide
  1. #leafpad /etc/tor/torric and put this line

Save it and #leafpad /etc/resolv.conf, delete everything in the file.

(it’s about three to five lines in length), and replace it with “nameserver”, then save it.

Restart the computer to see if both Tor and Privoxy have been installed during other init.d daemons.

You should verify everything by checking your computer IP address on any of these websites:


Ensure that your current IP address and your ISP’s DNS are masked. 

A good configuration looks like this:

How to Install Tor With Privoxy &#8211; An Easy 5 Minute Guide

The Bottom Line

Browsing with both Tor, Privoxy, and a free VPN gives you stronger anonymity on the internet.

If you’re a user of the dark web, having multiple layers of security can give you peace of mind, especially when you know Tor users can also face lethal attacks. 

Leave a Reply

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