ngrok Alternatives for Secure Tunnels and Gateways
ngrok creates secure tunnels from local or private services to public URLs, and also routes APIs, AI models and device traffic. It supports HTTP, TLS, TCP, WebSockets and gRPC, with a free plan and paid plans from $10 a month.
The alternatives below span local tunneling, reverse proxying, Kubernetes gateways, identity-based access, web application firewalls and AI routing. Their priorities differ: some are free or open source, while others concentrate on a particular gateway role.
OOpenport exposes a local TCP port through a secure tunnelAPIOpenFree Openport focuses on making a local TCP port reachable online without opening firewall ports. Its device-to-internet tunnel is paired with web and API controls for checking connected devices and administering IoT fleets. ngrok handles more protocols and gateway tasks, whereas Openport offers a free tier, a 30-day trial and subscriptions from $1 monthly.
Trade-off: Compared with ngrok, it lacks the same protocol breadth, traffic policies, API gateway and AI gateway. Suits: People who need simple remote access to local TCP services or IoT devices.
TP
Traefik Proxy is an open-source reverse proxy and ingress controllerAPIOpenFreeFor service and API deployment, Traefik provides an open-source reverse proxy and ingress controller. It supports Linux, macOS, Windows, web, self-hosted and API environments, and has both free access and a free trial. ngrok adds public tunnels, webhook verification, and AI and device gateways; Traefik concentrates on deploying services and APIs.
Trade-off: Choosing Traefik means foregoing ngrok's built-in tunnels, webhook verification and broader gateway set. Suits: Teams deploying services and APIs that want an open-source ingress controller.
P
Pomerium provides identity-aware access without VPN clientsAPIOpenFreePomerium is an open-source proxy that applies BeyondCorp and zero-trust ideas to identity-aware access. It lets users reach internal applications, servers, services and workloads from a clientless connection, without VPN software. ngrok emphasizes tunnels and wider traffic routing, while Pomerium concentrates on identity-controlled internal access. After its free tier, annual billing starts at $7 per user each month.
Trade-off: It does not provide ngrok's local public URLs, protocol breadth, or AI, device and site-to-site gateways. Suits: Organizations giving people access to internal services without installing VPN software.
H
Higress is an open-source gateway for AI and cloud-native trafficAPIOpenFreeBuilt on Istio and Envoy, Higress is an open-source AI-focused API gateway. It manages LLM APIs, AI agents, MCP servers and cloud-native traffic, offering centralized proxying for more than 100 mainstream language models. ngrok also offers an AI Gateway, but Higress is free and concentrates on AI and cloud-native gateway operations.
Trade-off: Higress lacks ngrok's local tunnels, webhook verification and device gateway. Suits: Teams governing many language-model APIs, AI agents or MCP servers.
A
agentgateway routes and governs service, LLM, MCP and agent trafficAPIOpenFreeagentgateway provides an open-source HTTP and gRPC gateway that routes, secures, observes and governs service, LLM, MCP and agent-to-agent traffic. Its OpenAI-compatible interface supports OpenAI, Anthropic, Bedrock and Gemini, along with self-hosted inference routing. ngrok has an AI Gateway too, but agentgateway is free and more tightly centered on models and agents.
Trade-off: It omits ngrok's local-tunnel workflow, webhook verification, and wider device and site connectivity. Suits: Teams routing language models, MCP servers and agent-to-agent workloads.
BI
BFE is a free, open-source Layer 7 load balancerAPIOpenFreeDerived from Baidu's front end, BFE is an open-source load balancer operating at Layer 7. It handles HTTP, HTTPS, SPDY, HTTP/2, WebSocket, TLS, gRPC and FastCGI, while its own language defines content-based routing. ngrok supplies managed tunnels and multiple gateway services; BFE is instead a free routing layer that you operate yourself.
Trade-off: BFE does not include ngrok's managed cloud edge, automatic certificates, integrations or support plans. Suits: Operators wanting free, self-hosted routing for web and gRPC traffic.
AM
Airlock Microgateway protects APIs inside KubernetesAPIOpenFreeAirlock Microgateway combines Kubernetes-native web application and API protection with an identity-aware proxy. It is installed as a Kubernetes container and managed through GitOps. ngrok includes Kubernetes ingress as well as tunnels and other gateways; Airlock focuses on protection and identity-aware access within Kubernetes and offers a free plan.
Trade-off: Airlock gives up ngrok's local tunnels, non-Kubernetes platforms and wider protocol and gateway coverage. Suits: Kubernetes teams managing API protection and identity-aware access through GitOps.
EG
Envoy Gateway manages Envoy through the Kubernetes Gateway APIAPIOpenFreeEnvoy Gateway operates Envoy Proxy as either a standalone or Kubernetes application gateway. Gateway API resources configure its proxies, with listed controls for rate limits, retries, circuit breaking, timeouts and failover. ngrok offers comparable controls through Traffic Policy together with tunnels and a public edge; Envoy Gateway is a free, open-source project focused on managing Envoy.
Trade-off: It lacks ngrok's public tunnel service, webhook checks, AI gateway and hosted support options. Suits: Kubernetes or platform teams standardizing proxy configuration with Gateway API.
More near it on Reverse Proxy Software
- 4 AT
Apache Traffic Servertrafficserver.apache.orgApache Traffic Server is a fast, scalable and extensible HTTP/1.1 and HTTP/2 caching proxy.
- 6 FFabiogithub.com
Fabio is an HTTP and TCP reverse proxy that configures itself with data from Consul.
- 3 HCHAProxy Community Editionhaproxy.org
HAProxy is free, high-performance software for reverse proxying, high availability, and load balancing TCP and HTTP applications.
- 7 Ffreenginxfreenginx.org
freenginx is an effort to preserve free and open development of nginx, an HTTP and reverse proxy server, mail proxy server, and generic TCP/UDP proxy server.
- 8 ZZoraxyzoraxy.aroz.org
Zoraxy is an HTTP reverse proxy and forwarding tool with a web UI for managing self-hosted services.
- 10 PPageKitepagekite.net
PageKite connects a localhost server to the public Internet through global front-end relays, acting as a dynamic tunneled reverse proxy.
- 11 Ffrpgofrp.org
frp is a high-performance reverse proxy for exposing intranet services to the public network through nodes with public IP addresses.
- 12 S
Skipperopensource.zalando.comSkipper is an HTTP router and reverse proxy for service composition, including Kubernetes Ingress use cases.
- 13 R
Reproxyreproxy.ioReproxy is an HTTP(S) edge server and reverse proxy that routes requests to destination servers using configured providers.
- 14 N
NGINXnginx.orgNGINX is an HTTP web server, reverse proxy, content cache, load balancer, TCP/UDP proxy server, and mail proxy server.
- 15 C
Caddycaddyserver.comCaddy is an extensible server platform commonly used as a web server or proxy.
- 16 LLocalXposelocalxpose.io
LocalXpose is a reverse proxy that exposes localhost services to the public internet through secure tunnels.
- 17 SPSoli Proxyproxy.solisoft.net
Soli Proxy is an HTTP/2 reverse proxy server built with Rust and Hyper 1.0.
- 18 PPoundgithub.com
Pound is a reverse proxy, load balancer, and HTTPS front-end for web servers.
- 19 SZ
Sōzusozu.ioSōzu is an open-source TCP and HTTP reverse proxy built in Rust for demanding, dynamic web infrastructures.
- 20 NP
Nginx Proxy Managernginxproxymanager.comNginx Proxy Manager is a Docker image for managing proxy hosts and forwarding web services running at home or elsewhere.
- 21 VC
Varnish Cachevarnish.orgVarnish Cache is a reverse caching proxy that serves cached responses from memory and proxies other requests to origin servers.
Questions
Which alternative is closest to ngrok's local tunnel?
For a focused match, Openport exposes a local TCP port online through a secure tunnel without opening firewall ports. ngrok handles a wider range of protocols and gateway jobs.
Are there free and open-source ngrok alternatives?
Yes. BFE, Traefik, Higress, Pomerium, Apache Traffic Server, agentgateway, BunkerWeb and Envoy Gateway list free plans and open-source licenses or projects.
Which option works without a VPN client?
Using an identity-aware proxy, Pomerium offers clientless connections to internal applications, servers, services and workloads.
Can these tools handle AI model traffic?
Higress manages LLM APIs, AI agents and MCP servers. agentgateway handles LLM, MCP and agent traffic and exposes an OpenAI-compatible API.
Which alternatives are designed for Kubernetes?
Airlock Microgateway is installed as a Kubernetes container; Traefik and Envoy Gateway handle ingress or gateway management for services and APIs.