Modern VPN Protocol Deep-Dive Series

🛂 What Is ZTNA (Zero Trust Network Access) from a "Top 1%" Perspective — Its Structural Difference from VPN and the SDP Model

Introduction

This article is part of the Top 1% Series’ full article guide.

Prerequisites

Getting the Big Picture

In a Nutshell

Where VPN operates on a model of “trust a device that has successfully authenticated as a member of the network segment,” ZTNA has no concept of “joining a network” at all — instead, for every single request to an individual application, it verifies the user’s and the device’s state, then temporarily opens only the minimum necessary path. The accurate way to understand this isn’t “the next version of VPN” — it’s that the very unit of trust each model assumes is fundamentally different.

graph TB
    subgraph VPN["Traditional VPN"]
        VC["Client"] -->|"After successful authentication"| VNet["Can reach the entire VPN segment<br/>(can also connect to other hosts within it)"]
    end
    subgraph ZTNA["ZTNA"]
        ZC["Client"] -->|"Verified on every request"| Controller["Controller<br/>(verifies identity and device state)"]
        Controller -->|"Dynamically opens a temporary path<br/>only to the approved app"| App1["App A"]
        Controller -.->|"No path exists at all<br/>to apps that aren't approved"| App2["App B (unreachable)"]
    end

Fundamentals, Thoroughly Explained

Why VPN Ends Up Assuming “Network-Level Trust”

VPN establishes a connection using the IP address — a Layer 3 (network layer) concept — as its unit. Once a client succeeds at connecting via VPN, it typically becomes reachable at the routing level across the IP address range within that VPN segment. This is an intrinsic property of VPN as a Layer 3 technology, arising from the combination of the virtual IP address handed out at connection time and the corporate network’s routing table.

This structure carries a specific risk. Once authentication is breached — stolen credentials get used to log in, or a malware-infected device connects through VPN as a legitimate user — an attacker gains network-layer reachability to every other host within that VPN segment too. This phenomenon, where the network itself hands an attacker a path into internal systems they were never meant to reach, is called lateral movement. No matter how strong the encryption and authentication of the VPN itself are, the design assumption that “once you’re connected, you get to act as a member of that network” is exactly what lays the groundwork for lateral movement.

The SDP (Software-Defined Perimeter) Model: Making the Network “Invisible”

Most ZTNA products are implemented on an architecture model called SDP (Software-Defined Perimeter). At its core, SDP separates the control plane from the data plane and is built on the idea that “until you’re authenticated, the protected resource behaves as if it doesn’t exist on the network at all.”

sequenceDiagram
    participant U as User (client)
    participant C as Controller<br/>(IdP integration, policy evaluation)
    participant G as Gateway<br/>(in front of the protected app)
    participant App as Internal application

    U->>C: Authentication request (SSO via IdP + device state submission)
    Note over C: Verifies the user's identity, group<br/>membership, and device security state
    C-->>U: Returns only the list of apps this user is allowed to access
    Note over G: Up to this point, G behaves as if it isn't<br/>listening on any port U might send to at all
    C->>G: Instructs it to open a temporary path,<br/>limited to this user and this app
    U->>G: Connection request to the approved app
    G->>App: Relays the request

The property shown in this diagram — the gateway behaves as if it doesn’t respond to anything until authentication happens — is often implemented with a technique called SPA (Single Packet Authorization). An unauthenticated client running a port scan against the gateway’s port can’t even tell whether the port is open or closed (an ordinary firewall responds to indicate a “closed port,” whereas SPA simply doesn’t respond at all, so the network’s very existence becomes invisible from the outside). This property — where the protected infrastructure behaves as if it simply doesn’t exist, from an outside observer’s perspective — is sometimes described as a “dark cloud.” It’s a design in stark contrast to VPN, where an IKE or OpenVPN port still responds (even pre-authentication).

Two Implementation Approaches: Agent-Based and Clientless

ZTNA products broadly split into two implementation approaches.

Both approaches share one thing in common: the connector initiates an outbound connection from inside the corporate network toward the cloud. This lets external access work while keeping a safer default firewall posture — “allow no inbound connections at all” — in place on the corporate side (in contrast to a VPN server, which has to open and listen on a specific inbound port).

