Cloudflare Tunnel vs Tailscale

Cloudflare Tunnel suits outbound-only access to internal web apps, SSH and RDP. Tailscale suits a private device mesh. Both depend on hosted services, so Headscale, NetBird, OpenZiti or Pomerium suit teams that must keep control in-house.

On this page

Cloudflare Tunnel vs Tailscale: which fits your access problem

Choose Cloudflare Tunnel when you need to publish specific internal resources, such as web applications, SSH servers or RDP hosts, to users outside your network. Choose Tailscale when you need to join devices, servers and people into one private network where permitted peers reach each other directly. Cloudflare Tunnel fits the first case because the cloudflared connector runs in your infrastructure and makes outbound-only connections, so a firewall can block all inbound traffic. Tailscale fits the second case, and its identity, posture and logging features depend on the plan you buy: SCIM provisioning starts at Standard, while network flow logs and log streaming require Premium.

The decision turns on two questions. The first is whether you are publishing resources or meshing devices. A publishing need, where outside users reach a defined set of named applications, matches how Tunnel exposes resources through connectors. A meshing need, where laptops, build servers and databases must communicate in several directions, matches Tailscale's tailnet model. The second question is who must control the service. Both hosted products keep the coordination or tunnel service with the vendor. The tailscale/tailscale client is BSD-3-Clause, and Headscale can replace the Tailscale control server for a single tailnet. The cloudflared connector is Apache-2.0, but the Tunnel service itself is Cloudflare's hosted commercial service.

Before you decide, run three checks. First, confirm the controls you need on the plan you would buy. Tailscale's pricing page places just-in-time access on Premium and lists SSH, Kubernetes and database session recording as a PAM platform extension sold through sales. Second, ask Cloudflare for current terms on Tunnel and Cloudflare Mesh, because the Tunnel documentation states no pricing or plan requirement, and Mesh is now the default connector for private access and private networks. Third, if a self-hosted control plane is on your list, test Headscale against your access policy, since Headscale cannot use OIDC groups in its ACLs. Write these results into your written scope so the choice rests on your own environment and identity provider.

Where Cloudflare Tunnel vs Tailscale fits each scenario

This table maps common access scenarios to the product that fits better and states the condition behind each choice. Read the Why column first, because the right answer usually depends on whether you publish a few apps, connect devices to each other or need administrative controls. Items marked as points to confirm are capabilities the published information here does not settle, so verify them with Cloudflare before deciding.

ScenarioBetter fitWhy (condition)
Servers with outbound-only connectivityCloudflare TunnelUse when the host can run cloudflared and your firewall can block all inbound traffic, because the daemon connects outward only.
SSH and RDP access to serversCloudflare Tunnel, or Tailscale if ACL-based device reach is neededFits a few known hosts with no mesh need. Docs list SSH and RDP; confirm client and policy steps with Cloudflare.
Device mesh across laptops and serversTailscaleFits laptops and servers that must reach each other. Confirm Cloudflare Mesh device-to-device behavior with Cloudflare.
Contractor access to a few web appsCloudflare TunnelFits a handful of web apps for contractors who need no network access. Confirm which Cloudflare identity policy applies with Cloudflare.
SCIM, log streaming and just-in-time accessTailscale, on the plan that includes each featurePer Tailscale's pricing page, SCIM starts at Standard; log streaming and just-in-time access need Premium. Confirm Cloudflare's equivalents and plan tiers.
In-house control requirementsSelf-hosted Headscale, NetBird, OpenZiti or PomeriumFits when the control plane must stay in your own infrastructure. The Tunnel service is hosted, though cloudflared is Apache-2.0.
MFA and session evidence for remote accessEither, once MFA and logging are verifiedRequirements such as CIS Safeguard 6.4 call for MFA on remote access. Confirm how each product's session logs support review.

Which path fits: publish, mesh or self-host?

