Saturday, September 5, 2009

Running the Tor on Linux

Running TOR on linux Intruction.

When you want to run TOR on linux. you will need to download
the latest TOR for linux. located in this page. http://www.torproject.org/download-unix.html.en

Select the right packages for youe linux system. form Debian, red hat
, bentoo, bsd and other linux flavors. for ubunto users, it is advise that you
use this link http://www.torproject.org/docs/debian.html.en#ubuntu
for your ubuntu linux.

If you're building from source, first install libevent can be found here
http://www.monkey.org/~provos/libevent/ and make sure you have openssl and zlib (including the -devel packages if applicable).

Then run:
tar xzf tor-0.2.1.19.tar.gz; cd tor-0.2.1.19
./configure && make
Now you can run tor as src/or/tor, or you can run make install (as root if necessary) to install it into /usr/local/, and then you can start it just by running tor.

Tor comes configured as a client by default. It uses a built-in default configuration file, and most people won't need to change any of the settings. Tor is now installed.

After installing you will need to install Privoxy for Web Browsing
Setup your Web Browsing, Install PRIVOXY can be found here http://www.privoxy.org/
Make sure you have selected the recent releases and pick the right package for you.

PRIVOXY is a filtering web proxy that integrates well with TOR

Now once installed. you will need to configure your PRIVOXY to use TOR.

Open Privoxy's "config" file (look in /etc/privoxy/ or /usr/local/etc/) and add the line
forward-socks4a / 127.0.0.1:9050 .
to the top of the config file. Don't forget to add the dot at the end of the line.

On some distributions, localhost is mapped to an IPv6 address, and some programs might not be able to connect to Privoxy. If so, change the line
listen-address localhost:8118
so that it reads
listen-address 127.0.0.1:8118

Privoxy keeps a log file of everything passed through it. In order to stop this you will need to comment out three lines by inserting a # before the line. The three lines are:
logfile logfile
and the line
jarfile jarfile
and (on some systems) the line
debug 1 # show each GET/POST/CONNECT request

Depending on which default config file you have for Privoxy, you may also need to turn off enable-remote-toggle, enable-remote-http-toggle, and enable-edit-actions.

Restart Privoxy for the changes to take effect.

Configure your applications to use Tor

When done installing TOR with Firefox and TORbutton, to be safe always, simply install
the TORbutton plugin for FIREFOX browser can be found here : https://addons.mozilla.org/firefox/2275/

TOR with firefox and torbutton should be use,

To Torify other applications that support HTTP proxies, just point them at Privoxy (that is, localhost port 8118). To use SOCKS directly (for instant messaging, Jabber, IRC, etc), you can point your application directly at Tor (localhost port 9050), but see this FAQ entry
https://wiki.torproject.org/noreply/TheOnionRouter/TorFAQ#SOCKSAndDNS

for why this may be dangerous. For applications that support neither SOCKS nor HTTP, take a look at tsocks here http://tsocks.sourceforge.net/ or socat here https://wiki.torproject.org/noreply/TheOnionRouter/TorifyHOWTO#socat

For information on how to Torify other applications, check out the Torify HOWTO here https://wiki.torproject.org/noreply/TheOnionRouter/TorifyHOWTO


Making sure that it is working.

If tor in firefox is enabled. you will need to open the firefox and browse to see you
IP address. http://www.whatismyip.com

then check your ip address,. now disable TOR in your firefox then check your IP address again.
if the ip address changes. this means TOR is working. now enable TOR back then you can now start surfing anonymously..

If you want to help the TOR community. you may want to be a relay in the network as well.
you can make a relay by following this guide. http://www.torproject.org/docs/tor-doc-relay.html.en

Have Fun. :)

1 comment:

Anonymous said...

Tor is good for facebook on blocked internet access.

tags

Friend Connect