Torward is an improved version based on the torghost-gn and darktor scripts, designed to enhance anonymity on the Internet. The tool prevents data leaks and forces all traffic from our computer to be routed exclusively through the Tor network, providing a high level of privacy in our connections.
git clone https://github.com/chundefined/Torward.git cd Torward chmod +x install.sh ./install.shThis version includes several key security improvements to protect your identity and ensure better network configuration:
-
IPv6 Leak Prevention IPv6 is now disabled to prevent any potential IP leaks. All traffic is forced through the Tor network by modifying system IPv6 settings in
network_config.py. -
Enhanced iptables Rules Strict iptables rules are implemented to ensure only Tor traffic is allowed. Non-Tor traffic is blocked, DNS queries are routed through Tor, and only essential connections to Tor ports are permitted. Additionally, IPv6 traffic is blocked to prevent leaks.
-
Tor Configuration Adjustments The
torwardfile has been updated to enforce that all traffic, including DNS queries, is routed through Tor, improving anonymity.
- Get the IP from the last Tor exit node: Currently, the script does not display the IP of the last Tor exit node in the console. This can be achieved by using Tor's API to get the public IP of the exit node.
- Better error handling: Ensure that the tool properly handles errors, such as Tor disconnection or network issues.