Sooner or later, something running on localhost needs a public URL. It might be a Stripe webhook, a client demo, a game server for friends, or a coding agent that needs a real endpoint to validate its output. A tunnel is the fastest way to get there, and the tool you choose changes what it costs, what protocols it carries, and how much control you keep.
ngrok is still the default choice for many developers, but its limits are pushing people to look elsewhere. The free plan stops at 1GB of transfer and 20k HTTP requests, and it shows visitors an interstitial page. The $8 to $10 Hobbyist plan includes 5GB, and when the $10 monthly usage credit runs out, endpoints stop until the next billing cycle. There is no UDP support at all, and no apex domain support.
This post compares 10 ngrok alternatives on setup, price, protocols, and limits, then covers 5 open source tools you can run yourself. Prices, versions, and star counts were checked on November 18, 2026. The goal is to help you decide which tunneling approach fits local development, production ingress, game hosting, or AI agent workflows.
How localhost tunnels work
A localhost tunnel creates a long-lived outbound connection from your machine to a public relay server. The relay gives you a public URL and forwards any request it receives to your local service over that existing connection. This avoids opening inbound ports on your router, changing firewall rules, or setting up port forwarding. It also means your local machine does not need a public IP address.
The connection can be initiated in different ways. SSH-based tools use the remote forwarding feature of the SSH protocol. You ask your SSH client to bind a port on the remote server and forward everything sent there back to a port on your machine. Services such as Pinggy and localhost.run use this model. Other tools run a custom agent that speaks a proprietary protocol. cloudflared, ngrok, LocalXpose, Playit.gg, and LocalCan all work this way. The custom agent usually gives the provider more control over inspection, replay, authentication, and protocol handling.
For TCP and UDP, the relay has to understand the packets well enough to forward them without modifying the stream. For HTTP, the relay can inspect headers, rewrite URLs, inject authentication, and enforce rate limits. That is why HTTP tunnels often have debugging features and TCP tunnels do not.
Ngrok alternatives at a glance
The table below summarizes the main options. Keep in mind that free tiers change often, and pricing pages tend to evolve faster than blog posts.
| Tool | Install needed | Free tier | Cheapest paid plan | UDP | Custom domains |
|---|---|---|---|---|---|
| ngrok | Agent, SSH needs an account and key | 1GB, 20k requests, interstitial | $8/month yearly, $10 monthly | No | Pay-as-you-go only, no apex |
| Pinggy | None for HTTP/TCP/TLS, CLI for UDP | 60-minute tunnels | $2.50/month yearly, $3 monthly | Yes | Yes, including apex |
| Cloudflare Quick Tunnels | cloudflared | Free, no account | Free, named tunnels too | No | Named tunnels only |
| Tailscale Funnel | Tailscale client | Personal, up to 6 users | $8/seat/month | No | No, ts.net names |
| zrok | zrok2 client | 5GB per day | Self-host or NetFoundry | Private shares only | Self-hosted or via NetFoundry |
| Localtunnel | npm package | Free only | None | No | No |
| LocalXpose | Client | 2 HTTP(S) tunnels | $8/month billed yearly | Paid | Paid |
| Playit.gg | Client | 4 ports | $3/month | Yes | Paid, external domains |
| localhost.run | None, SSH | Rotating domain, speed-limited | $9/month billed yearly | No | Paid |
| Inlets | Client plus exit server or Inlets Cloud | None | $25/month | Yes | Yes |
| LocalCan | Desktop app or CLI | 1 URL, 60-minute sessions, 1GB | $10/month, $8 yearly | No | Paid |
What to look for in a tunnel tool
When you evaluate these tools, keep a few criteria in mind. Setup matters if you want a throwaway URL in seconds. Protocol support matters if you need UDP or arbitrary TCP. Pricing matters if your traffic crosses free limits. Stability matters if you need the same hostname across restarts. And AI integration matters if you are building agentic workflows.
Security considerations when exposing localhost
Opening a public URL to a local service is an act of trust. The tunnel provider sits in the middle and can see unencrypted traffic unless your local service uses its own TLS certificate or the tool offers end-to-end encryption. SSH-based tunnels encrypt the transport between your machine and the relay. The relay then terminates TLS for the public side. That means the relay can inspect HTTP requests unless you add extra protection.
Use authentication before exposing anything sensitive. Pinggy supports basic auth, bearer key auth, and IP whitelisting. ngrok supports OAuth, OIDC, SAML, JWT validation, and mutual TLS on paid plans. LocalXpose includes rate limiting and key auth on every plan. The trick is to assume the Internet will find the URL quickly. Random subdomains are not a security boundary.
Keep the tunnel process scoped to the local port that needs to be shared. Do not expose your entire machine by forwarding all ports. Run the service in a container or a separate user account. If the tunnel has a permission system, use the least privilege you can. If you are using SSH-based tunnels, use a dedicated SSH key that only grants remote forwarding, not shell access.
AI agent support
Any agent with terminal access can run a tunnel CLI, but official agent tooling makes the integration much cleaner. Since September, this space has moved fast. MCP stands for Model Context Protocol, a standard way for AI agents to call external tools. An MCP server for a tunnel provider means the agent does not have to guess the right CLI flags, and agents can now recieve product-specific instructions instead of parsing generic shell output.
Pinggy ships both halves: an Agent Skill that teaches an agent Pinggy's commands, flags, tunnel types, and SDKs, and an MCP server that lets Claude Code, Claude Desktop, Cursor, VS Code, and Windsurf create, inspect, and stop tunnels through tool calls. The MCP server is still labelled early and experimental. Setup is covered in Pinggy's AI Agents guide.
ngrok now has both halves too. Its ngrok/skills repo holds nine Agent Skills, including expose-localhost, secure-endpoint, receive-webhooks, and run-mcp-gateway. Install them with the command below, or as a plugin in Claude Code, Cursor, Codex, or ChatGPT. On November 16, ngrok launched a hosted MCP server at mcp.ngrok.com, available on every plan including free. It can read and change your ngrok account: reserve domains, create cloud endpoints and IP policies, and search the docs. It cannot start an agent tunnel, though, so the ngrok CLI still has to run on your machine. Pinggy's MCP server opens and closes the tunnel itself.
npx skills add https://pinggy.io
npx skills add ngrok/skills
Cloudflare has the broadest tooling: Agent Skills including cloudflare-one, an MCP server that covers its whole API plus product-specific ones, setup guides for 12 coding agents, and cloudflared --output json so an agent can read the tunnel hostname from structured output. It is all account-centric, while a quick tunnel has no account behind it.
The rest is thinner. Tailscale has an alpha Agent Skill for reference material, plus two alpha built-in connectors in its Aperture AI gateway. LocalCan ships an MCP server with 26 tools that works with its desktop app or CLI daemon, with write access off by default. Inlets has an official agent-skills repo with six skills. localhost.run has an Agent Skill too, but no MCP server. LocalXpose, Localtunnel, zrok, and Playit.gg have no official skill or MCP server.
Overview of ngrok
ngrok provides tunnels for ingress through its programmable network edge, with HTTP(S), TCP, and TLS endpoints. Its strengths are depth: request inspection and replay, webhook verification, traffic policies, endpoint pooling, global load balancing, a Kubernetes operator, and visitor authentication with Basic Auth, OAuth, OIDC, SAML, JWT validation, and mutual TLS. For teams running production ingress, that depth is the main advantage.
The cons are the ones in the intro. You need an account, and either the ngrok agent or an SSH reverse tunnel that only works once you have uploaded an SSH key. There is no UDP, no apex domains, and free visitors see an interstitial page.
Pricing is credit-based. Free includes 3 online endpoints, 1GB of transfer, 20k HTTP requests, and a $5 one-time credit that lasts a year and cannot be spent on data transfer. Hobbyist is $10/month, or $8/month billed yearly. It includes 5GB and 100k requests, and anything beyond that is paid from $10 of monthly credit. When the credit is gone, usage stops. Pay-as-you-go is $20/month with $20 of credit, unlimited endpoints, bring-your-own and wildcard domains, and overage billed at $0.10/GB and $1 per 100k requests. Watch the hourly meters: endpoints outside the free dev domain cost $0.02 per active hour, and a custom domain adds $0.01 for every hour it gets traffic.
1. Pinggy
Pinggy starts a tunnel with a single SSH command and nothing to install. One command gives anyone access to an app on your localhost, without cloud setup, port forwarding, DNS, or a VPN. To share a React app on localhost:3000, run:
ssh -p 443 -R0:localhost:3000 free.pinggy.io
Three differences from ngrok matter most. Bandwidth is unlimited, with no monthly transfer cap or per-GB overage. Apex domains work, so example.com itself can point at a tunnel, set up through a relay with a TXT verification record plus A and AAAA records pointing at a Pinggy relay. UDP tunnels exist, for game servers, DNS, and WireGuard. Those need the Pinggy CLI, still in beta, because the SSH command cannot carry UDP.
The free tier needs no sign-up, and tunnels run for 60 minutes. It includes HTTP(S), TCP, TLS, and UDP tunnels, unlimited transfer, header modification, and request inspection and replay in a web debugger. The terminal UI shows a QR code for the URL and live requests. Visitors on a browser see a one-time screening page on free tunnels, as with ngrok's interstitial, but API clients and curl go straight through. Access control covers basic auth, bearer key auth, and IP whitelisting. There are Node.js and Python SDKs for driving tunnels from code. It runs on macOS, Windows, Linux, and Docker.
Pro is $3/month, or $2.50/month billed yearly. It adds persistent subdomains, custom and wildcard domains, persistent TCP and UDP ports, teams, and remote terminal access to up to 25 devices. The free tier includes one device. Pro also removes the screening page. The gaps against ngrok are visitor OAuth and global edge load balancing, which Pinggy does not offer.
Comparing ngrok and Pinggy
| Feature | Pinggy | ngrok |
|---|---|---|
| Entry paid plan | Pro: $3/month, or $2.50/month billed yearly | Hobbyist: $10/month, or $8/month billed yearly |
| Bandwidth on the entry plan | Unlimited | 5GB included; more only from the $10 monthly credit, then endpoints stop |
| UDP tunnels | Yes, with the Pinggy CLI | No |
| Custom domains | Subdomains and apex domains on Pro | Pay-as-you-go only, $0.01 per active hour; no apex domains |
| Start without sign-up | Yes | No |
| MCP server | Starts, inspects and stops tunnels, experimental | Manages domains, cloud endpoints and policies; cannot start a tunnel |
| Remote terminal | Yes, remote terminals into your devices | No built-in remote terminal |
ngrok only hands you a CNAME target, and a CNAME record cannot sit at the root of a domain. Its custom domain docs suggest an ALIAS, ANAME, or flattened CNAME record instead, but that is your DNS provider resolving the name on ngrok's behalf, and it only works if your provider offers it. Pinggy gives you relay addresses for plain A and AAAA records.
2. Cloudflare Quick Tunnels
Cloudflare Quick Tunnels are the part of Cloudflare Tunnel that behaves like ngrok. Install the cloudflared daemon, run one command, and you get a random HTTPS URL on trycloudflare.com:
cloudflared tunnel --url http://localhost:8080
No account, no domain on Cloudflare, no DNS record, and no inbound port. cloudflared opens outbound-only connections to nearby Cloudflare data centers, and requests come back down it, with Cloudflare's DDoS protection along the way. Kill the process and the tunnel and its hostname are gone. Since October 2, adding --allowed-mail alice@example.com or '*@example.com' puts an email one-time PIN in front of the URL, still with no Cloudflare account on either side. That needs a recent cloudflared: the flag arrived in 2026.9.2, and the current release is 2026.11.1.
The production sibling is the named tunnel, documented under Cloudflare Tunnel. It gives you a stable hostname on your own domain and Access policies, at the cost of a Cloudflare account and a domain on Cloudflare, plus a YAML config file if you manage the tunnel locally.
The catches are worth knowing. The hostname changes on every run, so webhook configs break on restart. The Quick Tunnels docs list 200 in-flight requests before Cloudflare returns 429, no Server-Sent Events, and no uptime guarantee. A quick tunnel gives you an HTTPS URL. For TCP you need a named tunnel, with the other machine running cloudflared access tcp, and UDP needs Cloudflare's private networking plus the Cloudflare One client.
Quick tunnels and named tunnels are both free. Account limits are 1,000 tunnels, 50,000 routes, and 500 Access applications, and platforms that need more tunnels can buy them at $4.50 each per month. Request bodies are capped at Cloudflare's usual 100MB on the Free and Pro plans, and 200MB on Business.
3. Tailscale
Tailscale is a mesh VPN built on WireGuard rather than a tunnel service. Devices connect directly where NAT allows and fall back to Tailscale's DERP relays where it does not. It becomes an ngrok alternative through Tailscale Funnel, which routes public internet traffic to a service on one of your nodes. Funnel is still in beta, only listens on ports 443, 8443, and 10000, and only serves ts.net names, so there is no custom domain.
Tailscale is excellent when you want a private network across your machines, with MagicDNS and grants-based access control. As a public URL tool it is indirect: the machine serving the app has to join a tailnet and run the Tailscale client with HTTPS certificates and Funnel enabled. Visitors need nothing. Funnel's three fixed ports also rule out arbitrary TCP ports, and it does not carry UDP.
The free Personal plan covers up to 6 users with unlimited user devices and 50 tagged resources. Since Tailscale's April 2026 pricing change, Standard is $8 per seat per month, Premium stays at $18, now per seat, and you pay for every purchased seat, used or not. Enterprise is custom-priced.
4. zrok
zrok is an open source Apache 2.0 sharing tool built on OpenZiti, a zero trust overlay network. It handles public shares for web traffic and private shares that only another zrok user can reach. You can use NetFoundry's managed service or self-host the whole thing.
Version 2.0 was a breaking release: the binary is now zrok2, namespaces and reserved names replaced the old reservation system, and there is a new dynamicProxy frontend. The latest release is v2.0.10, which added basic auth credentials from a file or stdin. The v1 line last got a fix on September 28. Share backends are proxy, web, caddy, drive for WebDAV, tcpTunnel, udpTunnel, and socks. Public shares only accept the HTTP-style backends, though, so TCP and UDP shares are private: the other side has to run zrok2 access private.
The managed free tier is $0 with 5GB per day, 25 environments, 50 share backends, and 50 private access frontends, plus an interstitial page until you add a credit card. Commercial plans go through NetFoundry. The hosted service has been unreliable lately: a forum thread about 500 errors opened on September 25 is still marked as investigating, and users reported 403, 409, and 401 failures through mid-November. zrok fits teams that care about zero trust and ownership, and self-hosting sidesteps the hosted service's problems, but setup is heavier than a managed tunnel, and v2 broke older tutorials.
5. Localtunnel
Localtunnel is an npm package that gives you a random loca.lt HTTPS URL, and it can be used as a library in Node.js apps. It is free and has no account or paid tier.
It survives on distribution. The localtunnel package still pulls about 3 million npm downloads a month, although @ngrok/ngrok has now passed it at 3.18 million. Maintenance is another story. The last release, 2.0.2, shipped in September 2021, and the last code change landed in August 2022. There are about 150 open issues, with outage reports as recent as September 2026, and 2.0.2 still pins axios 0.21.4, which is affected by several high-severity advisories, including an SSRF bug that was only fixed in 0.30.0. Browser visitors also hit a reminder page asking for a tunnel password, which is the tunneller's public IP. Use it for throwaway tests, not anything that needs to stay up. It only does HTTP(S): no TCP, TLS, or custom domains.
6. LocalXpose
LocalXpose is one of the most complete clients here: HTTP(S), TCP, TLS, and UDP tunnels, a built-in file server, request logging with replay, and a desktop GUI next to the CLI. It runs on Windows, macOS, Linux, FreeBSD, and Docker.
Every plan, including the free one, gets the file server, header editing, basic and key auth, rate limiting, and IP whitelisting. The free Starter tier is thin, though: two HTTP(S) tunnels, time limits, and an interstitial page. PRO is $8/month billed yearly and unlocks 10 tunnels, TCP, TLS, and UDP, custom and wildcard domains, and reserved subdomains. There is no visitor OAuth, and you always need its client installed.
7. Playit.gg
Playit.gg is built for game servers, and it is one of the easiest ways to put a Minecraft, Palworld, Terraria, Factorio, or Valheim server online. The agent is open source under BSD-2-Clause and runs on Windows, Linux, and Docker. Since version 2.0 in November it has a cross-platform GUI and macOS builds, unsigned for now. Version 1.2.0 added Minecraft Bedrock support through Geyser and WaterdogPE.
The free tier gives you 4 ports in total, with game presets plus generic UDP. Premium is $3/month and adds TCP, TCP+UDP, SSH, and HTTPS tunnels, 16 ports, more agents, region selection, three .playit.plus domains, and external domains. It is not built for webhook testing or traffic inspection, but for game hosting it is hard to beat.
8. localhost.run
localhost.run is the other SSH-only option, with no client to install:
ssh -R 80:localhost:8080 localhost.run
It is deliberately minimal, with no inspection, auth, or tunnel management. On the free tier the domain changes every few hours and traffic is speed-limited, which the project frames as an anti-phishing measure. The Custom Domain plan is $9/month billed yearly, and it gives you your own domain or a stable lhr.rocks subdomain with no speed limit, plus wildcard subdomains, TLS passthrough, TCP over TLS, and up to 5 tunnels at once.
9. Inlets
Inlets is a commercial tunnel for teams that want control: you run the exit server yourself, or use the managed Inlets Cloud that is included with a subscription. It carries HTTP(S), WebSockets, gRPC, and TCP, and UDP on TCP tunnels since 0.11.13. The latest release is 0.12.2, which shipped patches for the eMudhra CA key compromise.
It integrates well with Kubernetes through the inlets-operator, exposes Prometheus metrics, and offers OAuth for HTTP tunnels. There is no free tier: Personal is $25/month for one person, non-commercial, with 5 tunnels. Commercial starts at $50/month for 2 tunnels plus $25 for each extra. Uplink for service providers starts at $250/month.
10. LocalCan
LocalCan is a desktop-first tool: a macOS and Windows app for public URLs and .local HTTPS domains on your network, plus a CLI that runs on Linux and servers. It suits demos, OAuth callbacks, and testing across devices on Wi-Fi. The free tier gives you 1 live public URL once you sign up, 60-minute sessions, 1GB a month, unlimited .local domains, and the MCP server. Paid public URLs carry HTTPS and TCP. Solo is $10/month or $96/year, Pro is $16/month or $144/year, and Teams is $15 per seat with a 3-seat minimum. A limited-offer Lifetime license costs $99 once for 1 device, 5 URLs, 2 custom domains, and a year of app updates. There is no zero-install SSH path.
New entrants worth watching
A few newer tools have picked up traction, though none has the track record yet to join the top 10.
Localtonet bills per tunnel, by the hour, from a prepaid balance. The free tier gives you 1 tunnel of any type and 1GB per 30 days. HTTP, file server, and MCP gateway tunnels have no time limit, while TCP, UDP, TLS, and proxy tunnels stop after 30 minutes per start. Pay-as-you-go works out to about $2/month per tunnel, with unlimited bandwidth, no timeout, custom domains and reserved ports, IP allow and deny lists, and SSO. Its tunnel types include dedicated UDP and mixed UDP/TCP, and HTTP and TCP tunnels can also be opened over plain SSH with nothing installed.
InstaTunnel has a generous free tier: 3 tunnels, 24-hour sessions, custom subdomains, and basic analytics, within 2GB a month and 2,000 requests a day. Pro is $5/month for 10 tunnels and 25GB, and adds password protection, custom domains, and MCP endpoint tunnels in beta. Business is $15/month for 25 tunnels and 75GB, and is set up through their team rather than self-serve.
21tunnel is built around AI coding agents, with scoped child API keys that you can revoke in one cascade. Its pricing page now says everything is free with no paid tier, though its homepage still shows the old paid plans, and it calls itself MVP-stage. The roundup that ranks it first is published on 21tunnel's own blog.
Tunnelto started as an open source Rust tunnel you could host yourself, and its original repo still has about 7,100 stars. On November 1, 2026 that repo was cut down to a single README saying the code has been retired, so there is no server left to self-host. What remains is the hosted service, rebuilt on a new engine: a tunn CLI, URLs on tunn.dev, a local request inspector, an Agent Skill, and a hosted MCP server. The free tier is a 10-minute trial, and Pro Teams is $4 per user per month for up to 5 active tunnels and 20 reserved subdomains.
Kiri is not a tunnel tool, but it has one built in. It is a Rust container runtime launched in November as a Docker Desktop alternative, and kiri share 3000 gives you an HTTPS URL on runkiri.cloud with a live request list and reserved names, after a GitHub sign-in. Sharing is free during the beta; the docs mention plan limits and a speed limit, but there is no pricing page yet.
Top 5 open source ngrok alternatives
If you would rather run the server yourself, these five give you more ownership than any managed tunnel, at the cost of setup and maintenance. Star counts are from November 18, 2026. Two well-known tools did not make the cut. bore is still a tidy TCP forwarder, but its last release was v0.6.0 in June 2025 and it has not had a commit since February 2026. sshuttle 2.0.0 is a good VPN over SSH, but it is built for reaching into private networks, not for giving localhost a public URL.
1. frp
frp is the most popular tool in this article at about 110k stars, and it is actively maintained. It proxies TCP, UDP, HTTP, and HTTPS, with transports including QUIC and WebSocket, plus custom domains, token auth, compression, encryption, and load balancing. The cost is that you configure and run the server side yourself. This is customisation that usually demands a deeper configuraton than a managed tunnel, but it also gives you total control over ports, logging, and transfer policies.
2. sish
sish is the closest open source match to the SSH-only tools in the top 10: a tunnel server you host yourself, which clients reach with plain ssh and nothing to install. Once your instance is up, sharing a local app looks like this:
ssh -p 2222 -R 80:localhost:8080 example.com
It handles HTTP(S) and WebSocket tunnels on subdomains, TCP ports, TCP aliases that only authenticated SSH users can reach, and SNI routing that passes TLS through without terminating it. It is MIT-licensed with about 4.8k stars. Version 4.0.0 added JSON logs and connection reuse in the HTTP muxer, and 4.1.0 was a security release that hardened tunnel binding and routing. If you would rather not run it, the README points to tuns.sh as a managed option.
3. chisel
chisel tunnels TCP and UDP over HTTP, secured with SSH, from a single small binary. It can act as a SOCKS5 proxy, and UDP remotes are written like 1.1.1.1:53/udp. A v1.13.0 pre-release adds UDP over SOCKS5. It forwards ports rather than handing you a public HTTPS URL, and you run your own chisel server.
4. Pangolin
Pangolin is one of the most active projects in this space, with about 24k stars and frequent releases. It started as a self-hosted answer to Cloudflare Tunnel and now describes itself as an open source platform, built on WireGuard, for secure access to apps, infrastructure, and AI. In practice that is a tunneled reverse proxy with identity-aware access, SSO, and a dashboard, plus a newer AI gateway. Self-hosting needs a Linux server with a public IP and a domain, with TCP ports 80 and 443 and UDP ports 51820 and 21820 open, and there is a managed Pangolin Cloud too. The Community Edition is AGPL-3, and the Enterprise Edition uses a commercial license that is free for companies under $100K in revenue.
5. OpenZiti
OpenZiti is the programmable zero trust overlay network underneath zrok. It shares resources without exposing public endpoints and is highly customizable, and NetFoundry publishes a Ziti MCP server for managing Ziti networks. The tradeoff is complexity: it is a lot of machinery if all you need is to share localhost.
Choosing the right tunnel
Start with the shape of the job. If you only need a throwaway HTTPS URL for a webhook test and do not want to install anything, use an SSH-based tunnel such as Pinggy or localhost.run. If you already have cloudflared installed or you want Cloudflare's edge protection, Quick Tunnels are hard to beat. If you need game server support with UDP, Playit.gg or Pinggy are good starting points. If you want a GUI and deep protocol support, LocalXpose is worth the client installation. If you need to control the server side, go with frp, sish, chisel, Pangolin, or OpenZiti.
For webhook testing
Webhooks need a stable, publicly reachable HTTPS URL for the lifetime of the test. If the URL changes every time the tunnel restarts, you have to update the provider dashboard each time. A free tunnel with a 60-minute lifetime can still be useful for quick tests, but a paid plan with a persistent subdomain is much less frustrating. Pinggy Pro, ngrok Hobbyist, LocalXpose PRO, and Inlets all give you persistent URLs. Cloudflare Quick Tunnels do not, unless you switch to a named tunnel.
For game servers
Game traffic is mostly UDP, and game ports are often fixed. Playit.gg is designed for this use case and has presets for popular games. Pinggy supports UDP through its CLI and persistent UDP ports on Pro. LocalXpose also supports UDP. zrok has UDP but only for private shares, which means the other player needs a zrok client. chisel and frp support UDP if you self-host.
For AI agents
If you want an agent to expose a local service, look for an official Agent Skill or MCP server. Pinggy, ngrok, Cloudflare, LocalCan, Inlets, and localhost.run all have some level of support. Pinggy's MCP server can start and stop tunnels directly, which is the most useful for agentic workflows. ngrok's MCP server manages account resources but still needs the CLI to start a tunnel. Cloudflare's skills are account-centric and work best with named tunnels.
For production ingress
ngrok remains strong for production because of its traffic policies, OAuth, global load balancing, and Kubernetes operator. Inlets is also designed for controlled production use with server-side ownership. If you want a self-hosted production path, frp and Pangolin are good choices. Cloudflare Tunnel with named tunnels is another robust option, especially if you already use Cloudflare for DNS and edge security.
Frequently asked questions
What is an MCP server and why does it matter for tunnels?
MCP stands for Model Context Protocol, and it gives an AI agent a standard way to call external tools. For tunnels, an MCP server means the agent can start, inspect, and stop tunnels without being told the right shell incantation. Pinggy's MCP server opens and closes tunnels directly. ngrok's MCP server manages account-level resources but still needs the CLI to start a tunnel.
Can I use a custom domain with a free tunnel?
It depends. Cloudflare Quick Tunnels do not support custom domains without moving to a named tunnel. Pinggy reserves custom domains for the Pro plan. LocalXpose, localhost.run, Inlets, LocalCan, and several open source tools also tie custom domains to paid or self-hosted options. Plan for that if your webhook endpoint needs a stable hostname.
Why do some free tunnels show visitors an interstitial page?
Interstitial pages are a way for providers to warn visitors and reduce abuse. ngrok, Pinggy, zrok, and LocalXpose all show some kind of page on their free tiers. API clients and curl requests usually pass through, but browser-based demos can be distracting. Paid plans usually remove the page.
Which protocol should I choose for a game server?
UDP matters for most game traffic. Playit.gg is built for this and has presets for Minecraft, Palworld, Terraria, Factorio, and Valheim. Pinggy supports UDP through its CLI. LocalXpose and zrok also have UDP options. ngrok and Cloudflare Quick Tunnels do not.
When should I self-host instead of using a managed tunnel?
Choose self-hosting when you need full control over the ingress server, when your traffic volume or transfer size is too large for a free plan, when you want logs and metrics in your own monitoring stack, or when your compliance rules prohibit sending traffic through a third-party relay. frp, sish, chisel, Pangolin, and OpenZiti are the main options here.
Conclusion
Pick by the shape of teh job. For a one-command tunnel with nothing to install, use Pinggy or localhost.run. Cloudflare Quick Tunnels give you a free throwaway HTTPS URL once cloudflared is installed, and they can now be locked to an email domain. LocalXpose is the pick for a GUI with UDP, Playit.gg for game servers, and zrok, Pangolin, frp, or sish if you would rather self-host. If AI coding agents are part of your workflow, Pinggy and ngrok both ship an Agent Skill and an MCP server, but only Pinggy's MCP server can open and close the tunnel itself. Either way, ngrok's limits no longer have to be yours.



Top comments (1)
imo a persistent URL only fixes half the webhook testing problem. If your dev server's down when the sender fires, plenty of them retry once or twice and give up, and that delivery's gone. Try killing the local app mid-run and see if the delivery comes back after you restart. The store-and-forward side is why I built Webhook Relay, it queues the requests and lets you replay them once you're back up.