RatholeRust reverse proxy for NAT traversal
rustunnelRust tunnel server for public HTTP, TCP and UDP exposure
Rathole vs rustunnel
How Rathole and rustunnel compare on popularity, activity, license and platforms: two open-source Networking & Connectivity projects, both alternatives to ngrok.
At a glance
- Rathole has more GitHub stars (14.5k vs 668, about 22× as many).
- rustunnel was updated more recently (last commit 23 days ago, Rathole 3 months ago).
- Rathole uses Apache-2.0 (permissive); rustunnel uses AGPL-3.0 (copyleft).
- Both can be self-hosted.
- Rathole is the older project (repository started 2021; rustunnel in 2026).
Side by side
| Rathole | rustunnel | |
|---|---|---|
| GitHub stars | ★ 14,513 | ★ 668 |
| Forks | 857 | 50 |
| Last commit | 3 months ago | 23 days ago |
| Latest version | v0.5.0 | v0.8.9 |
| Repository started | December 2021 | March 2026 |
| License | Apache-2.0 · permissive | AGPL-3.0 · copyleft |
| Self-hosted | Yes | Yes |
| Platforms | Linux, Docker | Linux, Docker, CLI |
| Main language | Rust | 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.
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
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