Complete Guide to Anonymous Surfing with Tor and Vidalia

Posted by Mani On August - 25 - 2010

Anonymous Surfing becomes necessary whenever you need to hide your identity (ip address) while browsing the internet, as for privacy purpose or, may be you want to surf certain websites through a firewall for blocked websites. Both Windows and Linux users can use Vidalia software program to solve these situations.

Also readInstall Opera Mini on Ubuntu and Access Blocked Websites on PC

The tutorial will guide you through the installation and setting up Tor and Vidalia on your Linux and Windows system for anonymous browsing. Beginning with the Linux installation guide, Windows users move to bottom of the post for installation details.

Install and Setting Up Tor & Vidalia on Linux

Before proceeding further, one thing that you should know is the difference in Tor and Vidalia. Tor is a piece of software that provide you the anonymity while you surf around the web and it is command based. Vidalia a GUI implementation for Tor that makes it easy to use Tor through a GUI.

Installing Tor in Linux

1. Ubuntu users can add the repositories by adding these two lines at the bottom of the file  /etc/apt/sources.list

deb http://deb.torproject.org/torproject.org <DISTRIBUTION> main

Where <DISTRIBUTION> is the first name of your distribution. For example if you’re using Lucid Lynx then add repository:

deb http://deb.torproject.org/torproject.org lucid main

Also, add GPG key by commands

gpg --keyserver keys.gnupg.net --recv 886DDD89
gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | sudo apt-key add -

Tor Installation

apt-get update
apt-get install tor tor-geoipdb

If you use any other Linux distro, you will get details of installation for your Linux candidate here.

2. Now we need to setup web proxy so that it can act as a cache. Polipo is a small caching web proxy. It also does the work of pipelining (reduce the number of TCP/IP packets so that the loading improves). So it is beneficial for Tor’s latencies.

Install Polipo (uninstall Privoxy to avoid as Polipo and Privoxy config files use same port 8118)

sudo apt-get install polipo

Now edit the config file /etc/polipo/config. Delete all its content and replace it with the content of file Polipo.conf. (Extract and Copy the content from config file)

Restart Polipo

/etc/init.d/polipo restart

3. Now configure your browser to use Tor using Proxy Settings at 127.0.0.1 with Port 8118. For Firefox you may install tor button add on for ease.

screenshot torbutton Complete Guide to Anonymous Surfing with Tor and Vidalia

Installing and Using Vidalia in Linux

For installation of Vidalia in Ubuntu, just use command:

sudo apt-get install vidalia

Vidalia1 Complete Guide to Anonymous Surfing with Tor and VidaliaYou may get the error that Tor is not running. It means that tor is already running on the Linux system or you don’t have Authentication password set on Windows System .  To stop  tor running already use command in Ubuntu:

sudo /etc/init.d/tor stop

Now do set the password (give anything of your choice) in Vidalia  Advanced Setting section (Don’t leave it blank and uncheck Randomly Generate option, especially for Windows users). Leave remaining options as they are.

Vidalia settings Complete Guide to Anonymous Surfing with Tor and Vidalia

Now Start Tor By clicking on:

Screenshot 1 Complete Guide to Anonymous Surfing with Tor and Vidalia

On successful connection from tor network you will see a similar options (Connected to the Tor network), as the image below.

Screenshot Complete Guide to Anonymous Surfing with Tor and VidaliaNow all you need to do is to configure your web browser at http proxy of 127.0.0.1 with Port 8118.

Your browser will show different IP address than your original IP address. To switch between fake IP’s just click on Use a New Identity in Vidalia.
Screenshot 2 Complete Guide to Anonymous Surfing with Tor and Vidalia

Installing Tor in Windows

Windows users can download and install everything in form of a bundled package which includes: Tor, Polipo, Tor Button, Vidalia and Firefox browser with required Add-ons). Download the complete package from here

After installing the package, follow the same steps of Using Vidalia from above.

