Back to browse
GitHub Repository

A Linux CLI utility that transparently routes all system traffic through the Tor network using nftables. It enables rapid IP rotation and easy toggling of global proxy settings for privacy tasks.

21 starsPython

Stateless, system-wide Transparent Tor Proxy for Linux (v0.1.0)

by onyks·Apr 29, 2026·2 points·0 comments

AI Analysis

●●SolidCozyShip It

Atomic nftables rules prevent leaks, but TailsOS remains the gold standard for high-risk ops.

Strengths
  • Atomic firewall rule loading avoids dangerous intermediate states during toggle.
  • Crash-safe lock file mechanism restores network config even after kill -9 or power loss.
  • Custom SELinux policy compilation ensures compatibility on Fedora and RHEL systems.
Weaknesses
  • Linux-only limitation excludes the significant portion of privacy users on macOS or Windows.
  • Author explicitly advises against high-risk use cases, limiting the threat model scope.
Category
Target Audience

Privacy-conscious Linux users and security researchers

Similar To

Whonix · Tails · Tor Browser

Post Description

Hi, I made this transparent proxy because I wanted to make a tool that felt easy to use. You just have to turn it on and forget it, and as soon as you turn it off your computer will go back to the previous state. In a few words, TTP intercepts all TCP traffic and DNS queries (using nftables) and redirects them to respectively Tor's TransPort and DNSPort. When turned off, it destroys its dedicated table atomically, without breaking your network configuration on your machine. It also implements a kill-switch for connections established before TTP starts (outgoing traffic is rejected, doing so the connection gets automatically re-estrablished using the secure connection). In the end, it offers SELinux custom policies and it is crash safe (using a lock file in /var/lib/ttp). Disclaimer: this tool is not meant for high-risk activities. I DO NOT recommend it for further purpose rather than privacy and/or for testing/developing it. Finally, this is just a v0.1.0 by an undergraduate cs student. I made this to learn, so, please, help me out! Thank you all. Github link: https://github.com/onyks-os/TransparentTorProxy Documentation: https://onyks-os.github.io/ttp/

Similar Projects

SecurityMid

TTP 0.3.0 – A transparent Tor proxy running in RAM

Transparent Tor routing via nftables, but TailsOS already solves this safer.

Niche Gem
onyks
301mo ago
SecurityMid

How I solved my network state corruption in my Linux Tor proxy

Transparent Tor routing via nftables, but proxychains already solves this.

Ship It
onyks
311mo ago
Security●●Solid

Gohpts-IPv4/IPv6/TCP/UDP Transparent Proxy with ARP/NDP/Rdnss Spoofing

Built-in IPv6 NDP spoofing turns SOCKS chains into transparent proxies.

WizardryShip It
shadowy-pycoder
103mo ago