Dev tools

Cloudflare Tunnel vs Tailscale: Remote Access Compared

Cloudflare Tunnel vs Tailscale: public hostnames vs a private mesh VPN, pricing, speed, Funnel and home server use, to pick the right remote access.

By OmniAI Editorial · Nov 20, 2026 · 10 min read

Cloudflare Tunnel vs Tailscale is the most common comparison for anyone who wants to reach a home server, homelab or self-hosted app from anywhere without opening ports on their router. Both avoid port forwarding and both are free for personal use, but they solve different problems. Cloudflare Tunnel publishes services to the public internet on your own domain, through Cloudflare's network. Tailscale builds a private network between your own devices, so only you and people you invite can reach your services.

This guide compares the two on how they work, privacy and security, pricing, speed, public sharing with Tailscale Funnel, common uses such as Home Assistant and Jellyfin, and how Tailscale relates to WireGuard, so you can choose the right tool.

Cloudflare Tunnel vs Tailscale at a Glance

Cloudflare TunnelTailscale
What it isOutbound tunnel from your server to Cloudflare's networkMesh VPN between your devices, built on WireGuard
Default audienceAnyone on the internet (optionally behind login)Only devices in your private network (tailnet)
Software on visitors' devicesNone: they use a normal browserTailscale app needed, except with Funnel
Your own domainYes, required for named tunnelsNot required; uses Tailscale names
Traffic pathThrough Cloudflare's edgeDirect between devices when possible, relayed otherwise
Access controlCloudflare Access policies (Zero Trust)Tailscale access controls
Free tierTunnel is free; Zero Trust free for teams under 50 usersPersonal plan free for up to 6 users, non-commercial
Best forPublic websites, webhooks, sharing apps with othersPrivate access to your own services, admin panels, SSH

What Is Cloudflare Tunnel?

Cloudflare Tunnel connects a server to Cloudflare without opening any inbound ports. You run a small program called cloudflared on your machine. It creates outbound-only connections to Cloudflare's network, so your server doesn't need a public IP address and your firewall can block all incoming traffic.

You then map a public hostname, such as app.yourdomain.com, to a local service like http://localhost:8080. Visitors reach your app through Cloudflare, which also provides HTTPS, caching and protection against attacks. Cloudflare made Tunnel free for everyone, and you can put Cloudflare Access in front of any app to require login, for example with an email code or a Google account, using Cloudflare's Zero Trust platform.

For quick tests, Cloudflare also offers temporary "quick tunnels" with random hostnames that need no account setup.

What Is Tailscale?

Tailscale is a mesh VPN built on the WireGuard protocol. You install Tailscale on your devices, such as a laptop, phone and home server, and sign in. They join your private network, called a tailnet, and can talk to each other securely wherever they are.

Key features:

  • Peer-to-peer connections: devices connect directly when the network allows, and fall back to Tailscale's relay servers when it doesn't.
  • No port forwarding: Tailscale handles NAT traversal automatically.
  • MagicDNS: reach devices by name instead of IP address.
  • Access controls: decide which users and devices can reach which services.
  • Serve and Funnel: share a local service privately inside your tailnet (Serve) or publicly on the internet (Funnel).

Key Differences

Public vs private

This is the core difference. Cloudflare Tunnel is designed to make services reachable publicly, with optional authentication. Tailscale is designed to keep services private, reachable only from your own devices or invited users.

Who needs to install something

With Cloudflare Tunnel, visitors just open a URL. With Tailscale, every device that connects needs the Tailscale app, which is perfect for your own devices but awkward for sharing with the public.

Traffic path and privacy

Cloudflare Tunnel traffic passes through Cloudflare, which terminates HTTPS for your hostname, so Cloudflare can technically see that traffic. Tailscale traffic between devices is encrypted end to end with WireGuard; relay servers only forward encrypted packets when a direct connection isn't possible.

Protocols

Cloudflare Tunnel is strongest for web traffic (HTTP and HTTPS); other protocols such as SSH or RDP need extra setup and client software. Tailscale connects devices at the network level, so SSH, file sharing, databases, games and almost anything else work as if the devices were on the same local network.

Split by a dotted divider: on the left, a grey server with one ink line to a grey cloud and from the cloud to several small grey visitor circles; on the right, three small grey devices joined to each other by dashed ink lines in a triangle, one device in orange.
Cloudflare Tunnel publishes through Cloudflare's edge; Tailscale links your own devices directly.

Cloudflare Tunnel Pricing vs Tailscale Pricing

At the time of writing:

Cloudflare Tunnel pricing:

  • Tunnel itself is free. Cloudflare made Tunnel available to everyone at no cost.
  • Zero Trust (Access and related features): Cloudflare lists a free tier for teams under 50 users, and a pay-as-you-go plan at $7 per user per month for larger teams or extra features.

Tailscale pricing:

  • Personal: free for up to 6 users with unlimited user devices, for non-commercial use.
  • Standard: $8 per user per month.
  • Premium: $18 per user per month, with Enterprise pricing on request.

For a personal homelab, both are effectively free. For business use, compare per-user pricing and required features carefully.

Tailscale Funnel vs Cloudflare Tunnel

Tailscale Funnel lets you expose a local service to the public internet through a unique Funnel URL, without visitors needing Tailscale. It's Tailscale's answer to public sharing. A few limits: Funnel only listens on ports 443, 8443 and 10000, and only over TLS-encrypted connections. Tailscale Serve, by contrast, shares a service only inside your tailnet.

Compared with Cloudflare Tunnel:

  • Funnel is quick for sharing a demo, a webhook endpoint or a small personal site, especially if you already use Tailscale.
  • Cloudflare Tunnel gives you your own domain, Cloudflare's caching and attack protection, and fine-grained login policies through Access, which makes it better for anything long-running or public-facing.

Speed and Performance

  • Tailscale often gives low latency because devices connect directly. If a direct connection can't be made, traffic goes through relays, which is slower.
  • Cloudflare Tunnel routes traffic through Cloudflare's nearest data centre, which works well for web apps and benefits from caching for static content. Every request still travels from the visitor to Cloudflare and from Cloudflare to your server.

For large transfers between your own devices, Tailscale's direct connections are usually faster. For public websites with many visitors, Cloudflare's network and caching help.

Home Assistant, Jellyfin and Other Self-Hosted Apps

Home Assistant

Both tools are popular for reaching Home Assistant remotely:

  • Tailscale is the simplest private option: install it on your server and phone, and open Home Assistant as if you were at home. Nothing is exposed to the internet.
  • Cloudflare Tunnel gives you a normal URL that works from any browser, ideally protected with Cloudflare Access. It's useful if family members won't install a VPN app, though some mobile app features and integrations need careful configuration.

Jellyfin and media servers

For media streaming, Tailscale is usually the better fit. Cloudflare's CDN terms say that, unless you're an Enterprise customer, serving video or a disproportionate share of pictures, audio or other large files requires its paid services, such as Stream, and Cloudflare may limit access otherwise. Streaming your film library through a free Cloudflare Tunnel risks breaking those terms.

Admin panels and dashboards

For server dashboards, router pages, databases and self-hosted platforms such as those in our Coolify vs Dokploy comparison, keeping access private with Tailscale greatly reduces your attack surface.

Local AI and automation

If you run a model at home, as covered in our guide to running an LLM locally, Tailscale lets you use it from your laptop or phone anywhere without exposing it publicly. For automation tools such as n8n that need to receive webhooks from external services, a Cloudflare Tunnel hostname is often the easier fit; see our n8n tutorial.

A grey house outline with a small grey server inside it, with an ink arrow leaving the house to a small grey phone outside, and an orange padlock on the arrow.
Both tools let you reach home services without opening ports on your router.

