Anonymity

From YobiWiki
Jump to navigation Jump to search

Installing Tor & Privoxy under Debian

Links

Installation

# apt-get install tor privoxy

Edit /etc/privoxy/config and uncomment the following line:

 forward-socks4a   /               127.0.0.1:9050 .

Then restart the service

# /etc/init.d/privoxy restart

Usage

HTTP proxy through privoxy & tor

http 127.0.0.1 port 8118

E.g. for wget:

$ export http_proxy=http://127.0.0.1:8118/

SOCKS 5 proxy through tor

socks5 127.0.0.1 port 9050

Or for applications without proxy configuration available, check torify which uses LD_PRELOAD, e.g.

$ torify irssi

DNS resolution through tor

$ tor-resolve -x 85.17.183.154
www.yobi.be
$ tor-resolve wiki.yobi.be
85.17.183.154

Advanced usages