# Open-source alternatives to ngrok

Canonical: https://openpick.ing/alternatives/ngrok
As of: 2026-12-05 22:00 UTC


octelium/octelium is the most used open source alternative to ngrok, with 4.2k stars. There is no star history yet, so growth is not ranked. Data as of 5 Dec 2026.

These open source projects offer ways to expose local servers and route webhooks, with setup that ranges from easy to hard.

## Most used
- [octelium/octelium](https://openpick.ing/r/octelium), 4,233 stars
- [pgrok/pgrok](https://openpick.ing/r/pgrok), 3,652 stars
- [amalshaji/portr](https://openpick.ing/r/portr), 3,197 stars

## Alternatives
- [octelium/octelium](https://openpick.ing/r/octelium) — Self-hosted zero trust secure access platform, license: AGPL-3.0: Yes, with conditions, maintenance: Active
- [pgrok/pgrok](https://openpick.ing/r/pgrok) — Self-hosted tunnels with SSO and stable subdomains, license: MIT: Yes, maintenance: Active
- [amalshaji/portr](https://openpick.ing/r/portr) — Expose local HTTP, TCP, or WebSocket services publicly, license: AGPL-3.0: Yes, with conditions, maintenance: Active
- [anderspitman/SirTunnel](https://openpick.ing/r/sirtunnel) — Minimal self-hosted tunnel with automatic HTTPS, license: MIT: Yes, maintenance: Slow
- [azimjohn/jprq](https://openpick.ing/r/jprq) — Expose local servers to the public internet, license: No license listed: Check the license, maintenance: Active
- [tuanngocptn/nport](https://openpick.ing/r/nport) — Free open source ngrok alternative via Cloudflare, license: Custom license: Check the license, maintenance: Active
- [joaoh82/rustunnel](https://openpick.ing/r/rustunnel) — Self-hosted secure tunnel server written in Rust, license: AGPL-3.0: Yes, with conditions, maintenance: Active
- [akazwz/hostc](https://openpick.ing/r/hostc) — Localhost, anywhere, license: Apache-2.0: Yes, maintenance: Active
- [amak-tech/port-buddy](https://openpick.ing/r/port-buddy) — Expose local ports to the internet, license: Apache-2.0: Yes, maintenance: Slow
- [hookdeck/hookdeck-cli](https://openpick.ing/r/hookdeck-cli) — Forward webhooks to localhost and manage Hookdeck resources, license: Apache-2.0: Yes, maintenance: Active
- [gosuda/portal-tunnel](https://openpick.ing/r/portal-tunnel) — Publish localhost services with your own or public relays, license: MIT: Yes, maintenance: Active
- [vitobotta/docker-tunnel](https://openpick.ing/r/docker-tunnel) — Self hosted Docker tunnel that exposes a local app, license: No license listed: Check the license, maintenance: Slow
- [ntnj/tunwg](https://openpick.ing/r/tunwg) — Secure tunnel to your local servers, license: MIT: Yes, maintenance: Slow
- [AnimMouse/frp-flyapp](https://openpick.ing/r/frp-flyapp) — Run your own frp tunnel on fly.io, license: MPL-2.0: Yes, with conditions, maintenance: Slow
- [calabinet/calabi](https://openpick.ing/r/calabi) — Self-hosted HTTPS endpoints and a private WireGuard mesh, license: Apache-2.0: Yes, maintenance: Active
- [mr-karan/arbok](https://openpick.ing/r/arbok) — Secure HTTP tunnels to localhost using WireGuard, license: MIT: Yes, maintenance: Slow
- [hoangtuvungcao/proxvn\_tunnel\_full](https://openpick.ing/r/proxvn_tunnel_full) — Expose localhost over HTTPS, TCP and UDP, license: Custom license: Check the license, maintenance: Slow

Not legal advice