Monday 25 May 2009

TOR, privoxy, ubuntu

from http://www.torproject.org/docs/tor-doc-unix.html.en

Add the repo to /etc/apt/sources.list

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

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

Update and install:

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


------------- Old method --------------------------
sudo apt-get install tor
sudo apt-get install privoxy
sudo kile /etc/privoxy/config

Add:
forward-socks4a / 127.0.0.1:9050 .

to the top of the file, including the dot. Update:

logfile logfile -> # logfile logfile

Install torbutton, for firefox:

https://addons.mozilla.org/firefox/2275/

To Torify other applications that support HTTP proxies, just point them at Privoxy (that is, localhost port 8118)


--------------- new method (April 10) --------------

Install polipo (a caching web proxy)

Update its configuration by saving the following link as /etc/polipo/config :

https://svn.torproject.org/svn/torbrowser/trunk/build-scripts/config/polipo.conf

Try setting to root ownership and group, as the other files there are, too.

Restart polipo:

/etc/init.d/polipo restart

(Actually, that didn't work. A reset was required. Perhaps that should have been with sudo)
Install the tor button addin for firefox.

No comments:

Post a Comment