The flowchart starts with one question: do users need to reach resources from outside your network? From there, it asks what is being reached. Publishing web apps, SSH or RDP points to Cloudflare Tunnel, where the cloudflared daemon makes outbound only connections. Connecting devices to each other points to Tailscale. If the coordination service must stay in your own network, the path splits: Tailscale style clients go to Headscale, and other models go to NetBird, OpenZiti or Pomerium. Check the control plane question first, because it changes the hosting work more than the feature list does.

Decision path from outside access to publish, mesh or self-host options.

How Cloudflare Tunnel vs Tailscale compares on capability

This table compares how Cloudflare Tunnel and Tailscale handle connectivity, licensing, policy, logging, provisioning and automation. Where a vendor's public material does not settle a point, the cell names what to confirm. Read the Tailscale plan gates before budgeting, since logging, SCIM provisioning and just-in-time access depend on the tier you buy.

CapabilityCloudflare TunnelTailscale
Connection modelcloudflared makes outbound-only connections to Cloudflare, with no publicly routable IP address needed.WireGuard peers coordinated by a control server, which exchanges keys and assigns IPs.
Resource typesHTTP web servers, SSH servers and RDP are listed as supported resources.Devices, subnet routes and SSH. Session recording for SSH, Kubernetes and databases is a PAM extension sold through sales.
Inbound firewall needsNo inbound listeners needed. cloudflared connects outbound only, so the firewall can block all inbound traffic.Confirm required outbound ports and relay paths with Tailscale for your network.
Connector and client licensingcloudflared is Apache-2.0 open source. The Tunnel service is hosted and commercial; docs state no pricing or plan requirement.Client code is BSD-3-Clause. Personal free up to 6 users; Standard $8 and Premium $18 per user per month (Tailscale pricing page).
Default connectorCloudflare Mesh is the default for private access and private networks, per Cloudflare docs. Confirm which connector your tunnel uses.Tailscale client on each device, with subnet routers for networks without agents. Confirm details with Tailscale.
Policy model and device postureConfirm policy model and device posture checks with Cloudflare for your plan.Basic posture on all plans. MDM, EDR and XDR from Standard. Just-in-time access on Premium. ACL groups capped at 3, 10, 300 (Personal, Standard, Premium).
Logging and provisioningConfirm log export and user provisioning options with Cloudflare for your account.Network flow logs and log streaming need Premium. SCIM provisioning starts at Standard.
Automation and APIConfirm API and infrastructure-as-code options with Cloudflare before planning automation.API access tokens from the Keys page, valid 1 to 90 days. Terraform provider (MIT) manages ACLs, DNS, tags, keys and log streaming.
Client platformscloudflared connector downloads for Linux, macOS, Windows and Docker. Confirm end-user client platforms with Cloudflare.Client code is open source under BSD-3-Clause. Confirm the supported platform list with Tailscale.

What each product charges and what drives the bill

Tailscale publishes list prices per user and per tagged resource, and those figures are a starting point for a budget, not a final quote. Cloudflare Tunnel's documentation states no pricing or plan requirement, so its cost depends on the Cloudflare plan you hold. Paid Tailscale charges recur monthly, so confirm every figure at purchase.

Cloudflare Tunnel plan

Cloudflare's Tunnel documentation states no pricing or plan requirement, so this page gives no figure for it. Budget only from a written quote. Confirm the Cloudflare plan in writing and list each bundled Access feature you depend on, since identity and device controls may sit in a different plan from the Tunnel itself. The cloudflared connector runs in your infrastructure under the Apache License 2.0, but that license does not set the bill, because the Tunnel service is hosted by Cloudflare.

Tunnel docs

Tailscale Personal tier

Tailscale's pricing page lists Personal as free for up to 6 users, so a team of six or fewer can start without buying seats. The limit to check is policy size: ACL groups are capped at 3 on this tier, compared with 10 on Standard and 300 on Premium. If your access model needs more than three groups, the tier is too small before the user count is reached. Confirm current limits on the pricing page at purchase.

Tailscale Standard tier

Tailscale's pricing page lists Standard at $8 per user per month, billed every month for each user. It is the first tier with SCIM provisioning, so user accounts can follow your identity provider, and it adds MDM, EDR and XDR posture integrations, which let access depend on device state. Basic device posture is available on every plan, so the upgrade buys the integrations. Confirm how the pricing page counts users before you size the seat count.

