PgrokSelf-hosted multi-tenant HTTP and TCP tunnel platform
RatholeRust reverse proxy for NAT traversal
Pgrok vs Rathole
How Pgrok 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.7k, about 4× as many).
- Pgrok was updated more recently (last commit 5 days ago, Rathole 3 months ago).
- Pgrok uses MIT; Rathole uses Apache-2.0 (both permissive).
- Both can be self-hosted.
- Rathole is the older project (repository started 2021; Pgrok in 2023).
Side by side
| Pgrok | Rathole | |
|---|---|---|
| GitHub stars | ★ 3,652 | ★ 14,513 |
| Forks | 134 | 857 |
| Last commit | 5 days ago | 3 months ago |
| Latest version | v1.8.0 | v0.5.0 |
| Repository started | March 2023 | December 2021 |
| License | MIT · permissive | Apache-2.0 · permissive |
| Self-hosted | Yes | Yes |
| Platforms | Linux, macOS, Windows, 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.
Pgrok
pgrok exposes local services through SSH reverse tunnels with stable subdomains and OIDC single sign-on on infrastructure you operate.
Key features
- Self-hosted pgrokd control plane with custom domain
- OIDC SSO for tunnel credentials and subdomains
- HTTP path-based routing to local services
- Raw TCP tunnels via SSH reverse forwarding
- PostgreSQL-backed multi-tenant accounts
- CLI config in standard OS config directories
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