Back to rankings

htrgouvea/nipe

Perlheitorgouvea.me

An engine to make Tor network your default gateway

toranonymitynetworknipeprivacyperliptablesanonymizeengine
Star Growth
Stars
2.4k
Forks
338
Weekly Growth
Issues
11
1k2k
Sep 2015Apr 2019Dec 2022Jul 2026
README

An engine to make Tor Network your default gateway.



Summary

The Tor project allows users to surf the Internet, chat and send instant messages anonymously through its own mechanism. It is used by a wide variety of people, companies and organizations, both for lawful activities and for other illicit purposes. Tor has been largely used by intelligence agencies, hacking groups, criminal activities and even ordinary users who care about their privacy in the digital world.

Nipe is an engine, developed in Perl, that aims on making the Tor network your default network gateway. Nipe can route the traffic from your machine to the Internet through Tor network, so you can surf the Internet having a more formidable stance on privacy and anonymity in cyberspace.

Nipe supports both IPv4 and IPv6 traffic routing through the Tor network. Only traffic destined for local and/or loopback addresses is not routed through Tor. All non-local UDP/ICMP traffic is also blocked by the Tor project.

Nipe uses iptables and ip6tables to apply redirection rules for IPv4 and IPv6 traffic respectively. If you may have rules applied to these utilities, during the start process, conflicts may occur. When you stop running the Nipe services, all departure rules are removed, not differentiating between the already existing ones and the Nipe rules.


Download and install

  # Download
  $ git clone https://github.com/htrgouvea/nipe && cd nipe
    
  # Install libs and dependencies
  $ cpanm --installdeps .

  # Nipe must be run as root
  $ perl nipe.pl install

Commands:

  COMMAND          FUNCTION
  install          Install dependencies
  start            Start routing
  stop             Stop routing
  restart          Restart the Nipe circuit
  status           See status

  Examples:

  perl nipe.pl install
  perl nipe.pl start
  perl nipe.pl stop
  perl nipe.pl restart
  perl nipe.pl status

Demo

Image


Docker container

# Building the container
$ docker build -t nipe .

# Setup the Nipe container
$ docker run -d -it --name nipe-container --privileged --cap-add=NET_ADMIN nipe

# Running commands
$ docker exec -it nipe-container ./nipe.pl <your command>

Contribution

Your contributions and suggestions are heartily ♥ welcome. See here the contribution guidelines. Please, report bugs via issues page and for security issues, see here the security policy. (✿ ◕‿◕)


License

This work is licensed under MIT License.

Related repositories
StreisandEffect/streisand

Streisand sets up a new server running your choice of WireGuard, OpenConnect, OpenSSH, OpenVPN, Shadowsocks, sslh, Stunnel, or a Tor bridge. It also generates custom instructions for all of these services. At the end of the run you are given an HTML file with instructions that can be shared with friends, family members, and fellow activists.

ShellOthervpnansible
twitter.com/streisandvpn
23.5k2k
HelloZeroNet/ZeroNet

ZeroNet - Decentralized websites using Bitcoin crypto and BitTorrent network

JavaScriptnpmOtherbittorrentp2p
zeronet.io
18.8k2.3k
onionshare/onionshare

Securely and anonymously share files, host websites, and chat with friends using the Tor network

PythonPyPIOthertorfile-sharing
onionshare.org
7k712
xjasonlyu/tun2socks

tun2socks - powered by gVisor TCP/IP stack

GoGo ModulesMIT Licensegolangtun2socks
github.com/xjasonlyu/tun2socks/wiki
5.4k634
Tribler/tribler

Privacy enhanced BitTorrent client with P2P content discovery

PythonPyPIGNU General Public License v3.0pythonstreaming
tribler.org
5.3k470
torproject/tor

unofficial git repo -- report bugs/issues/pull requests on https://gitlab.torproject.org/ --

ctor
gitweb.torproject.org/tor.git
5k954
DedSecInside/TorBot

Dark Web OSINT Tool

PythonPyPIOthertortor-network
4.4k705
cbeuw/Cloak

A censorship circumvention tool to evade detection by authoritarian state adversaries

GoGo ModulesGNU General Public License v3.0shadowsockscensorship-circumvention
4k350
ricochet-im/ricochet

Anonymous peer-to-peer instant messaging

C++Othertorc-plus-plus
ricochet.im
3.9k428
BrowserBox/BrowserBox

💚🇺🇸🗽Secure remote browsing anywhere, any way you like it.

ShellOtherembeddablechrome
browserbox.io
3.9k415
guardianproject/orbot-android

The Github home of Orbot: Tor on Android (Also available on gitlab!)

KotlinOthercensorship-circumventionanonymity
gitlab.com/guardianproject/orbot
3.4k465
Gedsh/InviZible

Android application for online privacy and security

JavaMavenGNU General Public License v3.0dnscrypttor
invizible.net
2.7k161