pgrokSelf-hosted multi-tenant HTTP and TCP tunnel platform
PortalOpen-source localhost tunnel with self-hostable trustless relays
pgrok vs Portal
How pgrok and Portal compare on popularity, activity, license and platforms: two open-source Networking & Connectivity projects, both alternatives to ngrok.
At a glance
- pgrok has more GitHub stars (3.7k vs 305, about 12× as many).
- Both are actively maintained (last commits 5 days ago and 2 days ago).
- Both use the MIT license.
- pgrok can be self-hosted; Portal is not listed as self-hostable.
- pgrok is the older project (repository started 2023; Portal in 2025).
Side by side
| pgrok | Portal | |
|---|---|---|
| GitHub stars | ★ 3,652 | ★ 305 |
| Forks | 134 | 32 |
| Last commit | 5 days ago | 2 days ago |
| Latest version | v1.8.0 | v2.8.0 |
| Repository started | March 2023 | October 2025 |
| License | MIT · permissive | MIT · permissive |
| Self-hosted | Yes | Desktop/CLI app |
| Platforms | macOS, Docker, CLI | Linux, macOS, Windows, Docker, CLI |
| Main language | Go | Go |
| 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
Portal
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