Enjoy the freedom to surf anonymously without limits with Tor and Vidalia!

Suggested reading:
Install Opera Mini on Ubuntu & Access Blocked Websites on PC
Among the well known mobile web browsers, Opera Mini is not limited to mobile phones but, you can have it running on your Desktop as well. This can be easily ...
READ MORE
15+ Amazing Wallpapers For Linux Lovers & Windows Haters! [Wallpaper Pack]
Recently, one of the readers of Linux section mailed us with some high definition Linux wallpapers. These were not only those ordinary wallpapers all of us have, but these also ...
READ MORE
How To Install Eclipse IDE in Ubuntu Linux
Eclipse is one of the most popular software Integrated Development Environment (IDE). Written primarily in Java, it is an open source IDE that can be installed to develop Java, C, C++, ...
READ MORE
YourTube: Watch & Download Youtube Videos on Mobile Phones
Easily find a video you’re looking for by searching for it from your symbian mobile device. You can watch and even download videos right from mobile phone. With YourTube, a ...
READ MORE
Enhance your Music Collection in Ubuntu with Cover Thumbnailer
While randomly surfing for PPA's, I came across this amazing software script Cover Thumbnailer that allows you to have an easy to navigate music collection in Ubuntu Linux. It enhances ...
READ MORE
Download and Save High Quality Facebook Videos
Facebook hosts some of the quality videos available on the internet, uploaded by the users but it doesn't allow users to download or export videos from facebook. The videos once ...
READ MORE
How to Install Lingoes Translator in Ubuntu Using Wine
Lingoes is a robust and efficient text translation tool. It offers an array of features from translation to dictionary look-up. Being a Linux user, many times i need to translate ...
READ MORE
Apple Releases iTunes 10.2.1 with Improved Support for iOS 4.3
Apple has just pushed a quick update to iTunes 10.2 released last week, bringing it to version 10.2.1 for both Windows and Mac OS X. With the release date for ...
READ MORE
Install Opera Mini on Ubuntu & Access Blocked
15+ Amazing Wallpapers For Linux Lovers & Windows
How To Install Eclipse IDE in Ubuntu Linux
YourTube: Watch & Download Youtube Videos on Mobile
Enhance your Music Collection in Ubuntu with Cover
Download and Save High Quality Facebook Videos
How to Install Lingoes Translator in Ubuntu Using
Apple Releases iTunes 10.2.1 with Improved Support for

Article by

Mani is a coder passionate about working in open-source projects. You can follow him on Twitter or Join him on Facebook

Mani has written 30 articles for us at TechTickle.

4 Responses to “Complete Guide to Anonymous Surfing with Tor and Vidalia”

  1. Someone says:

    This guide is great, very concise. Thank you!

  2. NewToUbuntu says:

    Thanks, would work nicely if http://deb.torproject.org/torproject.org wasn’t blocked by my ISP :-(
    Tried 2 other mirrors and Https, no chance. The update runs everything except Tor
    >>Failed to fetch http://tor.mirror.youam.de/torproject.org/dists/maverick/main/binary-i386/Packages.gz 403 Forbidden<<<
    Any suggestions on how to get on Ubuntu/maverick or "secret" mirrors?

  3. Mick says:

    Thanks for the useful instructions.

    “Delete all its content and replace it with the content of file Polipo.conf. (Extract and Copy the content from config file)”

    For those nervous of downloading this config file you can get an ‘official’ version here:
    https://www.torproject.org/docs/tor-doc-unix.html.en#polipo
    or
    https://www.oignon.net/docs/tor-doc-unix.html.en#polipo

Leave a Reply

About Me

Welcome to TechTickle! A blog that features Latest technology news, Linux tutorials, Updates related to Social Media, Website & Software reviews and Open Source. We are a group of ordinary individuals, with an extra ordinary quality of sharing our passion and, reaching out to the people in nook and corner. Read more About TechTickle!

Twitter

    Subscribe to E-mail Updates: