kalitorify is a shell script for Kali Linux which use iptables settings for transparent proxy through Tor, the program also allows you to perform various checks like checking the external ip, or if Tor has been configured correctly.
What is Transparent Proxy?
Also known as an intercepting proxy, inline proxy, or forced proxy, a transparent proxy intercepts normal communication at the network layer without requiring any special client configuration. Clients need not be aware of the existence of the proxy. A transparent proxy is normally located between the client and the Internet, with the proxy performing some of the functions of a gateway or router.
Strictly speaking, with kalitorify you can redirect all traffic of your Kali Linux operating system through Tor.
In the Tor project wiki you find an explanation of what is the "transparent proxy through tor" and related settings.
Recommendations
kalitorify is produced independently from the Tor anonimity software and carries no guarantee from the Tor Project about quality, suitability or anything else, please read these documents to know how to use the Tor network safely:
Tor General FAQ
Whonix Do Not recommendations
Install
Install dependencies:
sudo apt update && sudo apt full-upgrade -y
sudo apt install tor -y
Install kalitorify and reboot:
git clone https://github.com/brainfucksec/kalitorify
cd kalitorify/
sudo make install
sudo reboot
Usage
kalitorify [option]
Options
-t, --tor
start transparent proxy through tor
-c, --clearnetreset iptables and return to clearnet navigation
-s, --statuscheck status of program and services
-i, --ipinfoshow public IP
-r, --restartrestart tor service and change IP