February 2018
Intermediate to advanced
426 pages
11h 3m
English
To use Tor, we first need to install it, which can be done using the following command:
root@kali:~# apt install tor
Next, you need to edit Tor's configuration file located at /etc/tor/torrc using your favorite editor. Uncomment and edit the following lines:
HiddenServiceDir /var/lib/tor/hidden_service/HiddenServicePort 80 10.17.0.5:9999
Note that I have changed the HiddenServicePort IP address from 127.0.0.1 to my private IP address 10.17.0.5 and the local port 80 to 9999.
Now that we have Tor configured, we need to start it:
root@kali:~# systemctl start tor
To verify that Tor is up-and-running, you can use the systemctl status command followed by the service to query, in this case, tor:
root@kali:~# systemctl status tor● tor.service ...
Read now
Unlock full access