Privacy

ZTNA vs VPN: What Is the Difference and Which Should You Use?

A VPN puts your device on the company network. ZTNA connects you to a single application and nothing else. That one difference changes the security of remote access.

Cysoro Security TeamPublished · 8 min read
VPNwhole networkZTNAone app only PRIVACY ZTNA vs VPN One app at a time, or the whole network?
Quick answer

ZTNA, zero trust network access, connects a user and device to one specific application after checking identity and device posture for that session. A VPN connects the device to a whole network segment, where it can reach far more than the applications the user needs. ZTNA limits lateral movement and hides unpublished applications; a VPN is simpler and still fits site-to-site links and network-level access.

Key takeaways

  • A VPN grants network access; ZTNA grants access to one named application at a time, per session.
  • ZTNA checks identity, device posture and context before every application session, while a VPN usually checks once when the tunnel is built.
  • Neither wins everywhere: ZTNA fits remote staff and contractors, while VPNs still carry site-to-site links and network-level work.

For twenty years, remote access meant one thing: a VPN. You logged in, joined the company network, and worked as if you were in the office. ZTNA, zero trust network access, breaks that model — and for good reason.

What is the difference between ZTNA and a VPN?

A VPN gives a device an encrypted connection into an organization's network, while ZTNA connects a user and device to individual applications after checking them against policy. A VPN authenticates the user when it sets up the tunnel; ZTNA decides access to each application separately, per session.

The difference is what the connection can reach. After a VPN login, the device usually has a route to every system the network allows, which gives an attacker with stolen credentials room for lateral movement. After a ZTNA login, the user reaches only the applications policy allows, and unpublished hosts are invisible.

NIST SP 800-207, the reference definition of zero trust architecture, never uses the term ZTNA. It frames zero trust as minimizing uncertainty in least-privilege, per-request access decisions on a network viewed as compromised. ZTNA products implement that idea for remote access.

How does a VPN work?

A VPN works by building an encrypted tunnel between a device and a VPN gateway, then giving the device an address on the internal network. The gateway's filtering rules decide what the device can reach, but the device is, from the network's point of view, inside.

NIST describes a VPN as a virtual network built on top of existing physical networks. In IPsec tunnel mode, the original packet is wrapped in a new encrypted packet, and the gateway unwraps it and forwards it onward. Our guide to what a VPN tunnel is walks through that process step by step.

The VPN gateway is the weak point. It listens on the internet — UDP ports 500 and 4500 for IPsec, TCP 443 for SSL VPN — and attackers exploit it repeatedly. In January 2024, CISA issued Emergency Directive 24-01 in response to widespread, active exploitation of SSL VPN products.

How does ZTNA work?

ZTNA works through a broker: the user and device are checked against policy, and the broker then connects them to one named application, and nothing else. The application is invisible until the check passes.

NIST SP 800-207 separates the decision from its enforcement. In ZTNA, those components map to familiar pieces: the policy engine decides whether a subject gets access, the policy administrator opens or closes the session, and the policy enforcement point — a connector or gateway in front of the application — enables and monitors the connection.

How ZTNA connects you to one application 1. You askfor one application,not the network 2. Broker checksidentity, device posture,risk and policy 3. One connectionto that app only —everything else hidden Access is re-evaluated during the session — a risky device can be cut off mid-taskConnectors inside your network dial out to the broker, so no inbound firewall rules are needed.
ZTNA in three steps: request one application, pass a policy check, get a connection to that application only. Illustration by Cysoro.

The connector model removes inbound exposure. Application connectors make outbound connections to the broker, typically over TCP 443, so the data center needs no listening VPN concentrator. The broker, not your network, is what the internet can reach.

ZTNA also supports agentless access: a contractor on an unmanaged device can reach a specific web application through a browser, with no client installed and no network access at all. That is a use case a VPN handles poorly, since a VPN account plus network ACLs is the only way to give a third party access.

ZTNA vs VPN: side-by-side comparison

The table below compares the two models on the properties that matter most: what they grant, when trust is decided, what an attacker can reach, and what they cost to run.

