PyForge is sold only here, on the official py-forge.com website — beware of imitations.

Back to the catalog
TunnelForgeAI & Automation

TunnelForge

#python#automation#microsaas

Developers operating behind NATs, firewalls, or dynamic edge networks often struggle to expose local services without complex router changes or centralized third-party relays. TunnelForge solves this challenge by establishing an authenticated, bidirectional TCP reverse tunnel between an internet-facing edge server and local client applications. ## Key features - **Timing-safe token authentication:** Employs HMAC SHA-256 verification to authenticate incoming control plane sessions against secret tokens securely. - **Multiplexed data streaming:** Provisions on-demand TCP channels dynamically, bridging incoming public socket traffic directly to local target ports with 64 KB buffers. - **Built-in economic metering:** Tracks byte counts, active connections, uptime, and calculates accrued operational bandwidth costs per megabyte in real time. - **Heartbeat status exchange:** Maintains persistent control sessions and responds to metric ping requests with comprehensive telemetry snapshots. ## Example ```bash python tunnelforge.py --help python tunnelforge.py server --token 8f3c7e2b1a90d45681234cde5678ef01ab34cd56ef7890ab python tunnelforge.py client --token 8f3c7e2b1a90d45681234cde5678ef01ab34cd56ef7890ab ``` ## Limitations TunnelForge operates strictly at the raw TCP level and does not provide TLS encryption, HTTP header inspection, or automatic domain routing.

Quick Start

Runs on Python 3.9 or newer with the standard library only. Nothing to pip install.

1 — Run it

python tunnelforge.py --help

How agents & programs use it: It uses only the Python standard library, so scripts and AI agents can run it as a subprocess without extra installs.

All-Access Pass

Get every PyForge tool with the All-Access Pass

28 tools today plus every future release, lifetime commercial license, one payment of $99.

This tool: $49 · All 28 tools: $99

See the All-Access Pass