Funnel puts a local service on the public internet. The rules around it are stricter than you might expect.
Where serve stays inside your tailnet, funnel makes the same service reachable by anyone with the link. I would use it sparingly, for a webhook endpoint or a quick demo, and keep anything with private data off it.
tailscale funnel --bg 3000
Funnel can only listen on ports 443, 8443 and 10000. That goes for --https, --tcp and --tls-terminated-tcp. You also need MagicDNS and HTTPS turned on, and a funnel attribute in your policy file. The default policy grants it to members, and running the command offers to add it for you.
"nodeAttrs": [
{
"target": ["autogroup:member"],
"attr": ["funnel"]
}
]
Caveat: a port cannot be served and funneled at the same time. The most recent command decides whether it is private or public. Traffic is also subject to bandwidth limits you cannot configure. Shut it down with tailscale funnel reset when you are done.
I like that the limits are this blunt. A narrow door is easier to watch than a wide one.
Further reading: tailscale funnel, Tailscale Funnel, On this site: clear every Serve and Funnel setting with tailscale serve reset, On this site: keep your printer reachable on an exit node with –exit-node-allow-lan-access