- Three kinds of tunnel, and the job each one suits
- Tunnels for webhooks, demos and local MCP servers
- Managed tunnel services: the upside, and what it costs you
- When the tunnel comes with your network
- Running your own relay: control against upkeep
- What drives the cost of a tunnel
- A one-hour test with a real webhook
- Habits that leave a tunnel open longer than you meant
For testing webhooks and showing work to clients, pick a managed tunnel with a stable URL, such as LocalCan, so the address survives a restart. When traffic must stay on servers you control, a self-hosted tunnel such as zrok or Inlets makes more sense.
A tunnel used to be a five-minute job: run one command, copy a random URL into a webhook setting, and throw it away by lunchtime. Now the same tool might front a client demo for a week, or let an AI agent reach an MCP server running on your laptop, and that changes what you should want from it. A random address that dies with your terminal is fine for the first job and a nuisance for the other two.
Three kinds of tunnel, and the job each one suits
Every tool below does the same basic trick: your machine opens an outbound connection to a server on the internet, and that server hands visitors a public address that forwards to your local port. The differences sit around that trick. Managed services run the relay for you and add accounts, dashboards and reserved addresses. Network tools fold tunnelling into a product you may already use for private networking or DNS. Open-source and self-hosted tunnels let you run the relay yourself, or use a public one with no signup at all.
Mapped to jobs, here's where I'd start. Webhooks and client demos: a managed service with a stable address, such as Pinggy. A quick URL with no signup: Tunnelmole, or localhost.run, which works over plain SSH. Already running Cloudflare or Tailscale: use the tunnel you've got. A relay that has to be yours: Inlets or zrok.
Some tunnels now speak to AI agents directly. LocalCan offers an MCP server for Claude Code, Codex and Cursor, and Expose publishes MCP and AI agent pages. If a tunnel is only ever going to carry SSH sessions, a good SSH client may be all you need instead.
Tunnels for webhooks, demos and local MCP servers
ngrok
Gives a local app a public URL, and has grown well past that into a wider gateway for APIs and AI models.
Cloudflare Tunnel
Connects a local service to Cloudflare through an outbound connector, so the machine never needs a publicly routable IP address.
Tailscale Funnel
A feature of Tailscale's network product, Funnel opens an encrypted tunnel from the internet to one chosen resource on your device.
Pinggy
One SSH command opens an HTTP, TCP, UDP or TLS tunnel, with no binary to download before you get a public URL.
Expose
Beyond Code's tunnel for sharing local sites and testing webhooks, open source and hosted, with pages for MCP and AI agents.
Tunnelmole
One npx command and no signup: an open-source tunnel whose client and server you can both run yourself if you'd rather.
LocalCan
A desktop app and CLI that keeps localhost on a stable public URL and adds local .local domains while you build.
zrok
Zero-trust, peer-to-peer tunnelling and ingress from NetFoundry, open source, offered as a hosted service or self-hosted.
PageKite
Running since 2010, this tunnelling service pairs a Python client with relays spread across four continents.
Inlets
For people who want full control: HTTP and TCP tunnels you host yourself or run through its managed cloud, with no rate limits.
Want AI doing the heavy lifting in your marketing?
I build the systems that handle the boring 80 percent, so you get your week back. Done properly, with the human kept in.
Managed tunnel services: the upside, and what it costs you
The upside is speed and polish. You sign up, install a client or paste an SSH command, and you've got a public URL in a minute. Look for a stable address in the plan you pick, so a webhook setting or a client's bookmark still works tomorrow. A random address is fine for a one-off test, but it means editing the webhook setting every time you restart, and that gets old by the third afternoon.
The downside is the free tier. Free plans carry limits worth reading: ngrok's caps online endpoints and data transfer, and Pinggy keeps a free persistent URL for seven days. Every request also passes through someone else's relay, which matters if the local app touches customer data. And when a service grows into a wider gateway product, the simple tunnel can end up as one feature in a bigger dashboard.
When the tunnel comes with your network
If your company already runs Cloudflare or Tailscale, the strongest argument for their tunnels is that there's nothing new to approve. You're extending a product your team has already signed off rather than adding a vendor. Cloudflare Tunnel, for one, connects your service to Cloudflare through an outbound connector, without needing a publicly routable IP address.
The limit is that these are network products first. Tailscale Funnel is a feature of Tailscale's network product, so you're adopting a network before you share a port, and that's heavier than you need for a quick look at a webhook payload. They shine for a service you'll expose for weeks; they're overkill for ten minutes.
Running your own relay: control against upkeep
Running the relay yourself means no third party sees the traffic, no vendor rate limit, and an address on your own domain that never changes. That's the trade I'd make for anything a client or a security review will ask about. Tunnelmole, for one, needs no signup to start, and because its client and server are both open source you can run the whole thing yourself later.
The cost is a server to keep alive, TLS certificates to renew and a public machine to patch. If the tunnel goes down while you're presenting, there's no support desk. For a relay you'll keep running, a small container on a host from our list of Docker hosting options is a tidy way to do it.
Do you make localhost tunnelling tools? Tool makers can ask to be considered for a featured place on this list.
What drives the cost of a tunnel
You can start for nothing with a free plan or an open-source tool. Paid plans charge for things that only matter once a tunnel stops being disposable: reserved domains, more simultaneous endpoints, more data transfer, team seats and access controls. With network tools the tunnel comes inside a wider product, so the bill follows that product's plans, which can be per user, while self-hosted tunnels move the bill to the server you run the relay on. Each vendor lists its tiers on its own pricing page, and the plan you need depends far more on how many stable addresses you want than on raw traffic.
A one-hour test with a real webhook
Set up a tiny local server that logs every request body, then pick a service that sends webhooks you can trigger on demand, such as a test payment or a form submission. Open a tunnel with your shortlisted tool, paste the public URL into the webhook setting and fire an event. Check three things: did the payload arrive intact, can you replay it from your own log, and does the URL survive restarting the tunnel?
Then restart your laptop and try again. If you had to update the webhook setting, you've learned whether you need a reserved address. To sharpen the debugging side, pair the tunnel with one of the API testing tools so you can replay payloads by hand.
Habits that leave a tunnel open longer than you meant
Tunnels go quiet in the background, and that's where the risk lives. A tunnel left running after a demo exposes a local app that was never built to face the internet: debug pages, admin routes with default passwords, a database console. Close it when you're done, or use a tool that lets you add authentication to the public URL. Don't paste secrets into a URL you've shared, don't point a production webhook at a laptop, and don't assume a random address is private just because nobody has guessed it yet.
Want your tool on this list? Featured spots and reviews here are paid partnerships. Here's how to partner with me.