Tailscale Premium tier

Tailscale's pricing page lists Premium at $18 per user per month, and it is the tier that includes network flow logs, log streaming and just-in-time access. Flow logs and streaming let you send network records to your own tooling, while just-in-time access grants rights for a limited time instead of standing ones. If your security review asks for these controls, confirm in writing whether the Premium rate must apply to every user or only to some.

Tagged resource fees

Tailscale's pricing page includes 50 tagged resources and lists extra tagged resources at $1 per month each. This line grows with the number of machines, servers and services you tag, not with the number of people, so a large server fleet can cost more than a small team. Count tagged resources before you sign, and agree a tagging convention so the count stays predictable as systems are added.

Tailscale pricing page

Enterprise and PAM add-ons

Enterprise pricing is custom and set through sales. SSH, Kubernetes and database session recording is sold as a PAM platform extension, so it usually appears as its own line on the quote. If you need session recording for privileged access, ask for it by name. When you request a quote, ask for the plan, user count, tagged resource count and each add-on in writing, so the totals can be compared with the published list figures.

What running each option day to day involves

Cloudflare Tunnel splits the work between the team that runs the hosts with cloudflared installed and the Cloudflare administrators who manage routes and access policy. The daemon makes outbound-only connections, so each host needs little inbound configuration, but a tunnel only works while its connectors stay online. The main effort driver is how many hosts and private resources sit behind tunnels.

  • Connector installs: install cloudflared on hosts in your own infrastructure, using the cloudflared downloads builds for Linux, macOS, Windows or Docker, and record which host runs which connector.
  • Redundancy: run more than one connector per tunnel. Each connector routes to the nearest Cloudflare data center, so a single connector is a single point of failure for that tunnel.
  • Patching: keep every connector on a current cloudflared release through your normal patch cycle, and verify that each restart brings the connector back into its tunnel.
  • Connector type: confirm which connector type your account uses. Cloudflare's docs say Cloudflare Mesh is now the default connector for private access and private networks, so older setup guides may not match your account.
  • Access changes: route and policy changes happen in the Cloudflare dashboard, so review who holds those permissions and keep a log of changes to published applications.

Before you size this work, check which connector type your account is provisioned with and whether every tunnel has more than one connector on separate hosts.

Cloudflare Tunnel vs Tailscale data control and exit

The two services differ most in where traffic and records go and how configuration leaves the vendor. Each card covers one of those decisions and the points to confirm before a renewal or a move. Confirm every answer with the vendor in writing, since plan terms and data locations can change.

Data path and relays

Tunnel traffic passes through Cloudflare's network. Each cloudflared connector routes to the nearest Cloudflare data center, and one tunnel can run multiple connectors. Tailscale peers connect directly to each other, while a hosted control server exchanges WireGuard keys and assigns IP addresses. Ask each vendor where relay traffic, connection metadata and identity data are processed and stored, and whether a region can be chosen. Confirm the relay fallback behavior for both before you map residency requirements.

Tunnel docs

Logs and audit records

Flow logs and log streaming need Tailscale Premium. The pricing page places network flow logs and log streaming in the Premium plan, and it sells session recording for SSH, Kubernetes and database access as a PAM platform extension through sales. Plan the log path before you rely on either product for audit evidence. Confirm what is captured, how long it is kept, and whether logs can be streamed to a SIEM you control. Ask Cloudflare which logging options Tunnel provides on your plan and where those logs can be exported.

Tailscale pricing

Configuration export paths

Tailscale configuration can be exported through its API and Terraform provider. Access tokens come from the Keys page of the admin console, expire between 1 and 90 days, and can only be created by Owners, Admins, IT admins and Network admins. The MIT-licensed Terraform provider manages the ACL policy, DNS settings, device tags, subnet routes, tailnet keys, posture integrations, log streaming and webhooks. Confirm which Tunnel settings, including connectors, routes, hostnames and access policies, can be exported in a usable form before you commit to either product.

Tailscale API docs

