Total Pageviews

Sunday, 5 April 2020

Linux桌面系统上的基于Tor 的透明Proxy程序:stem-tortp

透明Proxy就是全局Proxy。
Tor Transparent Proxy。


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:
$ 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