★ ✦ ★ ✦ ★ ✦ ★ ✦ ★ ✦ ★ ✦ ★

~ WARPGATE ~

Matthew's SUPER COOL Internet Tunnel Software!! _
★ ✦ ★ ✦ ★ ✦ ★ ✦ ★ ✦ ★ ✦ ★
 >>> NEW! Warpgate v0.9.0 just released! Now with TCP simultaneous open!!     Works on Windows XP all the way through Windows 11!!!     100% FREE, 100% OPEN SOURCE, 100% MIT LICENSE!!     Email me: matthew@roberts.pm     Best viewed in Netscape Navigator 4.0 at 800x600!!    
★ Award-Winning Software! ★
COOL SITE TOP PICK  DAILY MAIL SITE LIST HOT!!!

Welcome to the Warpgate Homepage!!

HELLO & WELCOME, NETIZEN!! You have stumbled upon the OFFICIAL HOMEPAGE of WARPGATE — the most RADICAL Python library for punching holes through your Network Address Translator!!! NEW!

Are PESKY FIREWALLS getting in the way of your peer-to-peer dreams? Has your router told you for the LAST TIME that port 51820 is unreachable?? Then friend, you NEED WARPGATE!

Warpgate is a 100% FREE, 100% OPEN-SOURCE Python 3 library for one-shot NAT traversal. EIGHT plugins, every major OS back to Windows XP, IPv4 AND IPv6, multi-NIC, all in one library. No relays you have to run. No keys you have to manage. No paid tier EVER! The code is MIT licensed and the public infrastructure is community-run!!

▶ WATCH THE DEMO VIDEO!!


Download & Install

It's EASY!! Just open up your DOS prompt or terminal and type:

C:\> pip install warpgate

That's it!! No funny business, no secret handshakes, no nonsense. Once installed you can see the code examples below, or jump straight to the official source repository on GitHub.

★ License: MIT ★ Cost: $0.00 FOREVER ★ Python: 3.5 or higher


The Eight Plugins of Warpgate

Warpgate doesn't bet on a single technique. It runs a CASCADE of plugins until ONE works. Click each plugin to learn more (just kidding, this is a 90s page, just READ the descriptions!!)

[ 01 ] Direct Connect tcp · udp [ 02 ] Reverse Connect via signaling [ 03 ] TCP Punch novel algo! [ 04 ] UDP Hole-Punch classic + improved
[ 05 ] UDP Random Probe birthday paradox! [ 06 ] UPnP / IPv6 Pinhole router-assisted [ 07 ] TURN Relay guaranteed fallback [ 08 ] Bring Your Own! plugin API

How Does It Work?? (ASCII DIAGRAM!!)

Here is a scientifically accurate diagram of how Warpgate makes two computers behind nasty NATs talk to each other!!

+----------+ +========+ +----------+ | PEER A |-->------| NAT |--->----.| | | (you) | | ##### | | INTERNET | | 192.168. | +========+ | cloud | | 1.42 | | | | +----------+ | +----+-----+ ^ | | | [ STUN / MQTT ] | | | | +----+-----+ | +----v-----+ | | v | NAT | | warpgate |---<------==[ HOLE! ]==----| ##### | | ⌬ gate | (punched through) +---+------+ +----------+ | v +----------+ | PEER B | | (peer) | +----------+ >>> ZAP! POW! Connection established in < 2 seconds!!

* Diagram not to scale. Actual NAT may vary. Warpgate has 8 strategies it cycles through automatically.


Code Examples (Python 3)

Here is how you would use Warpgate in your OWN Python program!!

▼ connect to a peer ▼

# cascade through 8 plugins until one works import asyncio from warpgate import Gate async def main(): gate = Gate(name="alice") await gate.start() async with gate.connect("bob") as pipe: await pipe.send(b"hello") msg = await pipe.recv() print(pipe.plugin, pipe.transport) asyncio.run(main())

▼ write your own plugin ▼

# your own plugin -- drop into the cascade from warpgate import Strategy, register @register(priority=15) class QuicCoturn(Strategy): name = "quic-coturn" async def attempt(self, ctx): sock = await ctx.quic_dial("my.coturn.example") return sock

Compatibility Chart

Warpgate works EVERYWHERE!! See for yourself!!

Operating SystemTested?Notes
Windows XPYES!Yes really. Try it.
Windows Vista / 7 / 8 / 10 / 11YES!Primary target.
Linux (kernel 2.6+)YES!Distro-agnostic.
macOS (10.9 — Sequoia)YES!Intel + Apple Silicon.
FreeBSD / OpenBSD / NetBSDYES!Jails supported.
Android (Termux + Pydroid)YES!Phones tunnel too!!
iOS (Pythonista)SORTARead-only sockets.
OS/2 WarpUNTESTEDSend patches!

Python: 3.5 → 3.13. Async-native from Python 3.5's first asyncio. CPython is the primary target, but PyPy works fine too!


The Warpgate Family

Warpgate isn't alone! It is part of a WHOLE FAMILY of cooperating open-source libraries:

CORE
★★★★★
warpgate(this one!)
The cascade. One-shot NAT traversal across eight plugins.
NETIO aionetiface
Custom async networking library that adds first-class multi-interface support to Python.
SIGNAL sidewire
Peers swap candidates over public MQTT brokers — no bespoke rendezvous server.
NAMING namebump
Skip the public-key gymnastics. Claim a name, point peers at it.
MONITOR dogdorm
Probes public infrastructure servers — keeps Warpgate's server list fresh.

You are visitor number
0001337
since 04/06/2026
UNDER CONSTRUCTION — More features being added all the time!! Check back often!!
~ Sign My Guestbook! ~
(actually we don't have a guestbook. file an issue on GitHub instead!)
★ The Open-Source Networking WebRing ★
[ ◄ Prev ] [ Hub ] [ Random ] [ Next ► ]
E-MAIL THE AUTHOR:

© 2026 Matthew Roberts · All Rights Reserved* · Best viewed in Netscape Navigator 4.0
*(except the code, which is MIT licensed!!)

GitHub · Documentation · Plugins · The Family

This page was hand-coded with Notepad.exe. No JavaScript frameworks were harmed in the making of this homepage.