Tailscale vs WireGuard

Tailscale is built on WireGuard, a fast, modern VPN protocol. The difference in Tailscale vs WireGuard is convenience:

  • Plain WireGuard requires you to generate keys, write configuration for each device, and usually open a port on your router or run a server with a public IP.
  • Tailscale handles key distribution, NAT traversal, device management, DNS names and access controls for you, using a coordination service.

If you want WireGuard's speed without depending on Tailscale's service, open source options such as Headscale (a self-hosted Tailscale-compatible control server) and NetBird exist.

Alternatives to Cloudflare Tunnel and Tailscale

  • ngrok creates a public URL for a local service in seconds, which is popular for testing webhooks and demos during development. Free use has limits, and persistent custom domains need a paid plan.
  • Port forwarding opens a port on your router directly to a device at home. It needs no third-party service, but exposes that device to the whole internet and often requires a public IP address, which some internet providers don't give you.
  • Plain WireGuard or OpenVPN on your own server gives you full control over a private VPN, at the cost of more setup and maintenance.
  • ZeroTier, NetBird and Headscale offer other ways to build a private mesh network, some fully self-hostable.

For most people, Tailscale for private access plus Cloudflare Tunnel for the few things that must be public covers almost every need without opening ports.

Security Tips

  • Don't expose admin interfaces publicly without strong authentication; prefer private access.
  • Use Cloudflare Access in front of anything published through a tunnel that isn't meant for everyone.
  • Use Tailscale access controls to limit which devices and users can reach sensitive services.
  • Keep `cloudflared`, Tailscale and your apps updated.
  • Remove old devices and tunnels you no longer use.

Cloudflare Tunnel vs Tailscale: Which Should You Choose?

  • Choose Cloudflare Tunnel to publish a website, API or webhook endpoint on your own domain, or to share an app with people who won't install anything.
  • Choose Tailscale for private access to your own services, SSH, file sharing, media streaming and admin panels.
  • Use both: many homelabs keep everything private on Tailscale and publish only a few public services through Cloudflare Tunnel.

FAQ

What is the difference between Cloudflare Tunnel and Tailscale?

Cloudflare Tunnel publishes local services to the public internet through Cloudflare's network, using your own domain, with optional login protection. Tailscale creates a private, encrypted network between your own devices, so services are only reachable by devices and people you allow.

Is Cloudflare Tunnel free?

Yes. Cloudflare made Tunnel free for everyone. Cloudflare's Zero Trust features, such as Access login policies, have a free tier for teams under 50 users, with paid plans for larger teams.

Is Tailscale free?

Tailscale's Personal plan is free for up to 6 users with unlimited user devices, for non-commercial use. Business plans start at $8 per user per month.

Should I use Cloudflare Tunnel or Tailscale for Home Assistant?

Use Tailscale if you want the most private, simple setup and you're happy to install the Tailscale app on your devices. Use Cloudflare Tunnel, protected by Cloudflare Access, if you want a normal URL that works in any browser without a VPN app.

What is Tailscale Funnel?

Tailscale Funnel exposes a local service on a device in your tailnet to the public internet through a Funnel URL, so anyone can reach it without installing Tailscale. It only works on ports 443, 8443 and 10000 and over TLS-encrypted connections.

All articles

Read next

Language

EnglishEnglish · en TürkçeTurkish · tr DeutschGerman · de العربيةArabic · ar

Account

Enter your email. We’ll send you a sign-in link and a 6-digit code. No password needed.

Sign in

Theme

Language

Show our email address

To keep spam out of our inbox, please confirm your own email first. We will send you a 6-digit code.

We send codes only to these providers: gmail.com, googlemail.com, outlook.com, hotmail.com, live.com, msn.com, proton.me, protonmail.com, pm.me, icloud.com, me.com, mac.com, yahoo.com, aol.com, gmx.de, gmx.net, web.de, t-online.de, yandex.com, omniai.blog