Contract and dependency

Both depend on a hosted service, even with open-source clients. The cloudflared connector is licensed under Apache License 2.0, but the Tunnel service it connects to is Cloudflare's hosted commercial service. Tailscale's client repository is BSD-3-Clause, while its control server is not open source, so the coordination layer stays with Tailscale unless you move to a self-hosted control plane. Read both sets of terms for service levels, termination and data processing, and ask each vendor what happens to your connections if the contract ends.

cloudflared license

What leaving involves

Exit means removing connectors, routes and identities in order. Remove cloudflared connectors and tunnel routes, reissue device identities on the new control plane, and rewrite access policy in its format. Headscale implements ACLs, grants, Tailscale SSH, MagicDNS, subnet routers, exit nodes and tags for a single tailnet, but OIDC groups cannot be used in its ACLs. Any group-based rule needs a different mapping before cutover. Test each rule with a named user account before you retire the old access path.

Headscale features

When Headscale, NetBird, OpenZiti or Pomerium fits better

Neither Cloudflare Tunnel nor Tailscale is the right answer when the control plane must run inside your own network, when the team wants no hosted dependency, or when the need is clientless access to internal apps only. Headscale is a self-hosted implementation of the Tailscale control server, scoped to a single tailnet and licensed under BSD-3-Clause. It works with Tailscale-style clients and supports ACLs, MagicDNS, subnet routers, exit nodes and tags, but its README notes that the control server and the GUI clients for Windows, macOS and iOS are not open source. OIDC groups also cannot be used in its ACLs. NetBird keeps the same mesh model. Its clients are BSD-3-Clause, its management, signal and relay servers are AGPLv3, and the full stack can be self-hosted with Docker. Confirm that the open-source build covers the policy, posture and SSO controls you use today before you commit.

OpenZiti is an Apache-2.0 zero trust overlay, sponsored by NetFoundry, that can run entirely on infrastructure you operate. It suits teams that want the overlay itself under their control. Its model defines services, identities and routing policies of its own, and applications may need its SDKs or tunnelers, so scope the integration path for each application type before you commit. Pomerium Core is an Apache-2.0 identity-aware reverse proxy for clientless access to internal web apps. Its self-hosted control plane is reserved for the Enterprise edition, so check the current Pomerium pricing page and licensing terms if you need that control plane in your own network. If your need is mostly browser access to internal apps, Pomerium Core is the closest match. Confirm which non-HTTP protocols you need before choosing it.

Running any of these yourself moves design, deployment, identity integration, upgrades, backups and monitoring to your team. One-time work covers the trust model, control plane deployment, identity provider integration and the initial policy rebuild. Recurring operations cover upgrades, backup and restore tests, monitoring of control and relay servers, key and certificate handling and access reviews. Effort rises with the number of users and sites, the size of the policy set, the depth of SSO and posture integration, high availability requirements and any code changes you make. Infrastructure is a separate cost in your own cloud account or data center, and a commercial edition adds its own licence cost. If you modify AGPLv3-licensed NetBird server code and make it available to users over a network, have counsel review the source disclosure obligations before deployment.

What a move between the two products involves, step by step

This sequence moves access for each resource from Cloudflare Tunnel to the target product while the old path stays live. It covers inventory, identity mapping, policy capture, a test build, a single-group pilot, group-by-group cutover and final retirement of the old path. Each step names who does the work and the check that closes it.

  1. Inventory resources and who reaches them

    The platform team lists every Tunnel public hostname, private route and connector, including the HTTP web servers, SSH servers and RDP hosts behind them. For each resource, the application owner confirms which users and groups need access and which hosts run cloudflared, since those connectors make outbound-only connections from your infrastructure. Confirm which connector type each tunnel uses, because the docs now make Cloudflare Mesh the default connector for private access. The step is done when every resource has a named owner and an approved population.

  2. Map identity groups and roles to the target

    The identity team maps each identity provider group to a role or policy group in the target and records its members. For Headscale, the limit matters most: its OIDC groups cannot be used in its ACLs, so group-based rules need another basis, such as tags, before they can be written. If the target is Tailscale, count ACL groups against the plan caps, which are 3 on Personal, 10 on Standard and 300 on Premium. The step is done when a signed-off table links every existing group to a target rule or a documented exception.

  3. Export or document the current policy

    The platform team captures the existing policy in a form that can be reviewed and versioned. On Tailscale, export the ACL policy, DNS settings, tags and subnet routes through the Tailscale API documentation or the MIT-licensed Terraform provider. Use a token from the Keys page, which Owners, Admins, IT admins or Network admins can create and which expires after 1 to 90 days. On Cloudflare Tunnel, review each tunnel's configuration and routes, and ask Cloudflare whether your account has an export path. Store the output in version control. The step is done when the policy file matches the live configuration and every gap is listed.

  4. Build the target in a test environment

    The platform team stands up the target control plane in an isolated test environment, with SSO connected to the identity provider used in the group mapping. Imported policy is tested against sample resources from the inventory: an HTTP service, an SSH host and an RDP host, each reached from a test client in each mapped group. For Headscale, confirm that a single tailnet fits your design, since that is its scope. The step is done when each resource type passes from each group and every denied case is logged as expected.

  5. Pilot access with one group

    Move one low-risk group, with its clients and connectors, onto the target while the rest stay on Cloudflare Tunnel. The pilot checks access to each resource in the group, the firewall rules on the connector hosts, and the logs. Because cloudflared connectors make outbound-only connections, confirm that no inbound rule was opened to make the pilot work. On Tailscale, flow logs and log streaming require the Premium plan, so confirm your tier covers the log checks before the pilot starts. The step is done when the security team signs off the group's access, firewall and logging checks.

  6. Cut over group by group

    Move each remaining group in turn, starting with the least disruptive, and keep the Cloudflare Tunnel path live for that group until rollback has been tested. Define the rollback trigger before each move, such as a failed access check or a blocked business workflow, and record who can reverse it. Users in a moved group keep the old route until the new one is confirmed. The service desk receives the cutover schedule and rollback steps in advance. The step is done when each group has a cutover record showing its checks and a tested rollback.

  7. Retire old connectors, tokens and records

    Once every group runs on the target and the logs show no traffic on the old path, stop the cloudflared connectors, remove the tunnels and their DNS records, and delete Cloudflare resources no longer in use. On the target, revoke test API tokens and remove test tailnets and test clients. Update access records, runbooks and any evidence index that referenced the old path. The step is done when the old path is documented as closed, with the final log review and decommission record kept for assessors.

What buyers ask before choosing Cloudflare Tunnel or Tailscale

Does Cloudflare Tunnel cost money to run?

Cloudflare's Tunnel documentation states no pricing or plan requirement, so the answer depends on the Cloudflare plan and features your organization already holds, and Cloudflare should confirm that in writing. Ask which plan covers Tunnel, which Zero Trust features are bundled with it, and whether any usage or seat charges apply to your setup. The connector is a separate question: cloudflared is licensed under Apache License 2.0 and runs in your own infrastructure, so the software license carries no charge. The Tunnel service it connects to is Cloudflare's hosted, commercial service. Recurring costs usually come from that hosted service and any add-on features, while one-time costs come from the time spent deploying connectors and reviewing policies. Ask for a quote that lists each plan, each bundled feature and each metered item against your expected user and resource counts.

How much does Tailscale cost, and what drives the bill?

Tailscale's pricing page lists a free Personal plan for up to 6 users, Standard at $8 per user per month, Premium at $18 per user per month and custom Enterprise pricing. The main drivers are user count, the tier you need and tagged resources: 50 tagged resources are included, and each extra one is listed at $1 per month. Features also push you up a tier. SCIM provisioning starts at Standard, while network flow logs and log streaming require Premium. Session recording for SSH, Kubernetes and databases is sold as a PAM platform extension through sales. Check the live pricing page before budgeting, then ask Tailscale for a written quote that matches your user and tagged resource counts. If you self-host a control plane instead, budget for servers, storage and operator time, which moves the cost from a subscription to infrastructure and staff.

