Nipe
An engine to make Tor network your default gateway
Nipe is a Perl-based engine whose primary aim is to make the Tor network act as the default gateway for outgoing traffic. In practice, it configures system firewall rules (iptables) and network routing so that almost all IPv4 traffic is redirected through Tor. The tool provides commands such as install, start, stop, restart, and status to manage its behavior. When “start” is issued, it sets up the necessary rules; when “stop” is used, it attempts to remove those rules. Nipe currently operates over IPv4 and does not yet support IPv6, meaning that users with IPv6 connectivity may bypass Tor routing. It includes a Dockerfile to facilitate containerized usage, requiring sufficient network capabilities (e.g. NET_ADMIN) inside the container. Behind the scenes, the code is modular: for instance, parts of the logic around installation and utility functions are separated into Perl modules (e.g. in lib/Nipe/Utils/Install.pm).