qmetrics.net
NPortFree Cloudflare-based localhost tunnel CLI with custom subdomains RatholeRust reverse proxy for NAT traversal

NPort vs Rathole

How NPort and Rathole compare on popularity, activity, license and platforms: two open-source Networking & Connectivity projects, both alternatives to ngrok.

At a glance

Side by side

NPortRathole
GitHub stars★ 776★ 14,513
Forks136857
Last commit3 months ago3 months ago
Latest versionv2.1.6v0.5.0
Repository startedDecember 2024December 2021
LicenseMIT · permissiveApache-2.0 · permissive
Self-hostedDesktop/CLI appYes
PlatformsCLI, Linux, macOS, WindowsLinux, Docker
Main languageTypeScriptRust
Alternative tongrokngrok

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

Rathole

Rathole exposes services on NAT-bound devices through a public server, using paired client and server configuration files.

Key features

  • Client-server NAT traversal
  • Mandatory per-service tokens
  • Noise Protocol and TLS options
  • Hot-reload configuration
  • Small static binaries
  • Docker image available

More comparisons

Report a mistake on this page