NPortFree Cloudflare-based localhost tunnel CLI with custom subdomains
rustunnelRust tunnel server for public HTTP, TCP and UDP exposure
NPort vs rustunnel
How NPort and rustunnel compare on popularity, activity, license and platforms: two open-source Networking & Connectivity projects, both alternatives to ngrok.
At a glance
- NPort has more GitHub stars (776 vs 668).
- rustunnel was updated more recently (last commit 23 days ago, NPort 3 months ago).
- NPort uses MIT (permissive); rustunnel uses AGPL-3.0 (copyleft).
- rustunnel can be self-hosted; NPort is not listed as self-hostable.
- NPort is the older project (repository started 2024; rustunnel in 2026).
Side by side
| NPort | rustunnel | |
|---|---|---|
| GitHub stars | ★ 776 | ★ 668 |
| Forks | 136 | 50 |
| Last commit | 3 months ago | 23 days ago |
| Latest version | v2.1.6 | v0.8.9 |
| Repository started | December 2024 | March 2026 |
| License | MIT · permissive | AGPL-3.0 · copyleft |
| Self-hosted | Desktop/CLI app | Yes |
| Platforms | CLI, Linux, macOS, Windows | Linux, Docker, CLI |
| Main language | TypeScript | Rust |
| Alternative to | ngrok | ngrok |
Highlighted: more stars or forks, or a last commit at least two weeks more recent. Data from GitHub, updated 27 November 2026.
NPort
NPort exposes local HTTP or HTTPS ports through Cloudflare with one npm command, automatic TLS and optional custom subdomains.
Key features
- One-command localhost exposure via npm
- Custom subdomains on the shared nport.link domain
- Automatic HTTPS through Cloudflare
- WebSocket and SSE support
- Optional self-hosted backend configuration
- Automatic tunnel and DNS cleanup on exit
rustunnel
rustunnel forwards local services through TLS WebSocket tunnels to a server you self-host or a managed edge, with dashboards, metrics, audit logs, and an MCP server for AI setup.
Key features
- HTTP, TCP and UDP tunnels
- TLS WebSocket transport
- Self-hosted or managed edge
- Live dashboard and metrics
- Audit logging
- MCP server for agents