PropertyRemote-access VPNZTNA
Unit of accessNetwork segment or address poolNamed application: host plus port and protocol
Decision pointAt tunnel setup, usually oncePer session, re-evaluated on posture, risk or time changes
Inbound exposureConcentrator listens on the internetBroker in the cloud; connectors dial out only
Lateral movementDevice can scan and reach anything routing allowsUnpublished hosts are invisible; no route to other apps
Device checkOptional host checker at connect timePosture as a policy input, often continuous
Third-party accessVPN account plus network ACLsClientless browser access to specific apps
VisibilityNetwork addresses are visible and scannableApplications hidden until access is granted
Typical failureA phished login lands on the networkAn allow-all policy rebuilds the VPN

One row deserves emphasis: the typical failure. ZTNA's security comes from policy, not from the product name. A ZTNA deployment that publishes whole subnets to all employees is a VPN with a new logo, and it fails the same way a VPN does.

Which is more secure, ZTNA or a VPN?

ZTNA is more secure than a VPN for remote access to specific applications, because it limits what a stolen login or an infected device can reach. But that advantage only holds if the policies are written per application and kept tight.

Under NIST SP 800-207's third tenet, authentication and authorization to one resource will not automatically grant access to a different resource. A VPN does the opposite by design: it makes you a host on the network, and then relies on firewalls and segmentation to limit where you can go.

That said, a VPN is not automatically insecure. A well-run VPN with phishing-resistant MFA, patched gateways, least-privilege firewall rules and network segmentation is far safer than a sloppy ZTNA deployment. The model sets the ceiling; the implementation decides where you actually land.

ZTNA also does not fix the applications behind it. It controls who reaches an application, not what the application does with the request. An authenticated user, or an attacker with a stolen session, can still exploit a vulnerability in the application itself.

When should you choose ZTNA?

Choose ZTNA when staff need specific applications from anywhere, when contractors need access from unmanaged devices, or when you want to remove an internet-facing VPN gateway that keeps needing emergency patches.

ZTNA fits best for remote and hybrid staff reaching a defined set of web and private applications, for third parties who should see one system and nothing else, and for organizations already moving applications to the cloud. Browser-based ZTNA is especially useful for contractors, since it needs no client and no network account.

It also fits the zero trust journey. CISA's Zero Trust Maturity Model describes applications reachable only over a VPN as the Traditional stage; each stage above it puts more applications in direct reach of authorized users. Moving applications behind ZTNA is one of the clearest steps up that ladder.

When should you keep a VPN?

Keep a VPN for site-to-site links between offices, for work that genuinely needs network-level access, and when your applications cannot sit behind a broker. A VPN is also the simpler, cheaper choice for a small team with a handful of users.

Site-to-site VPNs are the clearest case: two office gateways holding an encrypted tunnel between them is a job ZTNA does not do. Some IT administration, legacy applications and network protocols also need real network connectivity, not a brokered application session.

Cost matters too. A VPN can be a one-time appliance plus licenses, while ZTNA is usually a per-user subscription. For a five-person business with one office server, the VPN plus MFA is the proportionate answer. For a full guide to securing that setup, see our small business cybersecurity checklist.

How do you migrate from a VPN to ZTNA?

Migrate from a VPN to ZTNA one application at a time: inventory what the VPN actually carries, put the most sensitive applications behind ZTNA first, run both in parallel, and retire the VPN only when nothing depends on it.

Migrating from VPN to ZTNA in four steps 1Inventorywhat apps and usersactually use the VPN 2Pilotone sensitive app,one team, tight policy 3Move appsin waves, keepingthe VPN as fallback 4Retire VPNonly when nothingdepends on it NIST expects most enterprises to run zero trust and perimeter access side by side for a long time.A phased migration is the normal path, not a failure of nerve.
Phased migration from VPN to ZTNA: inventory, pilot, move applications in waves, then retire the VPN. Illustration by Cysoro.

Start with an inventory, because most VPNs carry traffic nobody remembers authorizing: old applications, forgotten integrations, and users who connected once and never stopped. Logging what the VPN actually carries for a month usually surprises everyone.

Then pilot one sensitive application with one team, writing the policy per application and per group. Keep the VPN running as a fallback during the pilot, and only retire it when monitoring shows nothing depends on it. The goal is not to switch products quickly; it is to end up with tighter access than you started with.

Do not copy VPN rules into ZTNAIf your migration ends with every employee able to reach every application, you have rebuilt the VPN at a higher price. Write policies per application, per group, and review them quarterly.

