You are here: Home » Anonymity » TorIptables2

TorIptables2

TorIptables2 Description

Tor Iptables script is an anonymizer that sets up iptables and tor to route all services and traffic including DNS through the Tor network.

TorIptables2 routes all traffic on a standalone machine through Tor. Once this is set up, every network application will make its TCP connections through Tor; no application will be able to reveal your IP address by connecting directly.

Homepage: https://github.com/ruped24/toriptables2

Author: Rupert Edwards

License: GPLv2

TorIptables2 Help

usage:

 toriptables2.py [-h] [-l] [-f]

optional arguments:

  -h, --help   show this help message and exit
  -l, --load   This option will load tor iptables rules
  -f, --flush  This option flushes the iptables rules to default

TorIptables2 Usage Example

If the Tor service is not running, start it:

sudo systemctl start tor

To redirect all TCP traffic over the Tor network, run:

sudo toriptables2.py -l

To verify your IP, run it at the command prompt:

curl suip.biz/ip/

Or open the page in a web browser: suip.biz

For direct Internet connections (without using the Tor network) run:

sudo toriptables2.py -f

How to install TorIptables2

Installation on Kali Linux

To run the program you need installed and running Tor:

sudo apt-get install tor
sudo systemctl start tor

If you want, you can add the Tor service to startup:

sudo systemctl enable tor

Next:

git clone https://github.com/ruped24/toriptables2
cd toriptables2/
sudo mv toriptables2.py /usr/local/bin/
cd
toriptables2.py -h

Installation on BlackArch

To run the program you need installed and running Tor:

sudo pacman -S tor
sudo systemctl start tor

If you want, you can add the Tor service to startup:

sudo systemctl enable tor

Next:

git clone https://github.com/ruped24/toriptables2
cd toriptables2/
sed -i 's/debian-tor/tor/' toriptables2.py
sudo mv toriptables2.py /usr/local/bin/
cd
sudo python2 toriptables2.py -h

To run it:

sudo python2 toriptables2.py -l

TorIptables2 Screenshots

TorIptables2 Tutorials

Related tools