Skip to content

TorTP - Tor Transparent Proxy

Notifications You must be signed in to change notification settings

vvicaretti/stem-tortp

Repository files navigation

TorTP

TorTP changes the local iptables configuration in order to force all TCP traffic through Tor (and also UDP DNS requests). Other network traffic which is not capable of passing through Tor (such as UDP or ICMP) it is just dropped.

TorTP is based on stem, a python library which makes easier to enable embedded Transparen Proxy and DNS server capabilities in Tor.

HowTo install:

Add freepto repository:

$ wget http://deb.freepto.mx/deb.gpg

$ cat deb.gpg | apt-key add -

$ echo "deb http://deb.freepto.mx/freeptorepo berenjena main" > /etc/apt/sources.list.d/freepto.list

Install:

sudo apt-get install tortp python-tortp

Enable Tor Control Port:

sed -i 's/#ControlPort 9051/ControlPort 9051/' /etc/tor/torrc

Install GUI (optional):

apt-get install tortp-gtk

HowTo use TorTP:

cli

$ sudo tortp -h

$ man tortp

gui

gui_tortp