What are the common mistakes with ZTNA and VPNs?

The most common mistakes are treating either model as a finished security program: buying ZTNA and writing allow-all policies, or running a VPN with no MFA and an unpatched gateway, and assuming the tunnel alone is enough.

  • Allow-all ZTNA policies. Publishing whole subnets to all employees defeats the point of per-application access.
  • VPN without MFA. A password-only VPN gateway is one phished login away from full network access.
  • Unpatched gateways. Internet-facing VPN appliances are a favorite target; patch them on the vendor's schedule, not yours.
  • Forgetting the applications. ZTNA controls who reaches an application, not what the application does. Patch and monitor the apps too.
  • No visibility. Both models need logging: who accessed what, from which device, and when. Without it, you cannot investigate an incident.
  • Ignoring the user experience. If ZTNA is slower or harder than the VPN, staff will find workarounds. Pilot with real users, not just IT.

The bottom line

ZTNA and a VPN solve the same problem — letting people work from outside the office — with opposite trust models. A VPN trusts the device once it is inside the network. ZTNA trusts nobody and checks every application session on its own merits.

For most organizations, the answer is a phased move: keep the VPN for site-to-site links and network-level work, move staff applications behind ZTNA one at a time, and write tight policies. And whichever model you run, confirm your connection is not leaking with the free what is my IP checker.

Frequently asked questions

What is ZTNA in simple terms?

ZTNA is a way of giving remote users access to one application at a time, after checking who they are and whether their device is safe. The user never joins the company network, and applications they are not allowed to use stay invisible to them.

Is ZTNA a replacement for a VPN?

It can replace a remote-access VPN for staff who only need specific applications. It does not replace site-to-site VPN links between offices, or work that genuinely needs network-level access, such as some IT administration tasks.

Is ZTNA more secure than a VPN?

Usually, yes, for remote access. A stolen VPN login can reach anything the network allows, while a stolen ZTNA login reaches only the applications that identity is entitled to. But a ZTNA deployment with allow-all policies is just a VPN with a new logo, so policy quality decides the outcome.

Does ZTNA use a VPN tunnel?

Sometimes. A client-based ZTNA app can carry traffic in an encrypted tunnel, much like a VPN client. The difference is what the connection can reach and where the access decision is made, not whether encryption is used.

What is the difference between ZTNA and zero trust?

Zero trust is the whole architecture: identity, devices, data, networks and monitoring, with no implicit trust based on location. ZTNA is one component of it, the part that controls remote and internal access to applications.

Do small businesses need ZTNA?

Most small businesses do not need a full ZTNA platform. A well-configured VPN with MFA, patching and least-privilege firewall rules is often enough. ZTNA becomes worth it when you have contractors, sensitive applications, or staff working from unmanaged devices.

Can you run ZTNA and a VPN at the same time?

Yes, and most organizations do during migration. NIST expects most enterprises to run zero trust and perimeter-based access side by side for an indefinite period, moving applications behind ZTNA one at a time.

What does ZTNA cost compared with a VPN?

ZTNA is usually a per-user subscription, often more per user than a VPN, while a VPN can be a one-time appliance plus licenses. The comparison should include the cost of patching and monitoring an internet-facing VPN gateway, and the cost of a breach if that gateway is exploited.

Sources

  1. NIST — Zero Trust Architecture, SP 800-207
  2. NIST — Planning for a Zero Trust Architecture, CSWP 20
  3. NIST — Guide to IPsec VPNs, SP 800-77 Rev. 1
Written & fact-checked byCysoro Security Team

The engineers and analysts who build Cysoro's domain scanner, email-authentication checks and free security tools. We test what we write about every day — SPF, DKIM, DMARC, certificates, look-alike domains and phishing — and check each guide against the relevant standards, government guidance and vendor documentation.

  • Email authentication
  • Phishing & BEC
  • Domain & DNS security
  • Small-business security

Checked against NIST SP 800-207 on zero trust architecture, NIST CSWP 20 on planning a zero trust architecture, and NIST SP 800-77 Rev. 1 on IPsec VPNs.

How we write and fact-check →

Free tools for this topic

No account needed.

See where your domain stands

Free for up to 3 domains. No card, no installs.

Start free