Portal TunnelOpen-source localhost tunnel with self-hostable trustless relays
RatholeRust reverse proxy for NAT traversal
Portal Tunnel vs Rathole
How Portal Tunnel 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 305, about 48× as many).
- Portal Tunnel was updated more recently (last commit 2 days ago, Rathole 3 months ago).
- Portal Tunnel uses MIT; Rathole uses Apache-2.0 (both permissive).
- Rathole can be self-hosted; Portal Tunnel is not listed as self-hostable.
- Rathole is the older project (repository started 2021; Portal Tunnel in 2025).
Side by side
| Portal Tunnel | Rathole | |
|---|---|---|
| GitHub stars | ★ 305 | ★ 14,513 |
| Forks | 32 | 857 |
| Last commit | 2 days ago | 3 months ago |
| Latest version | v2.8.0 | v0.5.0 |
| Repository started | October 2025 | December 2021 |
| License | MIT · permissive | Apache-2.0 · permissive |
| Self-hosted | Desktop/CLI app | Yes |
| Platforms | macOS, Linux, Windows, CLI | 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.
Portal Tunnel
Portal publishes local apps and APIs through public or self-hosted relays without accounts, using local cryptographic identity, optional client-side TLS, multi-relay failover, and IVNP overlay routing.
Key features
- Public or self-hosted relays
- Client-side tenant TLS
- No accounts or API keys
- Multi-relay failover pools
- MITM self-probe on relays
- IVNP overlay routing option
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