How to install Tor on Kali Linux
Start commands from console:
apt-get install tor tor-geoipdb privoxy
This will install 2 separate packages ‘Tor’ and ‘Privoxy’.
Tor will host a proxy server on your machine on port 9050 of type ‘Socks5’
Privoxy will host a proxy service on your machine on port 8118 of type ‘HTTP’
Also install the GUI for tor called ‘vidalia’
apt-get install vidalia polipo
Now edit the privoxy configuration file:
nano /etc/privoxy/config
Add this line at the bottom of this file:
#forward-socks4a / localhost:9050 .
forward-socks5 / localhost:9050 .
Save and close the file. This will tell privoxy to forward Socks traffic to the Service running on port 9050 on your localhost (this service is Tor)
Time to fire up Tor and privoxy services:
/etc/init.d/tor start
/etc/init.d/privoxy start
Now goto Application -> Internet -> Vidalia
Check that it says ‘connected to tor network’.
Now goto your browser and set the proxy to:
Proxy IP – ‘127.0.0.1’
Proxy port – 9050
Type – Socks5
TIP!: In FireFox or Iceweasel Browser, you can use ‘AutoProxy’ Add-on, to set this up.
[:en]
Start commands from console:
apt-get install tor tor-geoipdb privoxy
This will install 2 separate packages ‘Tor’ and ‘Privoxy’.
Tor will host a proxy server on your machine on port 9050 of type ‘Socks5’
Privoxy will host a proxy service on your machine on port 8118 of type ‘HTTP’
Also install the GUI for tor called ‘vidalia’
apt-get install vidalia polipo
Now edit the privoxy configuration file:
nano /etc/privoxy/config
Add this line at the bottom of this file:
#forward-socks4a / localhost:9050 .
forward-socks5 / localhost:9050 .
Save and close the file. This will tell privoxy to forward Socks traffic to the Service running on port 9050 on your localhost (this service is Tor)
Time to fire up Tor and privoxy services:
/etc/init.d/tor start
/etc/init.d/privoxy start
Now goto Application -> Internet -> Vidalia
Check that it says ‘connected to tor network’.
Now goto your browser and set the proxy to:
Proxy IP – ‘127.0.0.1’
Proxy port – 9050
Type – Socks5
TIP!: In FireFox or Iceweasel Browser, you can use ‘AutoProxy’ Add-on, to set this up.