Cloudflare Tunnel vs Cloudflare Access

Cloudflare Access fits identity checks in front of internal web apps, and Cloudflare Tunnel fits outbound-only access to private HTTP, SSH and RDP hosts. Most teams run both, so the decision turns on resource types, data location and how much operating work you want to carry.

On this page

Cloudflare Tunnel vs Cloudflare Access: which one fits your access problem

Cloudflare Access fits when identity checks in front of internal web apps are the main need, and Cloudflare Tunnel fits when outbound-only connectivity to private HTTP, SSH or RDP hosts is the need. Many teams deploy them side by side: Tunnel carries connections out of a private network with no inbound listener, and Access decides which signed-in users may reach each application. Access is the stronger fit when most of your private estate is web applications behind an identity provider. Tunnel is the stronger fit when servers that do not serve web pages must be reached from outside. Count your applications early, because Cloudflare One limits an account to 500 Access applications, a limit that may be raised on Enterprise accounts.

Three factors settle the choice. The first is resource types. The Tunnel docs list HTTP web servers, SSH servers and RDP among supported resources, so if SSH or RDP hosts are in scope, cloudflared has to reach them, and you should confirm how your Access policies cover those hosts before relying on them alone. The second is where traffic and policy data sit. Traffic passes through Cloudflare's network, and cloudflared connects to the nearest Cloudflare data center, so have your residency owners confirm where session logs and policy records are stored and which controls your plan includes. The third is operating work. You run the connectors on your own hosts, so you patch, monitor and scale them, and one tunnel can run up to 25 active replicas. The Terraform provider (Apache-2.0, version v5.28.0, published October 13, 2026) manages Access applications, policies, tunnels and routes, which keeps much of that work in reviewable code.

Cost works differently for the two halves. cloudflared is Apache-2.0 open source, but the Tunnel service it connects to is Cloudflare's hosted commercial service, so an open-source connector does not make the service free to run. The Tunnel docs state no pricing or plan requirement, and the Cloudflare Zero Trust plans page offers a free plan for a proof of concept, lists no per-user prices, and directs SASE packaging that adds WAN and Firewall to sales. This page does not publish per-user prices. Ask for a written quote that states whether fees depend on users, applications or add-ons, what support is included, and how billing changes if you exceed the standard application limits. Then weigh that recurring fee against the internal time your team spends running connectors, which you carry under either product.

Which Cloudflare Tunnel or Cloudflare Access scenario matches your team

This table maps common team situations to the option that usually fits them, along with the condition that drives the choice. Use each row as a starting point for your own requirements, and check the rows that depend on account limits or data location against your written terms and architecture. The main takeaway is that identity-led access to internal web apps and private SSH or RDP hosts points toward the Cloudflare pair, while application counts and data location decide whether a self-hosted route should be evaluated.

ScenarioBetter fitWhy, and under what condition
Internal web apps needing single sign-on, with no inbound ports on the originCloudflare Tunnel with Cloudflare AccessFits when origin servers can make outbound-only connections through cloudflared and identity policy is enforced at Cloudflare.
SSH or RDP access to private hosts without a VPN applianceCloudflare TunnelFits when private SSH or RDP hosts must be reached without a VPN appliance, since the docs list both as supported resources.
Large application count nearing published limitsSelf-hosted route, if limits bindApplies when the estate nears 500 Access applications per account, a published limit that Enterprise accounts may raise. Confirm your limit in writing.
Traffic and policy data must stay inside your own infrastructureSelf-hosted NetBird, OpenZiti or PomeriumApplies when traffic and policy data must remain in your infrastructure. Confirm which Pomerium edition covers the control plane you need.
Clientless access to internal web apps, operated by your teamSelf-hosted Pomerium CoreApplies when users reach apps from a browser without client software, and your team runs the proxy and its identity configuration.
Illustrative: policy must be kept in version controlCloudflare Access with the Terraform providerApplies when Access applications, policies and tunnels must be reviewed as code. The provider is Apache-2.0 and manages these objects.

