brewedbits.dev

Personal blog with guides and news on selfhosting, Linux and AI, from the Netherlands

nextDash nextdash --aboutYour bookmarks. Your terminal. checks your links knows your Docker host one container, no cloudLive demo →nextdash.cc ↗

Tip: Funnel only listens on ports 443, 8443 and 10000

Tailscale
~/tips/tip-tailscale-funnel-ports

tailscale funnel --bg 3000

Explains which three ports a public Tailscale Funnel can use and what you need to enable it.

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

More Tailscale tips sudo tailscale set --exit-node=100.101.102.103 --exit-node-allow-lan-access=true All Tailscale tips (2) All topics

Link