8 open-source alternatives ranked by real activity

Open-source ngrok alternatives

A curated, ranked list of the 8 best open-source alternatives to ngrok.

The best open-source alternative to ngrok is frp. If that doesn't suit you, other good options are Pangolin, Octelium, OpenZiti and Zrok.

Commercial alternatives to ngrok include Cloudflare Tunnel, HookSense, Localdock and Cloudflare D1. See all 11.

ngrok alternatives are mainly networking & VPN tools. 6 of them shipped code in the last 30 days, 8 can be self-hosted, and 6 use a permissive licence.

Last updated November 13, 2026 · ranked by GitHub stars, growth and recent commits

frp

frp is an Apache-2.0 reverse proxy written in Go that exposes servers behind a NAT or firewall to the internet over TCP, UDP, HTTP and HTTPS.

GitHub stars
111k
Last commit
3 days ago
Latest release
v0.72.0
Licence
Apache-2.0
Self-hosted
Yes

frp is a reverse proxy for reaching a local server that sits behind a NAT or firewall from the public internet. It supports TCP and UDP as well as HTTP and HTTPS, so requests can be forwarded to internal services by domain name. It also has a P2P connect mode.

The README's table of contents shows how wide the feature set is. It covers a server dashboard and a client admin UI, Prometheus monitoring, token and OIDC authentication, encryption and compression, TLS, bandwidth limits per proxy, TCP stream multiplexing, KCP and QUIC protocol support, load balancing and health checks.

Examples in the README include reaching a machine over SSH inside a LAN, sharing one port between several SSH services, serving internal web apps on custom domains, forwarding DNS queries and Unix domain sockets, and exposing a simple HTTP file server. Version 1 is in maintenance mode while the author works on an incompatible version 2.

Key features

  • Exposes local servers behind NAT or firewalls
  • Supports TCP, UDP, HTTP and HTTPS
  • Peer-to-peer connect mode
  • Token and OIDC authentication for clients
  • KCP and QUIC protocol support
  • Server dashboard, client admin UI and Prometheus monitoring
  • Per-proxy bandwidth limits and port range mapping
  • SSH tunnel gateway and virtual network features
Read more about frpGitHub#1 ngrok alternative

Pangolin

An open-source SASE platform on WireGuard combining zero-trust VPN and proxy access, privileged access control and an AI gateway that understands identity.

GitHub stars
24k
Last commit
today
Latest release
1.26.0
Self-hosted
Yes
Hosted version
Available
pangolin.netPangolin homepage screenshot

Pangolin is an open-source secure access service edge platform built on WireGuard. It aims to connect and protect users wherever they are by combining networking and security in one system: a zero-trust VPN, a zero-trust reverse proxy, privileged access control and a gateway for AI workloads that is aware of user identity, with one identity and policy model underneath.

The project compares its idea to commercial platforms such as Cloudflare One, Zscaler and Prisma, but argues that it is open, self-hostable and light enough to be easy to deploy. Legacy SASE products, it says, are heavy, closed and cloud-locked. Topics include reverse proxy, single sign-on, OIDC, SSH, tunneling, NAT traversal and remote access. Because the source is open to inspection, you can verify how traffic and access decisions are handled.

You can use Pangolin Cloud at app.pangolin.net or run it yourself. The repository's license is listed as 'Other' on GitHub, because it mixes open-source and enterprise components, so check the terms. It suits homelab users, small companies and IT teams that want zero-trust remote access without a large vendor contract.

Key features

  • Zero-trust VPN built on WireGuard
  • Zero-trust reverse proxy
  • Privileged access management
  • Identity-aware AI gateway
  • Single identity and policy model
  • Cloud or self-hosted deployment

Pricing: Basic is free for up to 5 users. Team costs $4 and Business $9 per user per month with a 10-day free trial; Enterprise is custom. Pangolin can run in the cloud or self-hosted.

Octelium

Octelium is a self-hosted zero trust access platform that can act as a VPN, ZTNA system, API and AI gateway, tunnel service or PaaS on Kubernetes.

GitHub stars
4.2k
Last commit
today
Latest release
v0.50.0
Licence
AGPL-3.0
Self-hosted
Yes
octelium.comOctelium homepage screenshot

Octelium is a self-hosted, open-source platform that unifies zero trust secure access under one system. It is flexible enough to act as a zero-config remote access VPN, a Zero Trust Network Access and BeyondCorp-style platform, an alternative to ngrok and Cloudflare Tunnel, an API gateway, an AI and LLM gateway, and an infrastructure for building MCP gateways and AI agent access.

