# ngrok vs Tailscale: a public URL or a private network?

November 18, 2026, The Expose team

Tailscale connects your own devices in a private network, so your laptop can reach your home server as if both were on the same Wi-Fi. ngrok gives one service on your machine a public URL that anyone on the internet can open, with nothing to install.

So they mostly don't compete. The overlap is **Tailscale Funnel**, the Tailscale feature that publishes one port of a machine on the public internet. That's where the real choice is.

| Your job | Use |
| --- | --- |
| Reach your home server, NAS or Raspberry Pi from your laptop or phone | Tailscale |
| Receive a Stripe, GitHub or Shopify webhook on localhost | A tunnel: ngrok or Expose. Funnel works, but you can't see or replay the requests. |
| Show a client a site that runs on your machine | A tunnel. The client installs nothing. |
| Run a game server or anything else over UDP | Tailscale |
| Let a coding agent read the requests that reached your app | A tunnel with an MCP server: ngrok or Expose |

We checked every detail about Tailscale and ngrok on their own sites on November 18, 2026. The sources are listed [at the end](#sources).

## ngrok vs Tailscale at a glance

| | Tailscale | Tailscale Funnel | ngrok |
| --- | --- | --- | --- |
| What it is | A private mesh VPN | Tailscale's public-sharing feature | A tunnel that gives a local service a public URL |
| Who can connect | Devices in your tailnet, and machines you share | Anyone on the internet | Anyone on the internet |
| Who installs a client | Every device that connects | Only you | Only you |
| Protocols | Any IP protocol, including UDP | HTTPS, and TCP on the same three ports | HTTP and TCP (on Free, TCP after card verification), TLS on Pay-as-you-go. No UDP. |
| Ports | Any | Only 443, 8443 and 10000 | Any |
| Address | Your machine's name or 100.x.y.z address in your tailnet | `machine.tailnet-name.ts.net` | A dev domain like `name.ngrok-free.app`, or your own domain on Pay-as-you-go |
| Inspect and replay requests | No | No | Yes, on `localhost:4040` and in the dashboard |
| Warning page for visitors | Not applicable | No | On the free plan, in front of browser traffic |
| Free plan | Personal: up to 6 users, unlimited user devices | Included in every plan, in beta | $5 one-time credit, 1 GB and 20,000 HTTP requests a month |
| Paid | Standard $8, Premium $18 per user a month | Same as Tailscale | Hobbyist $10 a month or $96 a year; Pay-as-you-go $20 a month plus usage |

## Which one for which job

### Reach my home server from my laptop: Tailscale

This is what Tailscale is for. Install it on the server and on your laptop, sign in to the same account, and the laptop reaches the server by name: SSH, a NAS share, Home Assistant, a database, remote desktop. Nothing is public. Any IP protocol works, and Tailscale's compare page notes that it can't inspect the traffic because it's end-to-end encrypted.

ngrok can do a version of this: run a TCP endpoint for port 22 and SSH to the ngrok address. But that puts your SSH port on a public address, and ngrok's free plan only allows TCP after you add a credit card. For your own devices, a private network is the better fit, and it's free for personal use.

### Receive a Stripe webhook: a tunnel

Stripe, GitHub and Shopify won't join your tailnet. They need a public HTTPS URL. You have three options.

- **ngrok.** `ngrok http 3000`. The free dev domain stays the same when you restart, so you configure Stripe once. The free plan's warning page doesn't affect webhooks. ngrok says it doesn't affect API clients. The inspector on `localhost:4040` shows each webhook and can replay it, with changes.
- **Tailscale Funnel.** `tailscale funnel 3000` gives you `https://your-machine.your-tailnet.ts.net`, which also stays the same. But Funnel shows you nothing. When your handler returns a 500, you don't see the payload, and to test a fix you trigger the event in Stripe again.
- **Expose.** `expose share http://localhost:3000`. The dashboard at `http://127.0.0.1:4040` lists every request. You can replay a request, or change its method, path, headers or body first. Stripe, GitHub and Paddle Billing webhooks are labeled. The free URL is random and changes on each connection. For one URL you configure once, Expose Pro reserves a subdomain with `--subdomain=my-app`.

Funnel is fine if Tailscale is already on the machine and you only need the event to arrive. If you are debugging the handler, you want the inspector.

![The Expose request dashboard with a list of requests and the headers of the selected request](https://expose.dev/img/docs/expose/img/expose_dashboard_details.webp)

### Show a client a site: a tunnel

Your client shouldn't have to install a VPN to look at a homepage. Plain Tailscale is out. They would need an account and the client, and you would have to share the machine with them.

Funnel and both tunnels give the client a link that opens in any browser. The differences are what the client sees:

- **Funnel** URLs contain your machine's name and your tailnet's name, like `amelie-workstation.pango-lin.ts.net` in Tailscale's docs. You can't use your own domain. Public DNS for a new Funnel name can take up to 10 minutes.
- **ngrok's free plan** puts a warning page in front of all HTML browser traffic. The client has to click Visit before they see your site. Your own domain needs Pay-as-you-go, at $0.01 per active hour on top of the $20 a month.
- **Expose** shows the site directly on every plan, including the free one. With Pro, $79 per user per year, the URL can be a reserved subdomain or your own domain, added with one CNAME record. `--basicAuth="user:secret"` puts a password in front of it.

### Run a game server or a UDP service: Tailscale

ngrok has no UDP. Its own compare page says "no UDP". Funnel doesn't carry UDP either; it only offers HTTPS and TCP on three ports. Expose doesn't do UDP.

Tailscale carries any IP protocol. Install it on the server and share the machine with your friends from the admin console. They each need a Tailscale account and the client, and they reach the server on its tailnet address. If the game uses plain TCP, a TCP tunnel such as ngrok's TCP endpoints also works, and the players install nothing.

### Give a coding agent request history: ngrok or Expose

Tailscale has nothing comparable. Its compare page says traffic can't be inspected because it's end-to-end encrypted. Funnel's relay servers can't decrypt the traffic either, because TLS ends on your device. That's good for privacy, but it leaves no requests for an agent to read.

Both tunnels have an MCP server:

- **ngrok's** (`https://mcp.ngrok.com/mcp`) can read your endpoints and Traffic Inspector traffic. Request headers and bodies are only there if you turn on Full Capture. ngrok then stores every header value and the bodies (each capped at 10 KB) without redacting any of them. History lasts 24 hours on Free and 72 hours on Hobbyist and Pay-as-you-go. The agent can also change live configuration, such as domains, policies and credentials. ngrok lists Claude Code, Codex and Cursor among its clients and says ChatGPT can't connect yet.
- **Expose's** ([`https://expose.dev/mcp`](https://expose.dev/mcp)) lets your agent list your tunnels and read the last 50 requests of each, in full, for up to 30 minutes. Auth headers, cookies, signatures, secret query values and IP addresses are removed first. It works with Claude Code, Codex, VS Code with Copilot, Amp, Claude and ChatGPT. It can manage subdomains and custom domains, but it can't open tunnels or replay requests. See [Expose for agentic engineering](https://expose.dev/agentic-engineering).

## Tailscale Funnel vs ngrok: Funnel's limits

Funnel is the part of Tailscale that does ngrok's job. Tailscale's docs list these limits:

- **It's in beta.** It's available on every plan, including the free one.
- **Only three ports.** Funnel listens on 443, 8443 and 10000. It forwards to a local service on any port, but visitors connect on one of those three.
- **Only the ts.net domain.** "Funnel can only use DNS names in your tailnet's domain." There's no custom domain option.
- **Bandwidth limits you can't change.** "Traffic sent over a Funnel is subject to non-configurable bandwidth limits." Tailscale doesn't publish the numbers.
- **Setup first.** You need Tailscale v1.38.3 or later, MagicDNS, HTTPS certificates and a `funnel` attribute in the tailnet's policy file. Changing the policy file takes an Owner, Admin or Network admin. The first `tailscale funnel` command can set the certificates and the attribute up for you.
- **It proxies to the same machine.** For a proxy, only `http://127.0.0.1` targets are supported.
- **No inspection.** Nothing records or replays the requests.
- **It stops with the command** unless you start it with `--bg`. Then it resumes after a reboot.

In exchange, Funnel costs nothing extra if you already run Tailscale. The relay servers can't read your traffic, and Funnel needs no new account.

## Free plans and pricing

| | Free | Paid |
| --- | --- | --- |
| Tailscale | Personal: up to 6 users, unlimited user devices. Funnel included. | Standard $8 and Premium $18 per user a month. Enterprise is custom-priced. |
| ngrok | $5 one-time credit. 1 GB of data transfer, 20,000 HTTP requests a month. Up to 3 online endpoints and one dev domain. Warning page for browser traffic. TCP after card verification. | Hobbyist $10 a month or $96 a year. Pay-as-you-go $20 a month including $20 of usage, then billed per use. Enterprise from $10,000 a year. |
| Expose | Random URLs on one server in Germany, a time limit per connection, no warning page. No credit card. | Pro $79 per user a year. Team $229 a year for up to 10 users. No usage billing. |

Expose prices are net of VAT and on the [pricing section](https://expose.dev/#pricing). For every ngrok rate and worked costs, see [ngrok pricing explained](https://expose.dev/blog/ngrok-pricing).

## Where Expose fits, and where it doesn't

[Expose](https://expose.dev/) is the tunnel we make. It does the public-URL jobs above: webhooks, client demos, testing on your phone, OAuth callbacks and local MCP servers.

- **One command:** `expose share http://localhost:3000`, or `expose share my-app.test` for a Laravel Herd or Valet site.
- **A dashboard on `http://127.0.0.1:4040`** with every request and response, replay, and replay with a changed method, path, headers or body.
- **No warning page** in front of your site, on any plan.
- **A reserved subdomain or your own domain** on Pro, $79 per user per year, with no usage billing. A custom domain needs one CNAME record.
- **An MCP server** at `https://expose.dev/mcp`, so your coding agent can read the requests that reached your tunnel.

Expose doesn't do private networking, and it doesn't do UDP. It shares HTTP and HTTPS sites, and on Pro also TCP ports with `expose share-port`. To reach your own machines, or to carry UDP, use Tailscale.

The [Expose vs Tailscale Funnel](https://expose.dev/tailscale-funnel-alternative) page has the feature table and commands side by side. [Expose vs ngrok](https://expose.dev/ngrok-alternative) does the same for ngrok, [ngrok vs Cloudflare Tunnel](https://expose.dev/blog/ngrok-vs-cloudflare-tunnel) compares those two, and [ngrok alternatives compared](https://expose.dev/alternatives) covers Pinggy, LocalXpose and others.

## Use Tailscale and a tunnel together

You don't have to pick one. Many developers keep Tailscale for their own machines and run a tunnel when something outside needs to reach in.

**Expose on a machine in your tailnet.** SSH into your home server over Tailscale and share a service on it:

```bash
ssh homeserver
expose share http://localhost:8080
```

The service gets a public URL, and everything else on the server stays private in your tailnet.

**Expose on your laptop, for a service on another machine.** Expose can share any address your computer can reach, not just `localhost`. With Tailscale running, that includes your tailnet addresses:

```bash
expose share http://100.101.102.103:8080
```

Use the server's own tailnet address. Tailscale's admin console and `tailscale status` show it. The public URL then reaches a server at home through your laptop, and the dashboard on your laptop shows every request.

**Tailscale Serve for the team, a tunnel for outsiders.** Tailscale Serve shares a local service with the devices in your tailnet only, with no public URL. Use it for teammates, and a tunnel for the webhook provider or the client. One port can't be shared with Serve and Funnel at the same time, so keep the two apart.

## Questions

### Is Tailscale a replacement for ngrok?

For your own devices, yes. Tailscale connects them privately, with any protocol. For a public URL, only through Funnel. It works for basic cases, but it's in beta, limited to ports 443, 8443 and 10000 and the ts.net domain, and you can't inspect or replay requests.

### Do visitors need to install Tailscale?

For a machine in your tailnet, yes. Each device that connects needs Tailscale, and a shared machine shows up in the other person's Tailscale clients. For a Funnel URL, no. Anyone can open it in a browser. ngrok and Expose URLs also need nothing on the visitor's side.

### Does ngrok support UDP?

No. ngrok's own comparison with Tailscale lists "HTTP/S, TCP, TLS (no UDP)". Its pricing page lists HTTP and TCP, plus TLS on Pay-as-you-go. Tailscale supports any IP protocol, including UDP. Expose doesn't support UDP either.

### Can Tailscale Funnel use a custom domain?

No. Funnel only uses names in your tailnet's domain, `machine.tailnet-name.ts.net`. ngrok supports your own domain on Pay-as-you-go. Expose Pro supports it with one CNAME record.

### Can I use Tailscale and Expose at the same time?

Yes. They don't conflict. Tailscale handles your private network, and Expose opens one outgoing tunnel for the site you share. Expose can even share a service on another tailnet machine, by its tailnet address.

## Sources

We read these pages on November 18, 2026:

- Tailscale: [Funnel](https://tailscale.com/kb/1223/funnel), [the tailscale funnel command](https://tailscale.com/kb/1311/tailscale-funnel), [Serve](https://tailscale.com/kb/1312/serve), [sharing](https://tailscale.com/kb/1084/sharing), [pricing](https://tailscale.com/pricing) and [Tailscale's ngrok comparison](https://tailscale.com/compare/ngrok)
- ngrok: [pricing](https://ngrok.com/pricing), [free plan limits](https://ngrok.com/docs/pricing-limits/free-plan-limits/), [the web inspection interface](https://ngrok.com/docs/agent/web-inspection-interface/), [Traffic Inspector](https://ngrok.com/docs/obs/traffic-inspection/), [the MCP server](https://ngrok.com/docs/mcp-server), [the FAQ](https://ngrok.com/docs/faq/) and [ngrok's Tailscale comparison](https://ngrok.com/compare/tailscale)

Both companies change their plans and features. Check the pages above before you decide.