How long does a migration off either tool take?

The duration depends on the inputs, and no fixed figure applies. The main drivers are the number of resources to move, how complex your access policies are, how many identity sources and groups must be connected, and how much logging and audit evidence you must keep. A small set of web apps behind one identity provider is a different job from hundreds of SSH, RDP and database paths with group-based rules (illustrative). Ask any provider or partner for a written scope and timeline that lists the resource count, policy groups, identity integrations, logging requirements, test cases and the phases for parallel running and cutover. Ask what the timeline includes, such as testing, rollback planning and documentation, and how changes to scope are priced.

What does our team need to provide before a migration starts?

Before a migration starts, your team needs to provide a resource inventory, named owners for each identity source and access group, agreed change windows and admin roles for every system involved. The inventory should list each host, web app, SSH target, RDP target and database that is published today, with its owner, exposure and current access rules. Identity owners confirm which groups map to which access and who approves exceptions. Change windows define when cutover and rollback can happen without disrupting operations. Admin roles should cover the Tunnel or Tailscale administration, the identity provider, the logging platform and the new control plane, granted with least privilege. Finally, name a sign-off owner for each phase, such as policy approval, test results and cutover. An incomplete inventory can add scope late in the work.

Can our own engineers install and run this without outside help?

Often, yes for the installation, which is usually the smallest part of the work. cloudflared has downloads for Linux, macOS, Windows and Docker, so deploying connectors is a routine task for most platform teams. The effort sits elsewhere: writing access policies that match your current rules, integrating identity groups and claims, testing every published resource and documenting controls for review. Those tasks need engineers who understand your identity provider, network segments and audit requirements. Decide early which of those skills exist in-house and which do not, then run a pilot with a small set of resources before extending it. If you want outside help, DeployOpen plans, implements, integrates, hardens, backs up and documents self-hosted platforms inside your own infrastructure, under a fixed scope agreed in writing before work starts. Ask any partner to show how they test access before cutover.

Does Headscale support the Tailscale features our team uses?

Headscale covers many core features, but you should confirm each one your team relies on before planning a move. Its documentation lists ACLs, grants, Tailscale SSH, MagicDNS, subnet routers, exit nodes and tags for a single tailnet. The specific gaps to check start with identity: OIDC groups cannot be used in Headscale ACLs, so any policy built on identity-provider groups needs a different design, which you must test. Headscale is also scoped to one tailnet, so confirm whether you need more than one. The Headscale README states that Tailscale's GUI clients for Windows, macOS and iOS are outside the open-source set, so decide which client each platform will use. Build a table of your current policies, posture integrations, log streaming and session recording needs, and check each one against the Headscale feature list before deciding.

How DeployOpen helps you evaluate, implement and test this choice

DeployOpen helps teams weighing Cloudflare Tunnel against Tailscale turn that comparison into a working decision. We plan the deployment inside your own cloud accounts, data centers or air-gapped network, then implement, test and document the option you choose. Every engagement starts from a written scope, so the systems, deliverables and timeline are agreed before work begins.

How we scope

  • Written scope that names which Cloudflare Tunnel functions move and which Tailscale features replace them.
  • Inventory of resources to reach, such as HTTP servers, SSH servers and RDP hosts, and their access paths.
  • Review of where each control plane, logs and session data would live, and who operates it.

How we build

  • Build inside your cloud accounts or data centers, with connectors or clients placed where your resources run.
  • Access policy, identity provider and device posture configured from the scope, tracked as code where the tool supports it.
  • Hardening of the host, the connector service and the admin console, with backup of configuration and key material.

How we hand over

  • Security testing of the access paths, including whether inbound listeners are closed and policies block unexpected routes.
  • Documentation of the chosen architecture, the access policies and the exit path back to the other tool.
  • Evidence packs for compliance reviewers, to be assessed by independent auditors or certification bodies.

How we support

  • A quote follows from the written scope, since DeployOpen does not publish a price list.
  • Ongoing support, upgrades and continuous testing are available as retainers.
  • Re-testing after connector, identity provider or policy changes helps keep access rules verified.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.