HowTo surf anonymously with TOR:
Tor, The Onion Router, is a network that helps to defend network surveillance. It hides the IP to avoid traffic analysis.
Further information:
https://www.torproject.org
http://en.wikipedia.org/wiki/Tor_%28...ity_network%29
!!Only use with activated swap!!
installing packets:
Code:
ipkg install tor
ipkg install polipo
ipkg install nano
ipkg install wget-ssl
To install wget-ssl, you might have to
generate / configure config-files:
tor config:
Code:
cp /opt/etc/tor/torrc.sample /opt/etc/tor/torrc
nano /opt/etc/tor/torrc
Code:
## The directory for keeping all the keys/etc. By default, we store
## things in $HOME/.tor on Unix, and in Application Data\tor on Windows.
#DataDirectory @LOCALSTATEDIR@/lib/tor
has to be:
Code:
## The directory for keeping all the keys/etc. By default, we store
## things in $HOME/.tor on Unix, and in Application Data\tor on Windows.
DataDirectory /opt/var/lib/tor
Unfortunately, I havent found a way to reduce ram usage of tor, yet.
polipo config:
Code:
mkdir /opt/etc/polipo
cd /opt/etc/polipo/
wget https://svn.torproject.org/svn/torbrowser/trunk/build-scripts/config/polipo.conf --no-check-certificate
nano polipo.conf
Admin edit: svn repository has been moved to git
new link for config: https://gitweb.torproject.org/torbro...ig/polipo.conf
Following changes in polipo.conf:
(Full polipo.conf is attached)
Code:
### Basic configuration
### *******************
proxyAddress = "0.0.0.0"
# proxyAddress = "127.0.0.1"
allowedClients = 127.0.0.1, 192.168.1.61
### Memory
### ******
# Uncomment this if you want Polipo to use a ridiculously small amount
# of memory (a hundred C-64 worth or so):
#chunkHighMark = 819200 # 800kB Ram Usage in Bytes
#objectHighMark = 128
#chunkHighMark = 2097152 # 2M Ram Usage (=Ram x 1024 x 1024)
#objectHighMark = 768
chunkHighMark = 4194304 # 4M Ram Usage
objectHighMark = 1536
# Uncomment this if you've got plenty of memory:
# chunkHighMark = 50331648 # 48M Ram
# objectHighMark = 16384
#chunkHighMark = 67108864
### On-disk data
### ************
# diskCacheRoot = ""
allowedClients has to be 127.0.0.1 and all clients, who should be able to surf anonymously.
With 4 MB of Ram, polipo is much less CPU intensive than with only 800 kB.
Start tor and polipo:
Code:
tor & polipo -c /opt/etc/polipo/polipo.conf &
change the proxy settings of a browser on a connected PC to:
IPOFTHEROUTER:8118
and surfing is more anonym.
If you use the Firefox-Profile of JAP:
http://anonymous-proxy-servers.net/en/jondofox/download
you surf really anonym.
To help others to surf anonym, you can configure Tor as a Relay:
That for, you have to open a port in your firewall:
Code:
iptables -A INPUT -p tcp --dport 9001 -j ACCEPT
And activate the relay with the following changes in torrc:
Code:
ORPort 9001
RelayBandwidthRate 20 KBytes
RelayBandwidthBurst 30 KBytes
Cheers!
Copter