Skip to content
Go back

Tailscale Funnel vs Cloudflare Tunnel

By KingPin 14 min read
Contents

You Want One Service Public and Zero Router Holes

You built a thing at home. A friend needs to see it, a webhook needs to reach it, or you want your dashboard reachable from a hotel network. You do not want to forward a port and pray. Two tools solve this without touching your router: Tailscale Funnel and Cloudflare Tunnel.

My verdict, so you can stop reading early: Cloudflare Tunnel is the default for anything long-lived, public, on your own domain, or behind an identity check. Funnel wins for quick shares, webhook receivers, setups with no domain, and cases where you do not want a third party reading your plaintext. Neither one is a media-streaming pipe. The rest of this post is the reasoning, with the facts dated as of December 2026.

Full example: Clone the working files at github.com/KingPin/sumguy-examples/…/tailscale-funnel-vs-cloudflare-tunnel

This post is about the decision. For the config.yml and Access policy side of Cloudflare, read Cloudflare Tunnel advanced setups. For why “no open ports” still leaves you exposed, read the home lab threat model.

Serve Is Private, Funnel Is the Exception

Tailscale has two similar commands, and mixing them up is how people publish things by accident.

tailscale serve shares a local service with your tailnet only. Only your own devices can reach it. tailscale funnel shares it with the public internet, and visitors do not need a Tailscale account or the client installed.

That also settles something in an older post of mine, where a comparison table lists Tailscale as “mesh only” with no public exposure. That is accurate for the mesh and for Serve. Funnel is the opt-in exception you turn on per service, and it needs a funnel attribute in your tailnet policy file before it works.

Funnel needs a few things in place:

  1. Tailscale v1.38.3 or newer.
  2. MagicDNS turned on.
  3. HTTPS certificates enabled for the tailnet.
  4. The funnel nodeAttr in your policy file. The CLI offers to add it for you. The default snippet looks like this:
"nodeAttrs": [
{
"target": ["autogroup:member"],
"attr": ["funnel"],
},
],

Funnel is in beta, and it is available on all plans, including the free Personal plan ($0, up to 6 users, as of December 2026). Cloudflare Tunnel is also available on all plans, Free included.

Round 1: The Domain Question

This one decides most cases before you compare anything else.

Funnel only uses DNS names in your tailnet’s domain. Your service lives at something like whoami.example-tailnet.ts.net. You cannot point app.example.com at it. If you need a memorable name for other people, Funnel will disappoint you.

Cloudflare Tunnel needs a domain with DNS on Cloudflare to publish an application. You map app.example.com to a local service in the dashboard, and that is the public address. One tunnel can serve many hostnames, so a single cloudflared container can front your whole lab.

There is a domain-free escape hatch on the Cloudflare side: a Quick Tunnel.

Terminal window
cloudflared tunnel --url http://localhost:8080

That gives you a random trycloudflare.com hostname with no account and no domain. It is a demo tool. The docs say Quick Tunnels are for testing and development, carry no uptime guarantee, cap at 200 in-flight requests (extra requests get a 429), and do not support Server-Sent Events. The hostname also changes every run, so do not send it to anyone you expect to come back tomorrow.

If you own no domain and want a stable public name, Funnel is the only one of the two that gives you one for free.

Round 2: Who Can Read Your Traffic

This is the real philosophical split, so slow down here.

With Funnel, TLS terminates on your node. The tailscaled process terminates the TLS connection and passes the decrypted request to your local service. Tailscale’s docs say the Funnel relay servers do not decrypt the traffic between public devices and your device. The relays move encrypted bytes. They cannot read them.

With Cloudflare Tunnel, Cloudflare’s edge holds the certificate your visitors see. Traffic arrives at Cloudflare, gets decrypted, and passes through the edge where CDN caching, DDoS protection, and WAF rules are applied (how deep those go depends on your plan). Then it travels down the tunnel to your origin. Cloudflare’s SSL mode controls how that second leg is protected, but the first leg ends at their edge in plaintext.

Neither design is sinister. The plaintext at the edge is exactly how a WAF can block an attack and how a cache can serve a page without bothering your server. You cannot have those features without the edge reading HTTP. But if you are publishing something where a third party reading requests and responses bothers you (a private API, a webhook carrying customer data, a login form for a family vault), Funnel’s model is the cleaner one.

Funnel also lacks everything that plaintext buys. No WAF, no caching, no DDoS protection, and one ts.net hostname per node instead of a dozen custom hostnames on one connector. You get a public door, and you are the security guard.

Round 3: Ports and Protocols

Funnel is picky.

The CLI covers the common cases:

Terminal window
# Foreground, public on 443
tailscale funnel 3000
# Background, survives reboot and tailscale down/up
tailscale funnel --bg 3000
# Choose a different public port
tailscale funnel --https=8443 3000
# Backend with a self-signed certificate
tailscale funnel https+insecure://localhost:8443
# Mount at a path
tailscale funnel --set-path=/foo 3000
# See what is live, and shut it all down
tailscale funnel status
tailscale funnel reset