What Cloudflare Access controls and what Cloudflare Tunnel carries

The split is simple to state and easy to get wrong in practice. Cloudflare Tunnel carries the traffic. The cloudflared daemon runs inside your network, makes only outbound connections to Cloudflare, and needs no inbound listener, so a firewall can block all inbound traffic to the origin. Cloudflare's docs say each tunnel can run several cloudflared connectors, and each routes to the nearest Cloudflare data center. The docs list HTTP web servers, SSH servers and RDP among supported resources. Cloudflare Access sits in front of those resources and decides who may reach them, based on identity and policy. Do not assume a published resource is gated by default. Whether Access protects it depends on how its application and policies are configured in your account.

Confirm the wiring in your own account before you plan a renewal or a migration. For each tunnel hostname or private network route, check which Access application covers it, which identity provider and policies it references, and whether any resource is reachable with no Access application attached. Cloudflare's docs now name Cloudflare Mesh as the default connector for private access and private networks, so an existing tunnel built on cloudflared may not match the setup the docs describe for new deployments. Ask your Cloudflare account team what that change means for existing tunnels, including whether they keep running unchanged, whether routes and policies carry over, and whether connector configuration must change.

Review the Tunnel and Access configuration as one control set. Cloudflare's Terraform provider manages Access applications, policies, groups, identity providers, service tokens, tunnels, routes and virtual networks, so the configuration can be exported and kept in version control. That helps with audit evidence and with any exit plan. Account limits also apply: Cloudflare One caps Access applications and reusable policies at 500 each per account and allows 1,000 tunnels per account, so large estates should check their headroom before consolidating. The most useful artifact is an inventory listing every published hostname, its Access application and its policy, because a replacement has to reproduce that inventory exactly.

How Cloudflare Tunnel and Cloudflare Access compare on capabilities and limits

This table compares what Cloudflare Tunnel and Cloudflare Access each do, how they reach your resources, and the account limits that apply to each. Read the Tunnel column for the connector that carries traffic out of your network and the Access column for the policy layer that decides who may reach an application. The two often work together, and the account limits may be raised on Enterprise accounts, so request any increase in writing before you size a rollout.

CapabilityCloudflare TunnelCloudflare Access
Primary roleOutbound-only connection that publishes private resources through Cloudflare without a public IP address.Identity-based policy that decides which users and devices can reach each application or resource.
Resource typesHTTP web servers, SSH servers and RDP hosts, plus private network routes.Web applications and infrastructure targets. Confirm which SSH and RDP options apply in the current Access docs.
Inbound ports on originNone. cloudflared makes outbound-only connections, so a firewall can block all inbound traffic.Access adds no listener. Public origins still need inbound routes, while Tunnel-routed origins do not.
Connector model and replicascloudflared connectors, several per tunnel, each routed to the nearest Cloudflare data center. Up to 25 active replicas per tunnel.No connector of its own. Traffic reaches protected resources through a Tunnel, Mesh connector or public route.
Per-account limits (Cloudflare One account limits)1,000 tunnels, 25 active replicas per tunnel and 50,000 routes per account.500 Access applications, 500 reusable policies, 300 rule groups, 50 identity providers, 50 service tokens and 5,000 infrastructure targets per account.
Application Library custom appsNot applicable. Custom apps in the Application Library belong to Access.50 on Free and Pay-as-you-go accounts, 100 on Enterprise.
Terraform coverage (Cloudflare provider)Tunnels, routes and virtual networks, in provider v5.28.0 released October 13, 2026.Same provider, v5.28.0 released October 13, 2026: applications, policies, groups, identity providers, service tokens, mTLS and short-lived certificates.
Client downloadscloudflared for Linux, macOS, Windows and Docker.No cloudflared download is needed for Access itself. Confirm the end-user client requirement with Cloudflare.
Open-source statuscloudflared client is Apache-2.0. The hosted Tunnel service is commercial and not open source.Hosted commercial service. Confirm with Cloudflare whether any self-hosted form exists.

