RatholeRust reverse proxy for NAT traversal
Portr vs Rathole
How Portr and Rathole 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 3.2k, about 5× as many).
- Portr was updated more recently (last commit 26 days ago, Rathole 3 months ago).
- Portr uses AGPL-3.0 (copyleft); Rathole uses Apache-2.0 (permissive).
- Both can be self-hosted.
- Rathole is the older project (repository started 2021; Portr in 2023).
Side by side
| Portr | Rathole | |
|---|---|---|
| GitHub stars | ★ 3,195 | ★ 14,513 |
| Forks | 115 | 857 |
| Last commit | 26 days ago | 3 months ago |
| Latest version | v2.1.0 | v0.5.0 |
| Repository started | November 2023 | December 2021 |
| License | AGPL-3.0 · copyleft | Apache-2.0 · permissive |
| Self-hosted | Yes | Yes |
| Platforms | CLI, Docker | Linux, Docker |
| Main language | Go | 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.
Portr
Portr exposes local HTTP, TCP, and WebSocket services on public URLs through a tunnel server you control, with a local inspector, request replay, SQLite logs, and team access.
Key features
- HTTP, TCP and WebSocket tunnels
- Local request inspector
- Request replay from logs
- CLI access to stored requests
- Docker Compose tunnel labels
- Reserved subdomains
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