To turn off a single mapping, repeat the original command with off appended.

Non-HTTP is where Funnel surprises people. It can forward raw TCP to anonymous visitors:

Terminal window
tailscale funnel --tcp=10000 tcp://localhost:5432

Do not point that at a database. But it means a public TCP endpoint on port 10000 is possible, and there are flags for TLS-terminated TCP (--tls-terminated-tcp=<port>) and the PROXY protocol (--proxy-protocol=2).

Cloudflare Tunnel is the opposite. It can carry HTTP, SSH, remote desktop, and other protocols, but Cloudflare’s setup docs say non-HTTP services require cloudflared on the client side. An anonymous visitor cannot open a raw TCP connection to your SSH server through a Tunnel. A public raw-TCP endpoint for anonymous clients is not something Tunnel does.

So: HTTP site with many hostnames, Cloudflare. One odd TCP service for people without any client software, Funnel.

Round 4: Limits and Terms

Funnel is in beta, and its traffic is subject to non-configurable bandwidth limits. The docs publish no numbers. I will not guess any either. If you plan to push a lot of data through a Funnel, you are depending on a limit nobody has told you, and you cannot raise it.

Cloudflare publishes more, and some of it is awkward for home labs:

So neither is a media pipe. Funnel has unknown bandwidth throttles. Tunnel has terms that read like a warning label for streaming. If you want to watch your own library away from home, put it on the mesh and use Serve. Read more about the mesh in the Tailscale deep dive.

Round 5: What Stands in Front of the App

This is where the two diverge sharply, and where bad setups happen.

Cloudflare Access is part of Zero Trust and has a free plan. It puts an identity check in front of a tunneled hostname before any traffic reaches your server: an email one-time PIN, or a GitHub or Google login. The unauthenticated visitor never touches your app. I will not quote seat counts or prices here, because those change and you should read the order form yourself.

Funnel has nothing built in. Visitors are anonymous internet users, not tailnet users, and your app’s own login is the only gate. Think about what that means for a tool with a weak or missing login page: it is open to everyone. If you need a gate, bolt on your own: oauth2-proxy or Authelia in front of the service, with the proxy as the thing Funnel points at.

For the Tunnel side, how to securely deploy Cloudflare Tunnels covers the hardening. For Funnel, the rule is short: only publish apps whose login you trust with the whole internet.

The Certificate Transparency Gotcha

Funnel needs HTTPS certificates, and enabling the HTTPS feature has a side effect most people skip past. Machine names and the tailnet DNS name get published in Certificate Transparency logs, which are public and searchable. The Tailscale docs put it plainly: do not enable the HTTPS feature if any of your machine names contain sensitive information.

If you named a node after a client, a project codename, or a family member, rename it before you turn on HTTPS. Treat every machine name as public.

Seeing Both in Code

The kit pairs each tool with the same test app, whoami, so the public result is easy to check. Both stacks are Docker Compose.

Funnel runs a Tailscale sidecar. The app shares its network namespace, and a serve config marks the port as Funnel-enabled:

compose.funnel.yml
# Tailscale Funnel: whoami published at https://whoami.<your-tailnet>.ts.net
services:
ts-whoami:
image: tailscale/tailscale:v1.106.3
hostname: whoami
environment:
- TS_AUTHKEY=${TS_AUTHKEY}
- TS_STATE_DIR=/var/lib/tailscale
- TS_SERVE_CONFIG=/config/funnel.json
volumes:
- ts-state:/var/lib/tailscale
- ./ts-config:/config:ro
devices:
- /dev/net/tun:/dev/net/tun
cap_add:
- net_admin
restart: unless-stopped
whoami:
image: traefik/whoami:v1.12.0
network_mode: service:ts-whoami
depends_on:
- ts-whoami
restart: unless-stopped
volumes:
ts-state:

The serve config is where AllowFunnel flips the switch from tailnet-only to public:

ts-config/funnel.json
{
"TCP": {
"443": {
"HTTPS": true
}
},
"Web": {
"${TS_CERT_DOMAIN}:443": {
"Handlers": {
"/": {
"Proxy": "http://127.0.0.1:80"
}
}
}
},
"AllowFunnel": {
"${TS_CERT_DOMAIN}:443": true
}
}

The AllowFunnel block is the public switch. Without it, you have a Serve config, which only your tailnet can reach.

The Cloudflare side is shorter, because the routing lives in the dashboard. You create a remotely-managed tunnel, copy the token, and map app.example.com to http://whoami:80:

compose.tunnel.yml
# Cloudflare Tunnel: whoami published at the public hostname you map in the dashboard
# (service URL in the dashboard: http://whoami:80)
services:
cloudflared:
image: cloudflare/cloudflared:2026.11.2
command: tunnel --no-autoupdate run --token ${CF_TUNNEL_TOKEN}
restart: unless-stopped
whoami:
image: traefik/whoami:v1.12.0
restart: unless-stopped

Both stacks read their secrets from one env file:

.env.example
# Tailscale auth key (admin console > Settings > Keys)
TS_AUTHKEY=tskey-auth-REPLACE_ME
# Cloudflare tunnel token (Zero Trust dashboard > Networks > Tunnels > your tunnel)
CF_TUNNEL_TOKEN=REPLACE_ME

Pin the image tags like the kit does. A latest tag on a container that publishes you to the internet is a surprise you do not want.

Bring either one up with docker compose -f compose.funnel.yml up -d or docker compose -f compose.tunnel.yml up -d, then check the public name from a device that is not on your tailnet. A phone on mobile data works fine.

The Decision Table

QuestionTailscale FunnelCloudflare Tunnel
Needs your own domainNo, ts.net name onlyYes, DNS on Cloudflare (or a throwaway Quick Tunnel)
Custom domainNot possibleYes
Who sees plaintextOnly your nodeCloudflare’s edge
WAF, caching, DDoSNoneYes, at the edge (depth varies by plan)
Inbound port at homeNoneNone
Public ports443, 8443, 10000 onlyStandard HTTPS on your hostname
Raw TCP for anonymous visitorsYes, on 443, 8443, or 10000No, needs cloudflared on the client
Hostnames per connectorOne ts.net name per node, path mounts with --set-pathMany hostnames per tunnel
Upload limitNot published100 MB on Free and Pro
BandwidthNon-configurable, unpublishedCDN terms discourage video and large files on Free
Identity gateNone built inCloudflare Access, free plan available
StatusBetaNot marked beta
CostIncluded on all plans, Personal is $0Available on all plans, Free included

The Verdict

Pick Cloudflare Tunnel when the service is long-lived, public, and on a domain you own. Pick it when you run several hostnames, when you want a WAF in front, or when you need an identity gate such as Access. For a blog, a dashboard, a Gitea instance, or a family app behind a login screen, it is the right default.

Pick Funnel when you have no domain, when you want to share something for an afternoon, when a service needs to receive webhooks, or when you refuse to let a third party read your plaintext. It is also the right tool for that rare TCP endpoint with no client software on the other side.

Do not pick either for streaming your media library or for bulk uploads. Funnel’s bandwidth is unpublished and not yours to tune. Cloudflare’s free terms and 100 MB upload cap were not written with a 4K movie in mind. Use the tailnet and Serve for that.

Do you hate both third parties? Look at Pangolin, a self-hosted tunnel you run on your own VPS.

You can also run both at once. They do not conflict, because they publish different names through different paths. A common split: the stable public stuff on Tunnel, a throwaway share or a webhook endpoint on Funnel.

Common Questions

Does Tailscale Funnel work with a custom domain?

No. Tailscale Funnel only uses DNS names in your tailnet’s domain, which end in ts.net, so app.example.com cannot point at a Funnel. For your own domain, use Cloudflare Tunnel with the domain’s DNS on Cloudflare.

Do visitors need Tailscale installed to use a Funnel?

No. Funnel exists so that anyone on the public internet can open the URL with a normal browser. Visitors need no Tailscale account and no client. Funnel visitors arrive as anonymous internet users outside your tailnet, so your app has to handle its own login.

Is Cloudflare Tunnel free?

Yes. Cloudflare Tunnel is available on all plans, Free included, and Cloudflare Access has a free plan as well. The cost you will notice is the domain, since Tunnel needs one with DNS on Cloudflare, plus the free-plan limits: a 100 MB upload cap and CDN terms that discourage serving video.

Can I run Jellyfin through Funnel or Cloudflare Tunnel?

Not reliably. Funnel traffic is subject to non-configurable bandwidth limits that Tailscale does not publish, so you cannot plan around them. Cloudflare’s terms for Free, Pro, and Business CDN use allow it to limit access if you serve video without a paid service. Keep Jellyfin on the tailnet with Serve and reach it from your own devices, where neither the Funnel bandwidth limit nor the Cloudflare CDN terms apply.

Can I use Funnel and Cloudflare Tunnel on the same server?

Yes. The two tools publish different hostnames through different paths, so they do not conflict. Run cloudflared for your domain-based apps and a Tailscale Funnel for the ts.net name of a webhook receiver or a quick share. Each one keeps its own credentials, which you can revoke independently.


Wrote about this post on your own site? Send a webmention.

It shows up above once verified.


Next Post
OPNsense WireGuard Road Warrior Setup

Discussion

Powered by Garrul. Sign in with GitHub or Google, or post anonymously.

Related Posts