How Cloudflare Zero Trust is priced, and what the public pages leave open

The public pages show a free plan for a proof of concept and a sales route for paid packaging, but they leave the final bill open. The cards separate what is published from what you must confirm in writing, including connector use, account limits and the running cost of self-hosted components.

Free plan for proof of concept

Cloudflare's Zero Trust plans page offers a free plan for a proof of concept. It is enough to test Access policies and a Tunnel against a few internal applications before any budget decision. Check that the pilot uses the identity provider, connector hosts and application types you expect in production, because a pilot that avoids them shows little about the paid bill. Treat the free tier as a test environment until you hold a written scope and quote.

Zero Trust plans

Sales route for paid packaging

The plans page does not list per-user prices. Paid packaging, including the SASE bundle that adds Cloudflare WAN and Firewall, goes through sales. Ask for a written quote that states the billing basis (seats, users or another unit), the add-on scope, the connector and replica counts, and the support level. Ask whether WAN and Firewall are priced apart from Access, so you can see the cost if you only need zero trust access.

Connector use and Mesh billing

The Tunnel documentation states no pricing or plan requirement, which does not settle the bill. Ask whether running several cloudflared connectors for one tunnel changes what you pay. Ask the same about Cloudflare Mesh, which the docs describe as the default connector for private access and private networks. Get the answer in writing, with the connector count you expect in each site and region, so the quote covers the design you will actually run.

Tunnel docs

Plan-based account limits

Account limits differ by plan and can decide the tier. Free and Pay-as-you-go accounts allow 50 custom applications in the Application Library, while Enterprise allows 100. Across the account, Cloudflare One lists 500 Access applications, 1,000 tunnels, 25 active cloudflared replicas per tunnel and 50,000 routes, and says some of these may be raised on Enterprise. Count your applications and replicas against these numbers before you assume a lower plan fits.

Account limits

Self-hosted licenses and running costs

The open-source components carry no license fee. cloudflared and Pomerium Core are both Apache-2.0, and Headscale is BSD-3-Clause. The Tunnel service itself stays hosted by Cloudflare, so a self-hosted route replaces that bill with infrastructure, staff time for upgrades and support. For a self-hosted control plane from Pomerium, the Enterprise edition is the one license line to quote, so request its price and terms in writing.

Pomerium pricing

Which option fits: a decision path from the resource type to the control plane

The path starts at the resource to reach. Internal web apps first ask whether an identity check must sit in front of each app. Without that requirement, the path leads to self-hosted OpenZiti or NetBird. If web data may leave your infrastructure, the inbound port question decides: an origin with no inbound port allowed points to Cloudflare Access with Cloudflare Tunnel, since cloudflared only makes outbound connections. Confirm that wiring in your own environment. If web data must stay in house, self-hosted Pomerium fits. SSH, RDP and private network targets ask only whether data may leave your infrastructure. Where it must stay, self-hosted OpenZiti or NetBird fits. Where it may leave, a hosted service is accepted only once written controls are in place.

Branches run from the resource type through identity, inbound ports and data location.

Where Cloudflare Access and Tunnel keep data, and what leaving involves

The cards below cover where a Cloudflare Access and Tunnel deployment carries traffic, runs connectors, stores configuration and enforces control, and what a move would touch in each area. Read them together: the connector can run in your network, but policy decisions, identity sessions and tunnel records sit with the hosted service unless you export them first.

Where traffic travels

cloudflared makes outbound connections to Cloudflare's global network, and each connector routes to the nearest Cloudflare data center. Every request to a published application therefore crosses Cloudflare's infrastructure before it reaches your origin. Confirm any regional or data localization settings in your contract before you assume where traffic and logs are processed, since default routing alone does not define residency.

Connect networks docs

Where the connector runs