Repository topics list attribute-based access control, policy as code, WireGuard, QUIC, SSO, multi-factor authentication, OpenTelemetry and SSH access. The README includes use cases, a feature overview, a guide to try it in a Codespace, CLI installation and instructions to install your first cluster. It is written in Go and runs on Kubernetes. It is compared to ngrok, Cloudflare Tunnel and Apigee for different roles.

Octelium is licensed under AGPL-3.0 and you operate the cluster yourself. It suits platform and security teams, homelab users and developers who want to replace several access, tunnel and gateway tools with one self-hosted system.

Key features

  • Zero-config remote access VPN
  • ZTNA and BeyondCorp-style access
  • API, AI and MCP gateway capabilities
  • Tunnel service as ngrok alternative
  • Attribute-based policy as code
  • Runs on Kubernetes clusters

Pricing: Free and open source under AGPL-3.0.

OpenZiti

An open source zero-trust networking platform that makes services invisible to unauthorized users using cryptographic identity and end-to-end encryption.

GitHub stars
4.5k
Last commit
2 days ago
Latest release
v2.0.8
Licence
Apache-2.0
Self-hosted
Yes
Hosted version
Available

OpenZiti is an open-source zero-trust networking platform. Every connection, whether from a user, service, device or workload, is authenticated with cryptographic identity, authorized by policy and encrypted end-to-end. Its stated goal is to make network services invisible to unauthorized users.

It works with existing applications through lightweight tunnelers that need no code changes, and with new applications through embedded SDKs for what it calls the strongest zero-trust model. A Python SDK is published on PyPI, where it can turn a web server into a zero-trust embedded application with a few lines of code.

The README lists use cases that include replacing VPNs, keeping APIs dark with no listening ports, giving IoT devices unique identities, linking workloads across clouds and Kubernetes clusters, and reaching self-hosted services such as Nextcloud or Home Assistant without open router ports. It was created and sponsored by NetFoundry, is Apache 2.0 licensed, and has a managed solution.

Key features

  • Every connection is authenticated, authorized and encrypted
  • Tunnelers secure existing apps without code changes
  • Embedded SDKs for new applications
  • Each service individually authorized instead of VPN access
  • Dark services with no listening ports
  • Python SDK distributed through PyPI
  • One overlay across clouds, on-prem and edge

Zrok

zrok is an open-source tool for sharing web services, files and network resources securely over the internet without firewall or port-forwarding changes.

GitHub stars
4.8k
Last commit
today
Latest release
v2.0.9
Licence
Apache-2.0
Self-hosted
Yes
Hosted version
Available
zrok.ioZrok homepage screenshot

zrok lets you share web services, files and network resources with other people, whether they are across the internet or on a private network. It is built on zero-trust networking, so it works through firewalls and NAT without port forwarding or other network changes, and it behaves like a secure reverse proxy and peer-to-peer sharing tool.

Getting started takes a few steps: install zrok, create an account with the invite command, using the free zrok.io service, and enable sharing on your machine. After that you can publish a local web app, share a folder or expose a private resource to selected users. The project is part of the OpenZiti ecosystem and written in Go.

zrok is licensed under Apache-2.0. You can use the hosted zrok.io service or run your own zrok instance, which suits developers who need to expose a local service temporarily, teams sharing files securely and homelab owners who want remote access without opening ports.

Key features

  • Share web services without port forwarding
  • File sharing over zero-trust networking
  • Works through firewalls and NAT
  • Public and private share modes
  • Free hosted zrok.io service
  • Self-hostable zrok server

Pricing: The hosted service is free with a 5 GB daily allowance and no card required, and Zrok can be self-hosted at no cost. Commercial options with SLAs are quoted by NetFoundry.

Sish

An open source SSH server that tunnels HTTP(S), WebSocket and TCP traffic to localhost, usable self-hosted or through a managed service.

GitHub stars
4.8k
Last commit
6 days ago
Latest release
v4.0.0
Licence
MIT
Self-hosted
Yes
Hosted version
Available
ssi.shSish homepage screenshot

sish runs an SSH server that only handles forwarding and multiplexing. Users connect with the plain ssh command and a remote port forward, and sish creates a public URL for the local service, so no custom client is needed. The README compares the model to serveo and ngrok but with plain SSH on infrastructure the user controls.

