Tor will act as a Gateway

No replies
Joined: 2016/11/19

Hello, this alexandra.

In this post, I want to share how to make Tor acts as a Gateway, which we can call Whonix-Gateway and how to run Kali Linux through it. (I want to be clear that you can run whatever OS as a Workstation).
Kali-Workstation will be completed isolated network. Only connections through Tor will be possible.

Before we start, take a look at:

#Step one

Download VirtualBox and install it.
Learn about it here:

#Step two

Download Whonix-Gateway.
Import it into VirtualBox.
(Start Virtualbox, click on File then choose import Appliance.

#Step three

Download the Worksttation that you want.
Learn how to install it into VirtualBox.
Read about internal networking in VirtualBox. (Whonix-Gateway > internal Networking> Workstaion)

#Step four

Start Whonix-Gateway and let it running. You will have to setup it at the first time you boot it up.
(It is pretty easy. Just follow the instructions).

#Step five

Start your Workstation. (Don't turn off Whonix-Gateway)
So, Let's setup it to run trough a Tor Gateway.

* IP Address
* Gateway

#Step six
Setup Networking

In Linux terminal type it
* vi /etc/network/interfaces
It looks like this:

This file describes the network
interfaces available on your system

# and how to to activate them. For more
information, see interfaces (5).

# The loopback network interface

auto lo

iface lo inet loopback

# The primary network interface

allow-hotplug eth0

iface eth0 inet static






# dns-* options are implemented by the
resolvconf package, if installed


(save it)

#Step seven

Type it in terminal

vi /etc/resolv.conf

It looks like this:


(save it)

Do not scorn a weak cub; he may become a brutal tiger. (Mongol Proverb)