The cloudflared daemon runs on hosts you control, such as virtual machines, containers or the Docker image, inside your own network. It needs no inbound listener, so your firewall can block all inbound traffic to the origin network while the connector still reaches Cloudflare. Check which hosts run connectors, how many replicas serve each tunnel, and whether the machines carrying SSH, RDP or web traffic receive the same patching and monitoring as other production systems.

cloudflared downloads

Export through Terraform

Cloudflare's Terraform provider manages Access applications, policies, groups, identity providers, service tokens, certificates, tunnels, routes and virtual networks. Definitions can therefore live in version control and be applied to a new account. Confirm what state and secrets the tooling stores, because state files may hold service token values or tunnel credentials. Decide where state lives, who can read it and how it is encrypted before you treat the code as your export.

Terraform provider repository

Lock-in at the control plane

The cloudflared repository is licensed under Apache License 2.0, so the connector code is open source and can move to another environment. The Tunnel service it connects to is Cloudflare's hosted commercial service, so the connector is portable, but the control plane is not. Tunnel records, routing, Access policies and session enforcement must be rebuilt in the target. Ask for the written terms that cover the service and confirm which Zero Trust features your renewal includes.

cloudflared repository

What leaving involves

An exit re-creates each Access policy and group in the target, re-registers connectors and routes, and changes DNS records so hostnames point at the new entry point. Keep your identity provider connected throughout, because users authenticate against it in both systems. Test each application after cutover, including SSH and RDP paths, and keep the existing tunnel running until every test passes.

When self-hosted Pomerium or OpenZiti fits better, and what running it involves

Neither product is the right answer when the organization must keep traffic and policy inside its own infrastructure, because Cloudflare Tunnel and Cloudflare Access both depend on Cloudflare's hosted service for routing and policy decisions. For web applications, the closest self-hosted match to Access is Pomerium Core, an Apache-2.0 identity-aware reverse proxy that gives clientless access to internal apps. Confirm before you assume it: the self-hosted control plane is reserved for the Enterprise edition, so the edition you need depends on whether you want central policy management on your own servers. Check the Pomerium pricing page and get the edition confirmed in writing.

For private hosts and networks, evaluate OpenZiti, an Apache-2.0 zero trust overlay that can run entirely on your own infrastructure, and NetBird, whose clients are BSD-3-Clause while its management, signal and relay servers are AGPLv3 and can be self-hosted with Docker. The AGPLv3 server components need legal review before deployment, including what obligations apply if you modify those servers or make them available to users over a network. Note also that cloudflared is open source under Apache-2.0, but the Tunnel control plane it connects to is Cloudflare's commercial service, so running cloudflared alone does not self-host the product. Review the NetBird license with counsel before you choose.

Running either option moves operational work onto your team. You own hosting for the controllers, gateways and connectors, in your cloud accounts or data center, along with the network paths those components need. You own identity provider integration: wiring SAML or OIDC, mapping groups to access policies, and re-creating the rules you now hold in Access, where policy gaps tend to appear during migration. You own TLS, including certificate issuance, renewal and any internal certificate authority for private hosts. You own high availability, because no provider's edge network absorbs failures for you. You also own upgrades and security patches, plus logging and on-call: audit logs for access decisions, alert routing and a named person responsible outside business hours. Ask each vendor which of these it supports in writing, and cost the staffing for them before you choose.

What moving off Cloudflare Access or Tunnel involves, step by step

