ngrok
Tunnels to expose a local application on the Internet, API gateway and Kubernetes ingress. Free plan limited to 3 endpoints; Hobbyist at $10 a month.
Exposing a local service is a reverse tunnel: a small server on your VPS and a client on your machine do the same job, with your own domain and no limit. frp (free software) or a plain SSH tunnel already do it. What you lose: the comfortable request inspector and ready-made domains. For development use, it is one of the easiest replacements.
What you lose
- The request inspector to debug webhooks
- Ready-made domains
- The API gateway and access controls
- No server to maintain
Existing alternatives to ngrok
- frpOpen source
Fast reverse proxy (Apache-2.0) to expose a local service behind a NAT or firewall.
Apache-2.0 licence · version v0.72.0 of November 4, 2026 · ★ 110,687 GitHub stars (as of November 20, 2026)
- cloudflaredOpen source
Tunnel to your local machine (Apache-2.0), using Cloudflare's free service.
Apache-2.0 licence · version 2026.11.1 of November 17, 2026 · ★ 16,672 GitHub stars (as of November 20, 2026)
- ratholeOpen source
Lightweight, fast reverse tunnel (Apache-2.0) to host on a small server.
Apache-2.0 licence · version v0.5.0 of October 1, 2023 · ★ 14,479 GitHub stars (as of November 20, 2026)
What a home-built tool costs once it exists
- Hosting and database: a server cost, and automatic backups you actually test.
- Security and GDPR: dependency updates, an HTTPS certificate, protection of your customers’ data.
- Upkeep time: who fixes the tool on a Saturday night in the middle of service if the server goes down?
The prompt to build it yourself
Set up a self-hosted tunnel to expose my local applications, to replace ngrok. Do not develop a tunnel: deploy frp (frps server on my VPS, frpc client on my machine). To do: - frps on my VPS behind Caddy, with an authentication token in .env, a wildcard *.dev.mydomain subdomain and automatic HTTPS. - A frpc.toml file with an example per service (port 3000 → app.dev.mydomain) and an `expose <port> <name>` script that opens it in one command. - A small request inspector on localhost (Node): list of received requests with headers and body, button to replay a request, useful for webhooks. - Rate limit and optional allowed-address list, tunnels closed by default when I am not working. - Connection log. Out of scope: API gateway, Kubernetes ingress, visitor authentication. README: server installation, wildcard DNS, using the script, and a reminder that anything exposed is public.
Frequently asked questions
- How much does ngrok cost, and what do you really pay for?
- Listed price: free (paid plans from €9.13/month, converted from $10, rate of Nov 27, 2026). What the subscription covers and is hard to maintain yourself: The request inspector to debug webhooks; Ready-made domains; The API gateway and access controls; No server to maintain.
- What free or open-source alternatives to ngrok exist?
- frp (open source), cloudflared (open source), rathole (open source). Options to compare before committing to a custom build.
- Where do you start to build an equivalent of ngrok?
- Copy this page’s prompt into Claude, Codex or Cursor to get a first prototype. Then plan for hosting, data backups and GDPR compliance: that is what costs the most to maintain over time.
How are our verdicts established? Read our detailed methodology ↗
Community feedback
Readers tell what they built instead of this tool, or what broke along the way. Every entry is reviewed before publication.
No feedback published yet. Have you tried replacing this tool? Tell us about it.
Share your feedback
More like this
Are you the publisher of ngrok? Badge for your site
Badge for your website
Display the casevibecode verdict on your website or documentation.
<a href="https://casevibecode.fr/en/logiciel/ngrok" target="_blank" rel="noopener noreferrer"><img src="https://casevibecode.fr/api/badge/ngrok?lang=en" alt="casevibecode verdict: Replaceable" /></a>