Cloudflare Zero Trust Guide
Flat isometric illustration of a pink and yellow cloud linked by glowing lines to a rounded pink cabinet holding a gold padlock, with node dots below.
comparisons

Cloudflare Access vs Tailscale: Which to Use

Compare Cloudflare Access and Tailscale for browser-only contractors, private SSH, and databases. See which client and origin connector each path needs.

By Cloudflare Zero Trust Guide Editorial · ·Updated · 7 min read

Use Cloudflare Access + Tunnel when contractors need an internal web app from a browser. Cloudflare One’s Zero Trust edge proxy checks their access and forwards requests through the tunnel. For managed devices reaching private SSH or databases, use Tailscale’s WireGuard mesh and restrict access to the required services.

Tailscale vs Cloudflare at a glance

WorkloadAccess pathUser deviceOrigin sidePolicy
Contractor uses a web appCloudflare Access + TunnelBrowser and approved sign-incloudflared on the app host or a machine that can reach itAccess Allow policy for the contractor’s identity on the app hostname
Admin uses private SSH or a databaseTailscale tailnetTailscale client and the usual SSH or database clientTailscale on the server, or a subnet router that can reach itTailnet grant for the admin group, destination and TCP port
Private appliance cannot run an agentTailscale through a subnet routerTailscale client and the appliance’s usual app or browserTailscale on a router on the appliance’s network. The appliance stays agentless.Approve the route and grant the intended users access to the appliance IP and service port

The Cloudflare public app guide covers the browser path. The Tailscale subnet router guide covers the gateway path.

The data path is the real difference

For a published web app, Access checks each HTTP request for a valid application token. Tunnel then carries the allowed traffic from Cloudflare’s edge to cloudflared, which connects to the web service. The connector initiates outbound connections, so the app needs no public origin IP or inbound port forward. Cloudflare public app guide, Cloudflare Tunnel documentation

Tailscale architecture: keys, NAT traversal and relays

Tailscale’s coordination server distributes public keys and policy. Private keys stay on the nodes, which use WireGuard to carry traffic. Connections start via DERP and try to upgrade to a direct path using NAT traversal. If a direct path fails, Tailscale tries an available peer relay before settling on DERP. Tailscale architecture, Tailscale connection types

Cloudflare Tunnel vs Tailscale

Cloudflare Tunnel maps your public hostname to a service reachable by cloudflared. Add Access to require sign-in. Inside a tailnet, users reach permitted private IPs or services from enrolled devices. With Tailscale Funnel, anyone with the URL can reach the published service, so use app-level authentication if access should be restricted. Cloudflare public app guide, Tailscale Funnel docs

Funnel uses a ts.net hostname and listens publicly on port 443, 8443 or 10000. Its relay forwards encrypted traffic and the Tailscale node terminates TLS. Funnel requirements and traffic flow

Cloudflare Mesh: tailnet-style addressing, hub-style path

Cloudflare Mesh links enrolled devices and services on private IPs for TCP, UDP and ICMP. It uses the Cloudflare One Client on endpoints and on Linux Mesh nodes, which can advertise routes to other private resources. That gives you private network connectivity alongside Access’s per-app browser sign-in. Mesh carries traffic through Cloudflare, where Gateway policies can apply. Tailscale can establish direct WireGuard paths between peers. Cloudflare Mesh concepts, Cloudflare WARP vs VPN

Running Cloudflare Tunnel and Tailscale together

A contractor needs a web portal and an admin needs a private database. Keep the portal hostname on Tunnel and the database address on the tailnet.

UserPath
ContractorBrowser → Cloudflare Access at the edge → Tunnel and cloudflared → web portal
AdminManaged device with Tailscale → tailnet → private database
  1. Create the Access policy before publishing. In the Cloudflare dashboard, go to Zero Trust > Access controls > Applications. Select Create new application, Self-hosted and private, then Add public hostname. Use app.example.com as the example hostname, with example.com standing in for an active domain on Cloudflare. Add an Allow policy with an Include rule using the Emails selector for the approved contractors. Select their identity provider and then Create. Publishing a route first exposes the app to the internet without Access protection. Cloudflare public app guide, Access policy selectors
  2. Publish the portal and validate tokens at the origin side. With cloudflared connected, open Networking > Tunnels, select the tunnel, and use Routes > Add route > Published application. Set the same hostname and a Service URL such as http://localhost:80 for an HTTP app on the connector host. Select Add route. Then open Edit route, expand Additional application settings, enable Protect with Access, and select Save changes. The connector now checks the Access token before forwarding requests to the app. Keep the database out of the public routes. Cloudflare Tunnel setup, Tunnel origin parameters, First Tunnel walkthrough
  3. Grant private database access. Install Tailscale on the admin device and database host, then join both to the same tailnet. Tag the database host. In the tailnet policy file, set the grant’s src to the admin group, dst to the database host’s tag, and ip to tcp:5432 if the database listens on TCP port 5432. Check existing grants for broader access to that host. Admins connect to the host’s Tailscale IP using their usual database client and database credentials. Tailscale quickstart, Tailscale grants explained

What has to be installed

For an agentless appliance, put the subnet router on a host that can reach the appliance’s LAN. The router runs Tailscale and forwards traffic to the appliance’s private address. The remote user still runs Tailscale. On a Linux router, enable IP forwarding with a firewall that denies forwarding by default. Advertise the appliance’s subnet with sudo tailscale set --advertise-routes=192.0.2.0/24, substituting your LAN’s subnet.

In the Tailscale admin console, open Machines, select the router, approve the route under Subnets, and select Save. In Access controls, add a grant for the appliance IP and required service port. On a remote Linux client, run sudo tailscale set --accept-routes to use the advertised route. Tailscale subnet router guide

To connect with a native client over Cloudflare’s published TCP or SSH routes, install cloudflared on the user device. Those users run cloudflared access tcp or cloudflared access ssh. Cloudflare’s private Client-to-Tunnel path uses the Cloudflare One Client and is recommended for long-lived TCP and SSH sessions. Published application protocols, Cloudflare private network routing

Policy models

Access applies policy to each application. It checks Bypass and Service Auth policies first, then evaluates Allow and Block in order and stops at the first match. Tailscale grants in the tailnet policy file are additive. A narrow grant leaves any broader matching grant in effect. Access policies, Tailscale grants explained, Zero Trust access and tunnels instead of VPN ingress

Device posture

Cloudflare One Client checks require the client on the device. The disk encryption check covers Windows, macOS and Linux, so a policy that requires it needs a separate path for browser-only contractors. Tailscale lists basic OS and client-version posture on all plans, with MDM, EDR and XDR integrations starting on Standard. Cloudflare client checks, Tailscale plan comparison

Scale limits and cost

PlanList priceUser limit
Cloudflare Zero Trust Free$050 users
Cloudflare Zero Trust Pay-as-you-go$7 per user per monthNo user limit
Tailscale Personal$06 users, for personal use
Tailscale Standard$8 per user per monthNo user limit
Tailscale Premium$18 per user per monthNo user limit

Cloudflare Zero Trust pricing, Tailscale pricing

Cloudflare’s default account limits include 500 Access applications and 50,000 private routes shared by Tunnel and Mesh. Tailscale lists 3 ACL groups on Personal, 10 on Standard and 300 on Premium. Cloudflare One account limits, Tailscale plan comparison

Which one fits

If both the contractor portal and the admin console are web apps, separate Access applications let you give each hostname its own audience and policy. Use the private path when administrators need the underlying SSH server or database. Cloudflare public app guide

Evidence and limits. The split example follows Cloudflare’s public app guide updated April 17, 2026. The appliance example follows Tailscale’s subnet router guide validated September 29, 2026. The steps were not run for this comparison.

FAQ

is tailscale cheaper than cloudflare zero trust?

For a team that only needs browser access and fits Cloudflare’s free plan, Cloudflare costs less than Tailscale Standard at list price. Tailscale Personal is intended for non-commercial use. Compare paid plans once you need features outside the free tier. Cloudflare Zero Trust pricing, Tailscale pricing

can cloudflare or tailscale see my traffic?

For the published HTTPS web app, Cloudflare terminates browser TLS and can process the HTTP request. Tailscale relays forward encrypted WireGuard traffic. If you use a subnet router, the WireGuard session ends at that router. Use the application’s own encryption for the hop from router to appliance. Published application protocols, Tailscale architecture, Tailscale subnet routers

does tailscale work behind cgnat?

Yes. If the carrier’s NAT prevents Tailscale from establishing a direct connection, the relay path can still work. Cloudflare Tunnel also works without a publicly routable origin IP because cloudflared connects outbound. Tailscale connection types, Cloudflare Tunnel docs

do i need tailscale if i already use cloudflare tunnel?

You can use Tunnel with Access for browser apps and add Cloudflare’s browser-rendered SSH for supported servers. For native SSH and database tools, use the Cloudflare private route with the One Client if you already deploy it. Tailscale is an option when you want a separate private mesh. Cloudflare browser-rendered SSH, Cloudflare private network routing

Sources

  1. Cloudflare One docs: Publish a self-hosted application to the Internet
  2. Cloudflare One docs: Access policies
  3. Cloudflare Docs: Set up Cloudflare Tunnel
  4. Cloudflare One docs: Tunnel origin parameters
  5. Cloudflare One docs: Cloudflare Tunnel
  6. Cloudflare One docs: Protocols for published applications
  7. Cloudflare One docs: Connect with cloudflared
  8. Cloudflare One docs: Connect to SSH in the browser
  9. Cloudflare One docs: How Cloudflare Mesh works
  10. Cloudflare One docs: Cloudflare One Client checks
  11. Cloudflare One docs: Account limits
  12. Cloudflare: Pricing, Zero Trust plans
  13. Tailscale: How it works
  14. Tailscale Docs: Connection types
  15. Tailscale Docs: Subnet routers
  16. Tailscale Docs: Quickstart
  17. Tailscale Docs: Grants explained
  18. Tailscale Docs: Tailscale Funnel
  19. Tailscale: Pricing and plan limits

Related