Moving off Cloudflare Access or Tunnel is a six-step sequence that keeps every application reachable while the replacement takes over. Each step produces an inventory, export, mapping, test result or change record that the next step depends on. The sequence ends with a documented cutover and a record of retired tunnels and tokens.

  1. Inventory every hostname, route and policy

    List every published hostname, private host, network route, Access application and policy in the Cloudflare One account, along with the tunnel or connector that serves each one. The app owners you supply confirm which applications are still in use, which are retired and who approves each one. The output is one register with a row per application, showing its owner, its user groups and its dependencies, such as service tokens used by scripts or CI jobs. This step is done when app owners have signed off every row and no application is left without a named owner.

  2. Export definitions and confirm completeness

    Export tunnels, routes, virtual networks, Access applications, policies, groups, identity provider settings and service tokens. Where the Cloudflare Terraform provider covers a resource, read its current state into code, and use the Cloudflare API for anything the provider does not cover. Record which method produced each object. Compare the exported count with the register from step one and resolve every gap before continuing. Confirm with Cloudflare which secret values can be exported, because token secrets may need to be reissued on the target. This step is done when the counts match and the export is stored in version control.

  3. Map each policy to the target model

    Translate each Access application and policy into the target's access model, matching identity groups, device posture conditions, path rules and session settings to equivalent controls. Identity administrators confirm group membership and the identity provider mapping for each rule. Flag anything that does not map cleanly, such as Gateway DNS, network or HTTP policies with no counterpart, device checks the target handles differently, or session behavior that changes. Decide in writing whether each flagged item is rebuilt, accepted with a documented risk or dropped. This step is done when every policy has a target equivalent or a signed exception.

  4. Stand up the target in parallel

    Deploy the replacement in your own infrastructure while the existing identity provider stays unchanged, so users keep signing in through the same directory. Keep Cloudflare Tunnel and Access running throughout, so nothing is switched during this step. Configure connectors and the access policy engine from the mapped policies in step three, and enable audit logging from the first day. This step is done when the target runs in a staging environment, the identity provider configuration is confirmed unchanged and the logs reach your log store.

  5. Test each app with real user groups

    Test every application with accounts from each real user group, plus failure cases such as a user outside the granted group, an expired session, a lost device, a revoked token and a connector that is offline. App owners run the functional tests, and identity administrators run the access tests, recording each result against its register row. Illustrative example: a contractor account should reach the staging application it is granted and be refused an internal finance host. This step is done when every row has a passed result or a documented fix and a retest.

  6. Cut over DNS and connectors, then retire

    Run the cutover in the change window you set, moving DNS records and connectors to the target in the order agreed in the plan. Keep a rollback path that restores the original DNS records and leaves the Cloudflare connectors running until acceptance is signed. After acceptance, retire tunnels, service tokens and Access applications that are no longer needed, revoking their credentials and stopping the cloudflared services on each host. File a change record with timestamps, the register, test results, approvals and the rollback decision. This step is done when the record is filed and no tunnel or token remains active without an owner.

What buyers ask before choosing between Cloudflare Tunnel and Cloudflare Access

How much does Cloudflare Access and Tunnel cost, and what drives the bill?

Cloudflare's Tunnel documentation lists no pricing or plan requirement for Tunnel itself, so the bill comes from the Cloudflare One plan that carries Access and any features bundled around it. The Zero Trust plans page offers a free plan for a proof of concept, does not list per-user prices, and directs wider SASE packaging to sales. Ask for a quote that states the billing basis (users, seats or another unit), the plan tier, which add-ons are included (such as Gateway, WAN or Firewall), the support level, the term length and the renewal terms. Recurring costs are the subscription and add-ons. One-time costs are your own deployment, configuration and testing. Internal effort rises with application count, identity providers and policy complexity, so model those alongside the subscription. Also check the account limits for your scale, since they cap how far one account can grow.

Can Cloudflare Tunnel and Cloudflare Access work together, or does one replace the other?

In most deployments they are used together, and neither one replaces the other by default. Tunnel carries the connection from a private resource to Cloudflare without a publicly routable IP address, while Access decides which identities may reach each application. Cloudflare's documentation says Cloudflare Mesh is now the default connector for private access and private networks, so confirm which connector serves each route before you plan changes. Before any cutover, verify in a test environment how each hostname, tunnel route, identity provider and Access policy connect, and record the result. If a self-hosted replacement is the goal, the wiring shows which parts must move together: the connector path, the identity check and the policy enforcement. Do not assume the routing from a diagram. Confirm it in your own environment.

How long does it take to move off Cloudflare Access and Tunnel?

