📖 L4 of 8 · M4⏱ 6 min

Tailscale Funnel

Same as Serve, but the door is open to the entire internet. Powerful, and the easiest place to make a security mistake. Read all of this before turning it on.

1What it does

Funnel exposes a service via Tailscale's edge to the public internet at https://your-device.tail-abc.ts.net. Anyone with the URL can hit it. Tailscale provides the cert and the entry point; your device serves the actual content.

This is publishing to the open internet. No auth on Funnel itself — you have to add auth in your application. Don't Funnel something assuming "no one will know the URL"; the certificate transparency logs make all .ts.net hostnames discoverable.

2Decide first: should this be Funnel'd?

Before turning it on, run through this:

  • Does the service already enforce its own auth? (login page, API key, basic auth, OAuth) If no — don't Funnel it.
  • Is the audience public? If only your friends/family need it, use Serve + invite them to your tailnet instead.
  • Does it need rate-limiting / abuse protection? Funnel does some, but if you're getting hammered, you'll want a CDN in front.

The "Is it safe to expose?" tool walks the decision tree with you.

3Enabling it

Funnel is opt-in twice — once at the tailnet level, once per service.

  1. Admin console → Access controls → ensure your policy includes a nodeAttrs block enabling funnel for your devices:
    "nodeAttrs": [
      { "target": ["autogroup:member"], "attr": ["funnel"] }
    ]
  2. On the device, run:
    sudo tailscale funnel --bg 8080
    (Same syntax as Serve, but published publicly.)

4Common safe uses

  • A webhook receiver (GitHub, Stripe, etc.) — the senders authenticate via signed payloads
  • A static demo of a project for a job interview, expiring in a few days
  • A self-hosted public site where you've added auth in the app (Vaultwarden's web vault, for instance)

5Common unsafe uses (don't)

  • Your home assistant dashboard, with no extra auth
  • Your raw SSH or Jellyfin or Plex web UI without checking what they do for unauthenticated requests
  • A dev server you forgot has debug routes enabled

6Turning it off

sudo tailscale funnel --https=443 off

Or revoke at the policy level by removing the funnel attribute from nodeAttrs. The latter is the kill switch.

🧠Knowledge check

Three quick questions

Q1.What's the difference between Serve and Funnel?
Q2.You want to expose your Home Assistant dashboard to your phone when you're outside the tailnet. Which is right?
Q3.What's a legitimate Funnel use?
3 / 3
Onward to exit nodes.