ngrok vs Tunnex for webhooks: a tunnel per developer, or one inbox for the team
ngrok is the tool most developers reach for when a provider needs to call localhost, and for many jobs it is
the right one. This page looks at a narrower question — webhooks in a team of several developers — and compares
ngrok with Tunnex there, where each fits better, and how to run both. ngrok facts are from
ngrok's documentation as of 2026-10-14 and are
linked where they appear; the same comparison, with every source, is the
table on the home page.
What ngrok does well
ngrok is a mature tunnel service with a global gateway and traffic policies: authentication, IP
restrictions, header rewrites and more, enforced before a request reaches your machine. Its
verify-webhook action checks provider
signatures at the edge for dozens of providers, many more than Tunnex's six. It has an inspector for the traffic
that went through a tunnel, and it is a product you can also put in front of production services. If you are
one developer who needs a public URL for a local app, ngrok is a good answer and you can stop reading here.
A webhook URL is shared; a tunnel is personal
The trouble starts with the second developer. A provider sends each webhook to one URL per endpoint — Stripe allows 16 endpoints per account, a Telegram bot has exactly one webhook, a GitHub App one webhook URL. With a tunnel per developer, each person either registers their own endpoint (and edits it whenever their URL changes) or takes the shared one away from the others.
Endpoint pooling balances load; it does not copy
ngrok can let several agents share one URL with endpoint pooling. It is designed for load balancing: traffic to a pooled URL is "balanced in a random distribution among those endpoints", per request for HTTP, and a failed request is not retried on another endpoint. With three developers in a pool, each one receives roughly a third of the webhooks — useful for scaling a service, not for three people who each need every event.
A webhook inbox does the opposite: fan-out. Every listener whose filters match gets its own copy.
A tunnel does not keep events
A tunnel forwards a request while the agent is connected. When a laptop is asleep, the provider's delivery fails and the provider's own retry schedule decides whether you ever see the event — GitHub does not redeliver automatically, and Stripe retries sandbox events three times within a few hours. ngrok's traffic inspector shows recent requests (24 hours of retention on the free plan), but it is not a store that delivers missed events later.
An inbox stores every event before it answers the provider, and keeps a cursor per listener on the server: whatever arrived while you were away is delivered, in order, when you reconnect.
Replays and timestamped signatures
Stripe, Slack and Standard Webhooks sign a timestamp, and Stripe's libraries reject signatures older than five minutes by default. Any tool that replays a captured request with its original headers hits that window. Tunnex re-signs Stripe, Slack and Standard Webhooks events older than two and a half minutes with the inbox secret before delivering a replay or a catch-up, so your handler's normal verification passes days later.
Side by side, for team webhooks
As of 2026-10-14; ngrok cells from the sources linked above and in ADR 0001.
| ngrok | Tunnex | |
|---|---|---|
| Built for | Tunnels and an API gateway | A team webhook inbox, with tunnels |
| One provider URL for the whole team | Pooling, which load-balances | Yes, an inbox per provider |
| A copy for every developer | No | Yes, per listener, with filters |
| Events kept for later | No; an inspector of recent traffic | Yes, 1–30 days on tunnex.org |
| Catch-up after being offline | No | Yes, from a server-side cursor |
| Signature check at the edge | Yes, many providers | Six schemes |
| Replay passes a timestamped signature check | Not documented | Yes, re-signed |
| Self-hosted | No | Yes, MIT |
| Maturity | Established service | Young project; one server node by design |
Where each fits
Choose ngrok for a public URL to a local app, for demos and previews, for OAuth callbacks on one machine, for traffic policies on production endpoints, and whenever you need a global, managed edge.
Choose a Tunnex inbox when several developers, a staging service or CI jobs need the same provider's webhooks; when an event must not be lost because a laptop slept; when you replay real events against your handler; or when payloads must stay on your own server.
Using both
They do not get in each other's way. Point the provider at an inbox once:
pip install tunnex && tunnex login
tunnex inboxes create acme-stripe --provider stripe --secret whsec_...
Every developer runs a listener next to whatever else they use:
tunnex listen acme-stripe --forward 3000
tunnex listen makes an outgoing connection and delivers to localhost:3000; it needs no public URL of its
own, so your ngrok tunnel to the same app keeps serving demos and OAuth callbacks. Filters keep each listener
to the events it handles, for example --filter json.type=checkout.session.completed.
Tunnex also has HTTP and TCP tunnels (tunnex http 3000, with basic auth, API keys, IP and path allowlists and
rate limits at the edge). If you want a single tool, they cover the common development cases; ngrok's tunnel
offering is broader and more mature.
What Tunnex asks of you
Tunnex is young. A self-hosted server needs wildcard DNS and a wildcard TLS certificate in front of it, and it runs as one process by design, which suits a team's webhook traffic rather than a high-volume gateway. Inboxes store payloads, which makes retention and backups your responsibility — the self-hosting guide covers both. The inbox guide has every option used on this page.