The answer depends on the inventory, so no duration is given here. DeployOpen agrees timelines in writing before work starts, and most engagements are fixed-scope. Effort is driven by three things: the number of applications, the complexity of the policies, and how much downtime each application can tolerate. A handful of web apps with simple group rules is a different job from hundreds of SSH and RDP targets with per-device rules and nested identity groups. Low downtime tolerance adds parallel running, staged cutover and longer test windows. Before you ask for a scope, count your applications, export the current policies, and mark which apps have change windows and which cannot go down. Those three lists are the inputs a written scope needs.

What does a Cloudflare Access migration need from our own team?

The work needs named people in four roles, plus time in a change calendar. App owners confirm which applications exist, who uses them, what access they need and what downtime is acceptable. Identity administrators manage the identity provider, group membership and any MFA requirements that Access policies depend on. A network contact confirms routes, firewall rules, DNS records and any private networks that Tunnel or Mesh will serve. Cloudflare's documentation describes cloudflared as making outbound-only connections, so inbound listeners are not needed, which simplifies the network review, but the team still has to confirm that outbound paths to Cloudflare are permitted. Someone must also own the change window, including dates, freeze periods and who can approve a rollback. Keep a decision log so each application has an owner, a policy and a test result.

Can our own engineers do this migration without outside help?

Yes, if your team has the skills and the time, but a production move needs tested rollback from the first application. The skills include administering Access applications and policies, configuring an identity provider with SAML or OIDC, managing DNS and routing, and scripting configuration exports, for example through Cloudflare's Terraform provider. Testing means a staging copy of each application, test accounts in every group, and negative tests that confirm denied users stay denied, along with checks for MFA prompts and session lengths. Rollback planning means keeping the existing Access path live until the new path passes, writing a reversal step for each application, and naming who can call a rollback during the change window. Teams that lack one of these skills often bring in outside help for the cutover and keep the rest in house.

Can cloudflared be self-hosted because it is open source?

No. The cloudflared connector is open source under the Apache License 2.0, so you can read, build and audit it, but the Tunnel service it connects to is Cloudflare's hosted, commercial service. Each connector still depends on Cloudflare's network to route traffic, and Access policy enforcement sits on Cloudflare's side. Running cloudflared on your own servers still leaves the routing and policy service with Cloudflare. If the goal is to keep the whole access path under your control, the self-hosted options covered on this site are separate products with their own architecture, licensing and migration effort, and each needs its own evaluation before you choose it. Check the cloudflared repository for the current license text.

How DeployOpen helps you choose, implement or move between these options

DeployOpen helps teams decide whether Cloudflare Tunnel, Cloudflare Access or a self-hosted option fits their access model, then plans, implements, documents and supports the chosen platform inside your own cloud accounts, data centers or air-gapped networks. Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.

How we scope

  • Map the web apps, SSH hosts and RDP targets behind Cloudflare Tunnel and the users who reach them through Access.
  • Check planned Access applications, policies and identity providers against published Cloudflare One account limits.
  • Agree the written scope, deliverables and timeline before work starts, with ongoing support available as a retainer.

How we build

  • Deploy cloudflared connectors in your infrastructure with outbound-only connections, so no inbound listener is opened on the origin.
  • Configure Access policies with SSO, group rules and service tokens, then test each rule against blocked users.
  • Where Terraform is in use, manage Access applications, policies and tunnels as code using Cloudflare's Apache-2.0 provider.

How we hand over

  • Document the tunnel inventory, routes, Access policies and connector placement so your team can review each rule.
  • Deliver a runbook covering connector operation, policy changes and access requests, agreed in the written scope.
  • Prepare access control settings and log evidence for your compliance team and independent assessors, who issue any audit conclusions.

How we support

  • Back up connector configuration and access policy exports as part of operations, and confirm restore steps with your team.
  • Upgrade cloudflared and any self-hosted components, then retest access paths after each change under a retainer.
  • Run security testing of applications and APIs behind the tunnel, and cloud and infrastructure checks.

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.