TorTP - Tor Transparent Proxy
Python Shell
Latest commit 4f9a823 Apr 11, 2016 @vinc3nt fixing error message
Signed-off-by: vincent <>


TorTP will change your iptables configuration to force all TCP traffic to pass through Tor (and also UDP DNS request). The network traffic that is not capable of passing through Tor (such as UDP or ICMP) is just dropped.

TorTP use python-stem library for setup Transparen Proxy and DNS server capability on Tor, without override Tor default configuration file.

HowTo install:

Add freepto repository:

$ wget

$ cat deb.gpg | apt-key add -

$ echo "deb berenjena main" > /etc/apt/sources.list.d/freepto.list


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:

$ sudo tortp -h

$ man tortp