Portunus

Start here

TCP and UDP port forwarding. Run it from one TOML file, or from a central server that pushes rules to clients with permissions, metrics, and audit logs.

Portunus forwards TCP and UDP ports on remote hosts. There are two ways to run it: a single standalone binary driven by a local TOML file, or a server that pushes rules to clients and manages permissions, rate limits, metrics, and audit logs. Either way, business traffic flows through the forwarding host, not the server, and Portunus does not decrypt or edit it.

Which one should I use?

StandaloneServer + client
Rules come fromA local TOML fileThe server, pushed live
Best forOne host / edge boxMany hosts, central control
Control-plane server to run, secure, back upNoneRequired
Live rule updates (no restart)
Browser Web UI, RBAC, audit log
Rate limiting / QoS, per-owner quotas
TLS-SNI routing
Prometheus metrics
Live traffic dashboard✓ terminal TUI (portunus-standalone stats)✓ Web UI + Prometheus
TCP/UDP, port ranges, multi-target failover, PROXY protocol, DNS targets

Pick a mode and follow its install path:

Learn more

License

Licensed under the GNU Affero General Public License v3.0 (AGPL-3.0-only).

On this page