Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Tor
  3. toriptabkes2

toriptabkes2

Python2-2.1

A Python script that configures iptables and Tor to route all network traffic and DNS through the Tor network for anonymity.

GitHubGitHub
490 stars125 forks0 contributors

What is toriptabkes2?

toriptables2 is a Python-based anonymization script that configures iptables and Tor to route all system traffic, including DNS, through the Tor network. It automates the setup of firewall rules to ensure complete network anonymity, preventing IP and DNS leaks. The tool is designed to work on Linux systems, providing a simple command-line interface for enabling and managing Tor-based routing.

Target Audience

Linux users, security researchers, and privacy-conscious individuals who need to anonymize all network traffic on their system without manually configuring iptables.

Value Proposition

Developers choose toriptables2 for its automated, one-command setup that ensures full traffic routing through Tor, eliminating the complexity of manual iptables configuration. Its integration with Tor and DNS leak protection provides a reliable, open-source alternative to commercial VPNs for system-wide anonymity.

Overview

Tor Iptables script is an anonymizer that sets up iptables and tor to route all services and traffic including DNS through the Tor network.

Use Cases

Best For

  • Anonymizing all network traffic on a Linux system
  • Preventing IP and DNS leaks while using Tor
  • Security research and penetration testing requiring anonymous connections
  • Privacy protection for sensitive online activities
  • Automating Tor exit node IP address changes
  • Routing DNS queries through the Tor network

Not Ideal For

  • Users on non-Linux operating systems like Windows or macOS
  • Applications requiring high-speed, low-latency connections such as online gaming or video streaming
  • Systems where only selective traffic needs anonymization, as it routes all network traffic through Tor
  • Projects needing the latest features and active maintenance, since toriptables3 is the recommended successor

Pros & Cons

Pros

Automated Iptables Setup

Configures complex firewall rules with a single command like `toriptables2.py -l`, eliminating manual iptables configuration for Tor routing.

DNS Leak Protection

Routes all DNS queries through Tor, preventing leaks that could compromise anonymity, as emphasized in the provided test links for DNS leak testing.

IP Switching Capability

Allows manual or automatic changes to Tor exit nodes using commands such as `toriptables2.py -r` and integrates with tools like Tor IP Switcher for dynamic IP rotation.

Cross-Distribution Support

Works on Linux distributions like Kali Linux and KaliBang, with a separate GUI variant (toriptables2g) for desktop notifications, enhancing usability.

Cons

Deprecated Python Version

Built on Python 2.7, which is end-of-life and no longer receives security updates, increasing vulnerability risks for users.

Linux-Only Limitation

Exclusively designed for Linux systems, making it incompatible with Windows or macOS without workarounds like virtualization.

Outdated Project Status

The README explicitly points to toriptables3 as the successor, indicating this version may lack updates, bug fixes, and modern features.

Performance Overhead

Routing all traffic through Tor introduces significant latency and bandwidth restrictions, degrading performance for tasks like large file transfers or real-time communication.

Frequently Asked Questions

Quick Stats

Stars490
Forks125
Contributors0
Open Issues0
Last commit11 months ago
CreatedSince 2015

Tags

#privacy-tools#zero-knowledge#anonymize#dns#traffic#tor#zero-configuration#linux-security#tor-network#iptables#traffic-routing#python-script

Built With

T
Tor
i
iptables
P
Python 2.7

Included in

Tor87
Auto-fetched 58 minutes ago

Related Projects

dnscrypt-proxydnscrypt-proxy

dnscrypt-proxy 2 - A flexible DNS proxy, with support for encrypted DNS protocols.

Stars13,443
Forks1,113
Last commit3 days ago
TorBotTorBot

Dark Web OSINT Tool

Stars4,172
Forks683
Last commit5 months ago
kalitorifykalitorify

Transparent proxy through Tor for Kali Linux OS

Stars1,228
Forks258
Last commit2 years ago
rotating-proxyrotating-proxy

Rotating TOR proxy with Docker

Stars1,216
Forks253
Last commit2 years ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub