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
| Workload | Access path | User device | Origin side | Policy |
|---|---|---|---|---|
| Contractor uses a web app | Cloudflare Access + Tunnel | Browser and approved sign-in | cloudflared on the app host or a machine that can reach it | Access Allow policy for the contractor’s identity on the app hostname |
| Admin uses private SSH or a database | Tailscale tailnet | Tailscale client and the usual SSH or database client | Tailscale on the server, or a subnet router that can reach it | Tailnet grant for the admin group, destination and TCP port |
| Private appliance cannot run an agent | Tailscale through a subnet router | Tailscale client and the appliance’s usual app or browser | Tailscale 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.
| User | Path |
|---|---|
| Contractor | Browser → Cloudflare Access at the edge → Tunnel and cloudflared → web portal |
| Admin | Managed device with Tailscale → tailnet → private database |
- 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.comas the example hostname, withexample.comstanding 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 - Publish the portal and validate tokens at the origin side. With
cloudflaredconnected, open Networking > Tunnels, select the tunnel, and use Routes > Add route > Published application. Set the same hostname and a Service URL such ashttp://localhost:80for 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 - 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
srcto the admin group,dstto the database host’s tag, andiptotcp:5432if 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
| Plan | List price | User limit |
|---|---|---|
| Cloudflare Zero Trust Free | $0 | 50 users |
| Cloudflare Zero Trust Pay-as-you-go | $7 per user per month | No user limit |
| Tailscale Personal | $0 | 6 users, for personal use |
| Tailscale Standard | $8 per user per month | No user limit |
| Tailscale Premium | $18 per user per month | No 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