Replacing VPN with Cloudflare ZTNA: trade-offs and failure modes

Replacing VPN with Cloudflare ZTNA: trade-offs and failure modes

What you’ll take away : A VPN grants network access; ZTNA grants application access. Migrating means moving from implicit network trust to a per-application decision based on identity and device posture. The main win is a smaller blast radius; the things to watch are non-web apps, headless devices, and whether posture is actually enforced.
Legacy VPN vs Cloudflare ZTNA NET BY ME Legacy VPNVPN concentratorFlat internal network✗Implicit trust, lateral movementZTNAUser + devicePolicy (ID+posture)App AApp BApp C✓Per-app, least privilege

Current state: from network tunnel to per-app access

A VPN terminates the user on a concentrator and opens a network segment. Every app reachable on that segment becomes reachable — convenient, and exactly the problem. ZTNA (Cloudflare Access) inserts a decision on every request: identity (via the IdP) and device posture, per application, with no inbound port exposed — the cloudflared tunnel is outbound.

ZTNA request flow (Cloudflare Access) NET BY ME User + WARP /clientlessCloudflare edgeAccess policyIdP + posturecloudflaredtunnel (outbound)Private appDNS / network / HTTP policies evaluated at the edge — no inbound firewall port on the app side

Trade-offs

  • Agent vs clientless: clientless covers web apps; arbitrary TCP/UDP apps (SSH, RDP, thick clients) need the WARP client.
  • Latency: you trade backhaul to a central datacenter for a hop to the Cloudflare edge — usually favourable, but measure per region.
  • IdP dependency: authentication rests on the IdP; its availability and MFA configuration become critical.

Failure modes (what breaks quietly)

  • Posture not enforced: a policy that checks identity but omits posture lets a non-compliant device in — the control exists on paper but blocks nothing.
  • Over-scoped service tokens: an over-privileged machine token recreates broad access, the very thing you set out to remove.
  • Misconfigured split tunnel: an internal domain routed outside the tunnel leaks in clear or fails silently.
  • Headless devices: printers, IoT/OT cannot carry an agent; they need a dedicated on-ramp, or they stay outside the model.

Proving the negative: test that broad access is gone

  • From an authenticated device, try to reach an unauthorised app: it must fail (not rely on a downstream firewall).
  • Confirm on the app side that no inbound rule is open — the tunnel is outbound.
  • Present a non-compliant device: the posture policy must deny it.
  • Read Access logs: every access should be traced by user, app and decision.

Takeaway

ZTNA is not “swapping one tunnel for another”: it replaces network trust with a per-application decision. The value is real only if posture is actually evaluated and headless devices get their own path.

A question or some feedback? Reach me on LinkedIn: Mokrane Assam.

Mokrane ASSAM

Comments are closed.

Proudly powered by WordPress | Theme: SpicePress by SpiceThemes