Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save sirwanveisi/e19b43d2a4ce79bf88b506dbf1776256 to your computer and use it in GitHub Desktop.

Select an option

Save sirwanveisi/e19b43d2a4ce79bf88b506dbf1776256 to your computer and use it in GitHub Desktop.
Skip all network traffic on Linux through TOR Privoxy
Installation:
apt-get install tor privoxy
Edit configuration:
/etc/privoxy/config
Add:
forward-socks5 / localhost:9050 .
forward-socks4 / localhost:9050 .
forward-socks4a / localhost:9050 .
Starting services:
service tor start
service privoxy start
Configuring proxy services:
HTTP proxy: localhost:8118
SSL proxy: localhost:8118
SOCKS host: localhost:9050
IP Check:
curl ident.me
or
www.infosniper.net
https://torcheck.xenobite.eu/
Don't forget to check for leaks via DNS
https://dnsleak.io/
https://dnsleaktest.com/
Add the service Tor and Privoxy at startup
update-rc.d -f tor remove && update-rc.d -f tor defaults && update-rc.d -f privoxy remove && update-rc.d -f privoxy defaults && update-rc.d -f privoxy enable
Removing from startup:
update-rc.d -f tor remove && update-rc.d -f privoxy remove
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment