TorghostNG : Make All Your Internet Traffic Anonymized With Tor Network

TorghostNG will make all your internet traffic anonymized with Tor network. Rewritten from TorGhost with Python 3.

Rewritten from TorGhost with Python 3. TorghostNG was tested on:

  • Kali Linux
  • Manjaro

What’s New?

Before You Use?

  • For the goodness of Tor network, BitTorrent traffic will be blocked by iptables. Although you can bypass it with some tweaks with your torrent client ?. It’s difficult to completely block all torrent traffic.
  • For security reason, TorghostNG is gonna disable IPv6 to prevent IPv6 leaks (it happened to me lmao).


TorghostNG currently supports:

  • GNU/Linux distros that based on Arch Linux
  • GNU/Linux distros that based on Debian/Ubuntu
  • GNU/Linux distros that based on Fedora, CentOS, RHEL, openSUSE
  • Solus OS
  • Void Linux
  • Anh the elder guy: Slackware
  • (Too much package managers for one day :v)

To install TorghostNG, open your Terminal and enter these commands

git clone
cd TorghostNG
sudo python3
sudo torghostng

But with Slackware, you use sudo python3 to run TorghostNG :v


-h, –help Show this help message and exit
-s, –start Start connecting to Tor
-x, –stop Stop connecting to Tor
-r, –renew Renew the current Tor circuit
-id COUNTRY ID Connect to Tor exit node of a specific country. Go to to search country ID
-mac INTERFACE Randomly change MAC address. Use ‘ifconfig’ to show interface devices
-c, –checkip Check your current IPv4 address
–dns Use this to fix DNS when website address can’t be resolved
-l, –language Change the display language. English is the default
–list Show the available languages list
-u, –update Check for update
–nodelay Disable delay time

You can combine multiple choices at the same time, such as:

  • torghostng -s -m INTERFACE: Changing MAC address before connecting
  • torghostng -c -m INTERFACE: Checking IP address and changing MAC address
  • torghostng -s -x: Connecting to Tor anh then stop :v

How To Update?

Open Terminal and type torghostng -u with sudo to update TorghostNG, but it will download new TorghostNG to /root, because you’re running it as root. If you don’t like that, you can type git pull -f and sudo python3

Also Read – Intercept : Policy As Code Static Analysis Auditing


  • Changing MAC address: torghostng -m INTERFACE
  • Checking IP address: torghostng -c
  • Disconnecting from Tor: torghostng -x
  • Connecting to Tor exitnode in a specific country: torghostng -id COUNTRY ID
  • Uninstalling TorghostNG: python3

Credit: @SecureGF