Zero Trust Network Access, SASE Architecture, VPN Replacement, and Access Policies
How Cloudflare One replaces VPNs with ZTNA and Secure Web Gateway: tunnels, identity policies, phased migration, and verification.
This page summarizes Cloudflare documentation on Cloudflare One, a Secure Access Service Edge (SASE) platform that unifies Zero Trust Network Access (ZTNA), Secure Web Gateway (SWG), and connectivity for private applications. The cluster’s central question is how to replace broad VPN access with per-request identity verification, application-scoped tunnels, and Internet traffic inspection without sacrificing remote work.
Why replace a VPN with Zero Trust and SASE?
Section titled “Why replace a VPN with Zero Trust and SASE?”Many teams still use a virtual private network (VPN) so remote users reach internal systems. Cloudflare’s learning material describes VPNs as a perimeter (“castle and moat”) model: after login, users are often trusted for the whole corporate network, which enlarges blast radius if an account or device is compromised.
Many organizations rely on VPNs to protect their data, but for many reasons, VPNs are often not ideal for defending against today’s risks.
— Cloudflare, Why should you replace your VPN?
VPNs invoke a perimeter-based security model (often called the castle-and-moat model ↗︎), which grant users access to the entire internal network once they login to the VPN client.
— Cloudflare, Why should you replace your VPN?
By contrast, Zero Trust assumes verification on every request. SASE is the architectural pattern that puts networking and security on one cloud control plane.
Zero Trust ↗︎ is a security model designed around the principle of least privilege. In the past, once you logged into a corporate network, you were “trusted” to move around freely. Zero Trust changes that. It assumes that threats can exist both outside and inside the network. Therefore, every request is authenticated and authorized based on identity and context before granting access.
— Cloudflare, Cloudflare One
In recent years, secure access service edge ↗︎, or SASE, has emerged as an aspirational architecture to help achieve these goals. In a SASE architecture, network connectivity and security are unified on a single cloud platform and control plane for consistent visibility, control, and experiences from any user to any application.
— Cloudflare, Evolving to a SASE architecture with Cloudflare
Common conclusion: ZTNA replaces “join the network, access everything” with explicit paths to specific apps or subnets, while an SWG inspects Internet-bound traffic near the user instead of backhauling all browsing through a VPN concentrator—a pairing Cloudflare documents repeatedly for VPN replacement and company security.
VPN replacement versus ZTNA (what changes for users)
Section titled “VPN replacement versus ZTNA (what changes for users)”| Topic | Typical VPN | ZTNA / SASE (Cloudflare model) |
|---|---|---|
| Trust model | Broad internal trust after connect | Continuous authZ per app/request |
| Network exposure | Often whole corporate LAN | Micro-tunnels / scoped routes |
| Internet traffic | Often hair-pinned through DC | SWG policies close to user |
| Operations | Self-hosted concentrators, CVE risk | Cloud-managed ZTNA + connectors |
Zero Trust Network Access (ZTNA) ↗︎ is the main technology that enables organizations to transition from a traditional VPN configuration to a more secure and modern approach.
— Cloudflare, Why should you replace your VPN?
Cloudflare One: ZTNA (Access), SWG (Gateway), and connectors
Section titled “Cloudflare One: ZTNA (Access), SWG (Gateway), and connectors”Cloudflare One consolidates products called out across the cluster:
- Cloudflare Access — ZTNA for applications and infrastructure.
- Cloudflare Tunnel (
cloudflared) — outbound-only connectivity to Cloudflare without opening inbound firewall ports on your origin. - Cloudflare Gateway — SWG for DNS, network (L4), and HTTP (L7) policies.
- Cloudflare One Client — device agent for private network and Internet traffic through Cloudflare.
- Cloudflare Mesh — site-to-site / bidirectional mesh where IPsec from legacy gear is insufficient.
Traditional VPNs grant broad network access, create bottlenecks, and are difficult to scale. Cloudflare replaces VPNs with Zero Trust access — verifying identity and device posture on every request — using Cloudflare Tunnel, Access, and the Cloudflare One client.
— Cloudflare, Access internal applications securely
Cloudflare Tunnel connects internal apps to Cloudflare without opening inbound firewall ports
— Cloudflare, Company security — VPN replacement
Enforcement is split between ZTNA and SWG, managed from one dashboard:
There are two services that apply policy-based controls to traffic. Zero Trust Network Access: Our Access product manages access to specific networks or applications that are deemed private. … Secure Web Gateway: Our Gateway product is used to analyze traffic and apply policies, no matter the destination.
— Cloudflare, Cloudflare Security Architecture — Access control
How to connect private applications without exposing a public IP
Section titled “How to connect private applications without exposing a public IP”Cloudflare Tunnel (cloudflared): outbound-only application on-ramps
Section titled “Cloudflare Tunnel (cloudflared): outbound-only application on-ramps”For self-hosted apps, Cloudflare’s SASE reference architecture describes software connectors that maintain encrypted tunnels to Cloudflare’s network—usually no inbound firewall holes.
Connectivity to self-hosted applications is facilitated through tunnels that are created and maintained by a software connector, cloudflared. cloudflared is a lightweight daemon installed in an organizations’ infrastructure that creates a tunnel via an outbound connection to Cloudflare’s global network.
— Cloudflare, Evolving to a SASE architecture with Cloudflare
cloudflared manages multiple outbound connections back to Cloudflare and usually requires no changes to network firewalls.
— Cloudflare, Evolving to a SASE architecture with Cloudflare
After tunnels exist, user traffic reaches the app in one of two ZTNA patterns (both policy-gated):
- Public hostname (CNAME) resolving to the tunnel hostname (proxied HTTP access).
- Private IP reachability when the user device or network is connected via Cloudflare (WARP / private routing).
Typically, to provide access to internal resources, you use Cloudflare Zero Trust Network Access ZTNA ↗︎ which supports two methods for how the user device accesses a private resource. A CNAME in public DNS, that resolves to a hostname representing the Cloudflare tunnel which proxies the request to the internal application. An IP address exposed by Cloudflare tunnel, that again, proxies traffic direct to that IP address.
— Cloudflare, Access to private apps without having to deploy client agents
Network on-ramps: when you need whole sites, not one app
Section titled “Network on-ramps: when you need whole sites, not one app”The security architecture doc groups on-ramps for attaching networks and users to Cloudflare:
| Method | Role | Typical use |
|---|---|---|
cloudflared |
Inbound tunnel to apps/networks | Per-app or shared connector hosts |
| Cloudflare Mesh | Inbound + outbound tunnels | East–west, no IPsec on edge |
| Cloudflare WAN | IPsec/GRE from routers | Entire site traffic through Cloudflare |
| Cloudflare One Appliance | Appliance IPsec/GRE | Branch without capable routers |
| WARP Desktop Agent | User device tunnel | Remote users, posture-aware policies |
| Cloudflare Network Interconnect | Private fabric to Cloudflare | Colo adjacency |
Limiting exposure — A Zero Trust philosophy encourages organizations to limit the amount of ways in which networks or services can be accessed. Having public IP addresses or ingress paths into your network can introduce unwanted risk. This is typically accomplished by using outbound-only proxies that connect to Zero Trust vendors to only proxy authenticated traffic into your network, and do not require any public IP access of any kind.
— Cloudflare, Building zero trust architecture into your startup
Clientless access: private apps without a device agent
Section titled “Clientless access: private apps without a device agent”For contractors and partners, Cloudflare documents clientless paths (browser + identity) so you do not require endpoint software on every laptop.
This document describes an alternative approach which removes the need to deploy software to the user’s device, making it easier for allowing third party access such as contractors and partners.
— Cloudflare, Access to private apps without having to deploy client agents
Trade-offs appear in clientless access concepts: full device posture and private hostname reachability generally need the Cloudflare One Client; clientless fits web apps and tightly scoped browser flows.
Designing Cloudflare Access policies (ZTNA)
Section titled “Designing Cloudflare Access policies (ZTNA)”Cloudflare’s Designing ZTNA access policies for Cloudflare Access assumes DNS, IdP, device posture, and app connectivity are already in place. Policy design should mirror risk tiers (who, what device, which app).
Prerequisites before the first Allow rule
Section titled “Prerequisites before the first Allow rule”From the same design guide and policy design learning path:
- Inventory networks/subnets users reach today via VPN.
- Confirm identity and device posture sources of truth.
- Decide whether you start with default deny (only explicit Allow policies).
Organizations today are increasingly adopting a Zero Trust security ↗︎ posture … Zero Trust operates on the principle of “Never trust, always verify” and implements continuous authentication and strict access controls ↗︎ for all users, devices, and applications, regardless of their location or network.
— Cloudflare, Designing ZTNA access policies for Cloudflare Access
Access groups bundle IdP groups, MFA methods, and device signals; application policies order rules so stricter paths match first. The design guide’s “employees on untrusted devices” pattern combines Access (allow + Remote Browser Isolation) with a Gateway HTTP policy that blocks copy/paste and downloads—showing ZTNA and SWG composed for one app.
Identity onboarding best practice from device enrollment docs:
Most businesses use a single identity provider as the source of truth for their user directory. You should use this source of truth to onboard your corporate users to Zero Trust, for example by requiring company email addresses to login with your primary identity provider. Later on, you can add other login methods or identity providers as necessary for any contractors, vendors, or acquired corporations who may need access to your network.
— Cloudflare, Define device enrollment permissions
For heterogeneous users, Building zero trust architecture into your startup recommends scoping third parties by what they need, how strong auth must be, and how long access lasts—then choosing least-privilege models (secondary IdP, one-time PIN, or federated vendor IdP).
Secure Web Gateway (Gateway): Internet and SaaS traffic
Section titled “Secure Web Gateway (Gateway): Internet and SaaS traffic”Modern work breaks the old perimeter: users and SaaS live outside the office LAN.
Traditional network security relied on hardware firewalls at the perimeter of a corporate network. That model assumed users, applications, and data all lived inside the same network boundary.
— Cloudflare, Traffic controls
Gateway restores visibility by inspecting outbound traffic in the cloud:
A Secure Web Gateway (SWG) is a security service that sits between an organization’s users and the Internet. It inspects outbound traffic to enforce security policies, block threats, and prevent data loss.
— Cloudflare, Traffic controls
DNS filtering blocks or allows whole domains; HTTP filtering can target URLs, uploads, and content classes.
DNS filtering can only block or allow entire domains (for example, all of dropbox.com). HTTP filtering goes deeper — it inspects full URLs and request content, so you can block a specific page like dropbox.com/shared-folder, scan file uploads for sensitive data, or enforce acceptable use policies based on what users are actually doing on a site.
— Cloudflare, HTTP filtering
Per-user SWG rules need identity on the wire—typically the Cloudflare One Client in Traffic and DNS mode:
With Cloudflare One, you can create Secure Web Gateway policies that filter outbound traffic down to the user identity level.
— Cloudflare, Identity-based policies
Company Internet access use cases also tie DLP and Browser Isolation to Gateway (Secure your company’s Internet access).
Phased VPN-to-SASE migration (network teams)
Section titled “Phased VPN-to-SASE migration (network teams)”When VPN hardware must be displaced quickly, Network-focused migration from VPN concentrators to Zero Trust Network Access outlines a pragmatic phased path:
| Phase | Goal | Mechanism |
|---|---|---|
| Phase 1 | Replace VPN clients; gain identity-aware visibility | Cloudflare One Client + Cloudflare WAN IPsec to existing DC firewalls |
| Phase 2 | Offload heavy subnets from IPsec appliances | Move routes to cloudflared private network tunnels |
| Phase 3 | Reduce lateral movement | Per-application or smaller subnet connectors; protocol-level allow lists |
Phase 1: Quickly replace existing traditional/vulnerable VPN hardware with cloud-based remote access while gaining insight into application traffic.
— Cloudflare, Network-focused migration from VPN concentrators to Zero Trust Network Access
Software connectors remain the long-term Zero Trust recommendation:
Software connectors are usually preferred when considering a modern Zero Trust implementation for three reasons. They deliver a network connectivity model that is flexible and easy to replicate across environments. … Because daemons run close to your applications … you can build isolated network or application segments … preventing lateral movement.
— Cloudflare, Network-focused migration from VPN concentrators to Zero Trust Network Access
For greenfield teams, Building zero trust architecture into your startup stresses asset inventory, goal-setting, and embedding Zero Trust before sprawling VPC/VPN debt.
Entry learning paths:
- Replace your VPN — device-to-network remote access.
- Secure your Internet traffic and SaaS apps — Gateway-first rollout.
WAN transformation recommends starting user access with ZTNA before broader WAN changes.
Common mistakes and limits
Section titled “Common mistakes and limits”- Treating ZTNA like a VPN: granting large private CIDRs without segmenting tunnels reintroduces lateral movement—the opposite of micro-tunnel guidance in Building zero trust architecture into your startup.
- Skipping HTTP inspection: DNS-only policies miss path-level risk; see HTTP filtering.
- Identity without posture for high-risk apps: SSO alone may lack device health signals noted in the startup guide’s SaaS posture discussion.
- Forced full-tunnel Internet over legacy VPN: SASE splits private app access from SWG-inspected Internet paths (Network-focused migration).
- Third-party access too broad: site-to-site VPNs to customers often overshare; prefer scoped tunnels and Access policies (Building zero trust architecture into your startup).
How to check this on your site
Section titled “How to check this on your site”-
Confirm private apps are reachable only through Cloudflare (tunnel hostname or WARP private route), not a legacy public IP or VPN full-tunnel path—compare with Replace your VPN scenarios.
-
In the Cloudflare Zero Trust dashboard, review Access application policies: every sensitive app should require IdP authentication (and MFA or posture if documented for that tier), per Designing ZTNA access policies for Cloudflare Access.
-
Test Gateway by triggering a known-blocked DNS or HTTP category from a enrolled device; validate identity-based rules if you use Identity-based policies.
-
Export or sample Gateway activity logs and Access logs after a test login to verify audit fields match your compliance goals (Network-focused migration — Analytics and logging).
-
You can check automatically in Answerwell (our tool): https://answerwell.org/workspace
Report an error or ask a question
Section titled “Report an error or ask a question”If something on this page disagrees with your deployment or with current Cloudflare documentation, email yimasynthetic@gmail.com with the page URL and the exact statement you want clarified or corrected.