NAVIGATION
Home
Gallery
Java
Linux
Web
Scripts And Utilities
Mobile And Sms
Misc
Contact
pixelWIKI
Nabaz Tag




<<

Tor Configuration

My Tor Configuration:


Install Tor and Privoxy on server

Configure Privoxy to use Tor - see www.torproject.org/docs/tor-doc-unix.html.en

forward-socks4a / 127.0.0.1:9050 .


Configure Squid to use Tor

cache_peer localhost parent 8118 7 no-query default
# bypass tor for google because it thinks I'm in Germany!
acl no_tor url_regex .google.co
# force the use of privoxy/tor:
always_direct allow no_tor
never_direct allow all
# frig the hostname that squid sends
visible_hostname localhost


point browsers to squid
point pidgin to <server>:9050,socks 4 (direct to tor)
point thunderbird to squid (for http) and <server>:9050 for socks (4)

check tor is working - go to torcheck.xenobite.eu/

edit /etc/profile adding:

HTTP_PROXY=<server_ip>:3128
http_proxy=$HTTP_PROXY
export HTTP_PROXY http_proxy


build connect.c for SSH
edit /etc/ssh/ssh_config adding:

Host 10.*
ProxyCommand none
Host *
ProxyCommand /usr/local/bin/connect -4 -S <server_ip>:9050 %h %p