It forwards HTTP(S), WS(S) and TCP traffic. TCP aliases make private connections that can only be reached through authenticated SSH, with allowed users set by public key fingerprint. It also supports SNI proxying, which routes TLS traffic to different backends without terminating TLS, and optional load balancing for HTTP, TCP and SNI aliases.

To self-host, the README gives a Docker setup with directories for SSL certificates, host keys and authorised public keys, and binary releases are also provided. The project also runs a managed instance at tuns.sh, which can be tried with a single ssh command. Authentication is by key or password, and keys reload dynamically. It is written in Go and MIT licensed.

Key features

  • Forwards HTTP(S), WS(S) and TCP traffic
  • Private TCP aliases reachable only through SSH
  • SNI proxy routes TLS traffic without terminating it
  • Optional load balancing for HTTP, TCP and SNI aliases
  • Service console to inspect forwarded requests
  • Key and password authentication with dynamic key reloading
  • Binding policies for multi-tenant setups

Bore

A small command line tool, written in Rust, that tunnels a local TCP port to a remote server so it can be reached from the public internet.

GitHub stars
12k
Last commit
9 mo ago
Latest release
v0.6.0
Licence
MIT
Self-hosted
Yes
Hosted version
Available

Bore is a TCP tunnel written in Rust. Running bore local with a port number and a remote address exposes that local port on the remote server, which lets services behind a NAT firewall be reached from outside. The port on the remote end is assigned randomly unless you ask for a specific one.

The README compares it to localtunnel and ngrok but says bore is deliberately plain: an efficient, unopinionated way to forward TCP traffic that is simple to install and easy to self-host. The same binary runs as the client and, with bore server, as the server. A public instance runs at bore.pub, and an optional shared secret can protect your own server.

Bore is released under the MIT licence. It installs with Homebrew on macOS, from the AUR on Arch Linux, from the gentoo-zh overlay, with cargo, or from prebuilt binaries for macOS, Windows and Linux. Versioned Docker images are also published for each release.

Key features

  • Exposes local ports through NAT firewalls
  • Can request a specific remote port
  • Optional shared secret for authentication
  • Runs its own server with a single command
  • Separate addresses for control server and tunnels
  • Prebuilt binaries for macOS, Windows and Linux
  • Versioned Docker images for every release

Localtunnel

Localtunnel is a Node.js tool that gives a locally running web server a public https URL, so you can share it without touching DNS or firewalls.

GitHub stars
23k
Last commit
1 yr ago
Licence
MIT
localtunnel.meLocaltunnel homepage screenshot

Localtunnel lets you share a web service running on your development machine without messing with DNS and firewall settings. It assigns a unique, publicly accessible URL that proxies all requests to your local web server.

Setup is two steps. Install it globally with npm, which requires NodeJS, then start a web server on a local port and run lt with that port, for example lt --port 8000. You receive a URL such as one under loca.lt, which stays valid for as long as your local lt instance remains active.

The site lists secure https for all tunnels, showing your work to anyone, using the API to test webhooks, and testing your UI in cloud browsers. It points to the GitHub page and wiki for clients in other languages and the full API for the tunnel proxy, and asks for support through GitHub Sponsors.

Key features

  • Public URL proxying to your local web server
  • No DNS or firewall changes needed
  • Https on every tunnel
  • Command line tool started with the lt command
  • Useful for testing webhooks through its API
  • Testing your UI in cloud browsers

Commercial ngrok alternatives

Hosted, closed-source products that compete with ngrok.

ngrok alternatives: questions

What is the best open-source alternative to ngrok?
frp is the top-ranked open-source alternative to ngrok on Enlisted: frp is an Apache-2.0 reverse proxy written in Go that exposes servers behind a NAT or firewall to the internet over TCP, UDP, HTTP and HTTPS. Other strong options are Pangolin, Octelium, OpenZiti and Zrok.
What are the best commercial alternatives to ngrok?
Cloudflare Tunnel, HookSense, Localdock, Cloudflare D1 and Hookdeck are among the hosted, closed-source alternatives to ngrok listed on Enlisted, which lists 11 in total. Compare their pricing and features on each tool page.
Are these ngrok alternatives free?
All 8 are open source, so the code is free to use under its licence, and all of them can be self-hosted on your own server or computer. 5 also offer a paid or managed cloud version if you'd rather not host it yourself.
How is this list of ngrok alternatives ranked?
By a score built from GitHub stars, star growth over the last 30 days and how recently the code changed. 6 of these projects shipped code in the last 30 days. Data is refreshed daily, and nobody can pay to move up.

People also look for alternatives to…

View all