Aside: ZTNA products still use VPN-protocol technology for their internal transport

Even though this article has framed “ZTNA is something different from VPN,” the actual transport connecting a connector to a controller, or a client to a gateway, is typically implemented with TLS, or sometimes an encrypted tunnel built on WireGuard (Cloudflare Access and Twingate, for example). What ZTNA actually changes isn’t “whether it uses an encrypted transport” — it’s the control logic that decides who that transport gets opened for, when, and how far. Keeping that distinction in mind connects your existing VPN-protocol knowledge to your understanding of ZTNA.

Continuous Verification: Authentication Isn’t a “One-Time Event”

Another key characteristic of ZTNA is that it keeps verifying continuously throughout the session, even after access has been granted. Under a traditional VPN, once authentication succeeds, that session typically stays trusted until it’s disconnected. ZTNA continuously or intermittently checks factors like the following, and revokes access the moment a condition is no longer met.

The idea of not treating “authentication (who is this)” and “authorization (what can they do)” as something resolved once, at connection time, but instead evaluating them repeatedly for as long as the session lasts, is the practical implementation of Zero Trust’s slogan: “Never trust, always verify.”

The View from the Top 1% (What Experts See)

Why “Making the Network Invisible” Works as a Defense Against Lateral Movement

From an intruder’s (or a compromised device’s) perspective, the first stage of an attack is usually reconnaissance — scanning for reachable hosts and open ports. In a configuration like VPN, where a device gains reachability to an entire network segment, there’s no structural way, at the network level, to stop that reconnaissance from happening in the first place. ZTNA’s insistence on a gateway that doesn’t respond at all before authentication (stealth via SPA) is a defense positioned as far upstream as possible in the fight against lateral movement, precisely because it denies the attacker the raw material for reconnaissance in the first place. Microsegmentation — reachability limited strictly to individual applications — also serves as a last line of defense in depth: even if access to one application is ever compromised, the blast radius stays confined to that single application.

ZTNA Is “One Implementation of Zero Trust,” Not Zero Trust Itself

Zero Trust is the name of a broader security design philosophy and set of architectural principles, defined in documents like NIST SP 800-207. ZTNA is just one implementation of that principle applied to a specific scenario: remote access (accessing internal resources from outside the organization). Zero Trust’s principles are meant to apply equally to traffic inside the corporate network as well (communication between microservices, for instance), not just remote access — so equating “we deployed ZTNA” with “we’ve achieved Zero Trust” isn’t accurate.

Common Misconceptions and Pitfalls

Troubleshooting Perspective

Troubleshooting a ZTNA access failure starts with isolating which stage the denial is happening at: authentication, device posture, or authorization (policy).

  1. Login at the IdP itself fails: Caused by an authentication error on the IdP side (wrong password, MFA not configured) — this is a problem upstream of the ZTNA controller entirely. Check the IdP’s own logs.
  2. Login succeeds, but a specific app is unreachable: Typically an authorization-stage problem — a gap in the policy (who’s allowed to access which app), or the user isn’t in the group the policy expects.
  3. Access usually works, but is denied from one specific device: Likely tripping a device posture check (unpatched OS, EDR not running, and so on). Check the ZTNA admin console’s access logs to see whether the denial reason is an authentication error or a failed posture check.

Prevention and Long-Term Countermeasures

Summary

Things to Keep in Mind Starting Today

  1. When you hit a ZTNA access failure, first isolate which stage the denial is happening at — authentication, device posture, or authorization — using the admin console’s logs.
  2. When evaluating a new remote-access requirement, don’t frame it as a binary “VPN or ZTNA” choice — judge the scope based on whether per-user authentication is possible and whether the target can be scoped to the web or a specific application.

That’s all 4 articles in the Modern VPN Protocol Deep-Dive series. If you’d like to review the whole thing by ear during a commute or while doing chores, check out [Listen] The Modern VPN Protocol Deep-Dive Series, Fully Recapped.

References

Comments

Feel free to leave thoughts, questions, or corrections below (sign in with a GitHub account to comment or react).