ZTNA vs VPN: Key Differences, When to Replace, and When to Layer
.jpeg)
Last updated: November 2026
Short answer: A VPN connects a remote device to your corporate network and then trusts it with whatever that network allows. ZTNA (Zero Trust Network Access) connects a verified user to one specific application at a time, and it never places the device on the network.
The one-line difference: VPN grants network access; ZTNA grants application access.
That difference drives everything else: how far an attacker can move after stealing a login, how much of your infrastructure faces the internet, and how you scope access for contractors. It doesn't mean the VPN disappears overnight. Most teams run both for a while, and some keep a small VPN for good.
We make dope.security, an on-device Secure Web Gateway, so read this with that in mind. We don't sell ZTNA or a VPN today, which means we don't have a horse in the ZTNA-vs-VPN race. We do care about one thing that gets missed: what happens to web security once the VPN stops carrying your traffic. New to the term? Start with What Is ZTNA?.
Key takeaways
- VPN = network access. ZTNA = app access. A VPN places the device on the network. ZTNA brokers a connection to one approved app after identity and device checks.
- ZTNA limits lateral movement. A compromised account or laptop reaches only the apps it was allowed to use, not the whole network.
- VPN gateways are a high-value target. Internet-facing VPN appliances have been the subject of urgent government directives (see CISA's ED 24-01 below).
- Most teams layer before they replace. ZTNA takes over private apps with modern auth first. A small, scoped VPN often stays for legacy apps and admin paths.
- Removing the VPN can remove your web filtering. If web traffic used to ride the VPN to a firewall filter, you need a new web control when the VPN goes. ZTNA doesn't do that job.
What is the difference between ZTNA and VPN?
| VPN | ZTNA | |
|---|---|---|
| What you get | A tunnel onto the corporate network (or a segment of it) | A brokered connection to a specific application |
| Trust model | Trusted once connected; access is whatever the network and firewall rules allow | Each app session is checked; authenticating to one app doesn't grant access to another |
| What's exposed to the internet | The VPN gateway or concentrator | Usually just the broker; app connectors typically make outbound-only connections |
| Device checks | Often at connect time, if at all | Identity and device posture evaluated per app, per session |
| Lateral movement risk | High: a compromised device is effectively on the LAN | Lower: the user sees only the apps the policy allows |
| Best fit | Legacy apps, broad network protocols, admin access to infrastructure | Private web and client-server apps, contractors, and third-party access |
| What it doesn't do | Inspect web and SaaS traffic, unless you route it through a firewall filter | Inspect web and SaaS traffic; it governs app access, not internet use |
One nuance competitor pages tend to skip: many modern VPNs now support per-app VPN and split tunneling, and many ZTNA products use encrypted tunnels under the hood. The real difference isn't "tunnel vs no tunnel." It's the default trust model. VPNs start from network access and carve it down. ZTNA starts from no access and grants one app at a time. That's the core of zero trust as NIST SP 800-207 defines it: no implicit trust based on network location, and "authentication and authorization to one resource will not automatically grant access to a different resource."
How does a VPN work, and where does it struggle?
A remote-access VPN client builds an encrypted tunnel from the device to a gateway inside, or at the edge of, your network. Once connected, the device behaves as if it were in the office. It can resolve internal DNS, reach internal IP addresses, and talk to anything the firewall rules allow.
That model was built for a world where the important apps lived in your data center. It struggles in three places today:
- The trust is too broad. A user on the VPN can usually reach far more than the one app they need. If that user's credentials or laptop are compromised, so is that reach.
- The gateway is exposed. A VPN gateway has to be reachable from the internet, which makes it a target. In January 2024, CISA issued Emergency Directive 24-01 over actively exploited vulnerabilities in Ivanti Connect Secure, Ivanti's SSL VPN, and Ivanti Policy Secure. Follow-up direction required federal agencies to disconnect all instances of the affected products by February 2, 2024. That doesn't mean every VPN is unsafe. It means the internet-facing gateway is a single point you have to patch and watch very closely.
- SaaS doesn't need it. Microsoft 365, Google Workspace, Salesforce, and other SaaS apps live on the internet, not behind your firewall. Sending that traffic through a VPN adds a detour without giving you access you didn't already have.
How does ZTNA work?
ZTNA puts a policy check in front of every private app. A typical flow:
- The user signs in through your identity provider, usually with SSO and MFA.
- The ZTNA service checks device posture (managed? encrypted? patched?) and context.
- If policy allows this user, on this device, to reach this app, the broker connects them to that app and nothing else.
- A connector near the app, in the data center or cloud network, usually makes outbound-only connections to the broker. The app doesn't need an inbound port open to the internet.
Gartner describes ZTNA as creating "an identity- and context-based, logical access boundary around an application or set of applications," where "the applications are hidden from discovery." For the full explainer, including how ZTNA relates to Zero Trust and to an SWG, see What Is ZTNA?.
Is ZTNA more secure than VPN?
For private-app access, ZTNA is generally the stronger model, for two reasons: it limits what a compromised account can reach, and it keeps apps from being directly reachable on the internet. Neither ZTNA nor VPN, though, protects you from what a legitimate, verified user does once they're in an app or on the open web.
ZTNA also brings new dependencies. NIST's threat analysis for zero trust architecture lists stolen credentials, denial of service against the policy components, and reliance on proprietary vendor formats among the risks (NIST SP 800-207, Section 5). If your identity provider or ZTNA broker goes down, access goes with it. Plan for that the same way you'd plan for a VPN outage.
Is ZTNA faster than VPN?
It depends on the architecture, not the acronym. ZTNA avoids sending all of a user's traffic through a central concentrator. Only private-app traffic goes through the broker. But most ZTNA is delivered as a cloud service, so private-app traffic still makes a stop at the vendor's broker on the way to the connector. Test it with your own users and your own apps before you trust anyone's speed claims, including ours.
Does ZTNA replace VPN?
Mostly, over time, for private apps that work behind a broker. Rarely all at once. Four questions decide whether ZTNA replaces your VPN or layers on top of it:
1. What do people actually reach over the VPN today?
Pull the VPN logs and sort destinations into three buckets: SaaS (shouldn't be on the VPN at all), private apps that use modern auth like SAML or OIDC, and legacy private apps. Your mix determines the plan. We're not going to give you a "typical" percentage, because yours is the only one that matters.
2. Do your private apps support modern authentication?
If they speak SAML or OIDC, or can sit cleanly behind a ZTNA broker, they're good early candidates. If a few can't, plan a thin VPN scoped to those apps, and budget to modernize or retire them.
3. Who needs access to infrastructure, not apps?
Admins who need console access, SSH, or broad network protocols to reach data center gear often stay on a tightly scoped VPN or a dedicated privileged-access tool. Treat that as a small, named exception, not the default.
4. Where will web traffic be inspected once it stops riding the VPN?
This is the question most ZTNA projects miss. Answer it before you cut over (more below).
How do you migrate from VPN to ZTNA?
An example sequence for a team with a working VPN and a mostly SaaS workforce. Adjust the timing to your app count and change windows:
- Inventory (first 2 weeks). List every app reached over the VPN, bucket them as above, and note the user count on each.
- Pilot (next ~4 weeks). Stand up ZTNA for private apps with modern auth. Tie it to your identity provider and your endpoint management posture data. Keep the VPN up in parallel.
- Move users (next ~4 weeks). Move SaaS traffic off the VPN to direct access, with conditional access in your identity provider. Move pilot apps to ZTNA. Watch help-desk tickets and tune posture rules.
- Shrink the VPN (ongoing). Narrow the VPN to the named legacy apps and admin paths that still need it. Document each one and give it a retirement or modernization date.
The goal isn't "VPN at zero by Q3." It's "the VPN is no longer the default way in."
What should you do when your VPN appliance reaches end of life?
When a VPN appliance can no longer be patched, the question isn't only "what box replaces it?" It's what the box was doing. A VPN replacement project is a good moment to decide private-app access and web filtering separately.
What did SonicWall announce for Gen 6 and Gen 6.5 firewalls?
In November 2026, SonicWall said in a product advisory that Gen 6 and Gen 6.5 firewalls running SonicOS 6.x, including virtual units, have reached end of support: no more firmware updates or security patches, "regardless of severity," per Help Net Security and The Hacker News. It told customers to replace them and stop using them at the internet edge, starting with remote-access units such as SSL VPN. A remote-access gateway has to be reachable from the internet, so one that can't be patched is a standing risk. Model dates are on SonicWall's product life cycle tables.
Replace the appliance, or rethink the architecture?
SonicWall recommends replacing Gen 6 units with a Gen 8 firewall running SonicOS 8, planned with an authorized partner. For teams with site-to-site and on-prem needs, that is a sound path.
Here is our view, and it is ours, not SonicWall's. Often the appliance did two jobs: remote access to private apps, and web filtering for remote users. We'd put private-app access behind a ZTNA product (what is ZTNA?) or a scoped VPN, and web traffic behind an on-device secure web gateway, rather than buy another appliance by default.
To be clear about scope: dope does not sell a VPN or ZTNA today. dope.security does not replace your firewall, VPN or ZTNA product for private-app access; it covers web, SaaS and AI traffic on managed Mac and Windows endpoints. It does not cover servers, Linux hosts or CI runners.
What happens to web filtering when the box goes?
If your firewall or VPN appliance also did web filtering and SSL inspection for remote users, that job needs a new home when the appliance goes. An on-device SWG can do it on the laptop wherever it is. dope.security is a secure web gateway whose proxy runs on the managed Mac or Windows laptop, not in a cloud data center, and dope.SWG is built to run alongside common VPN clients such as GlobalProtect, FortiClient and AnyConnect, which are on its default bypass list. Trade-offs: Endpoint-Based SWG vs Cloud Proxy SWG.
Decision list: inventory Gen 6 units, find the edge-facing ones, list what each does (remote access, web filtering, site-to-site), and decide per function.
What happens to web security when the VPN goes away?
In many organizations, the VPN quietly did a second job: it carried web traffic back to a firewall that did URL filtering or SSL inspection. When users stop connecting to the VPN, that filtering stops covering them, and ZTNA doesn't pick it up. ZTNA governs access to your private apps. It doesn't filter the open web, enforce SaaS tenant rules, or catch a sensitive file headed to a personal AI account.
So you need a web control that works wherever the laptop is. You can do that two ways:
- A cloud proxy SWG, which routes web traffic to the vendor's data centers for inspection.
- An on-device SWG, which inspects traffic on the laptop and sends it straight to its destination.
We compare the trade-offs in Endpoint-Based SWG vs Cloud Proxy SWG.
Where does dope.security fit in a ZTNA or VPN setup?
To be clear about scope: dope.security has no built-in ZTNA today, and it doesn't replace your VPN or ZTNA for private-app access. Here's what it does:
- dope.SWG is an on-device Secure Web Gateway for Mac and Windows. URL filtering, SSL inspection, and Cloud Application Control run on the device, and traffic goes direct instead of through a vendor data center. We call that Fly Direct. The product page lists it at under 100 MB of RAM and up to 4x the performance of legacy SWGs.
- Dopamine DLP inspects uploads for PII, PCI, PHI, and intellectual property, so sensitive files don't leave through the browser or an AI tool.
- It runs alongside your VPN client. dope.SWG works with clients like GlobalProtect, FortiClient, and AnyConnect, so web policy applies whether or not the VPN is connected. Here's how that works. One public sector customer rolled out its SWG specifically so web policy no longer depended on users turning the VPN on.
- dope.vpn is coming soon. Our site lists it as a way to create point-to-point connections to behind-the-firewall applications. It isn't generally available, and we're not giving a date here.
In practice: keep or choose a ZTNA product, a VPN, or both for private apps. Use an SWG for the web, SaaS, and AI traffic that never touches them. If you're mid-migration, book a 20-minute demo and bring your VPN app inventory. We'll show you which traffic the SWG covers and which still needs your ZTNA or VPN.
Frequently asked questions
What is the main difference between ZTNA and VPN?
A VPN gives a device access to the corporate network. ZTNA gives a verified user access to one specific application at a time, without putting the device on the network.
Does ZTNA replace VPN completely?
Usually not right away. ZTNA can take over access to most private apps, but many organizations keep a small, scoped VPN for legacy apps and admin access.
Is ZTNA more secure than a VPN?
For private-app access, generally yes. ZTNA limits lateral movement and hides apps from the internet. It still depends on strong identity and device checks, and it doesn't inspect web or SaaS traffic.
Can I run ZTNA and VPN at the same time?
Yes. Most teams run both during a migration: ZTNA for apps that support it, and the VPN for whatever is left.
Is ZTNA faster than VPN?
It can be, because it doesn't send all traffic through one concentrator. But most ZTNA runs through a cloud broker, so test with your own apps and users.
Do I still need a VPN for SaaS apps?
Generally no. SaaS apps like Microsoft 365 and Salesforce sit on the internet. Use identity-based conditional access and a web security control instead of routing that traffic through a VPN.
Does ZTNA protect web browsing?
No. ZTNA governs access to private apps. Web, SaaS, and AI traffic need a Secure Web Gateway or similar control.
Is zero trust the same as ZTNA?
No. Zero trust is the security model. ZTNA applies it to private-app access. See What Is ZTNA?.
Is ZTNA part of SSE or SASE?
Yes. ZTNA is typically one component of SSE, alongside SWG, CASB, and DLP. SASE adds SD-WAN networking. See SSE vs SASE.
Does dope.security offer ZTNA or a VPN?
Not today. dope.security offers an on-device Secure Web Gateway that runs alongside your existing VPN or ZTNA. dope.vpn is listed as coming soon.
What should I do if my SonicWall Gen 6 firewall is end of support?
SonicWall says to replace Gen 6 and Gen 6.5 units running SonicOS 6.x and to stop using them at the internet edge, and it recommends Gen 8 with SonicOS 8. Some teams use the replacement to move private-app access to ZTNA and web filtering to an on-device SWG. That second path is our view, not SonicWall's.
Can ZTNA replace a VPN appliance?
For private apps that work behind a broker, usually over time (see "Does ZTNA replace VPN?" above). Legacy and admin paths may need a scoped VPN.
Related reading
- What Is ZTNA? How Zero Trust Network Access Fits Zero Trust
- Is Zscaler a VPN? ZIA, ZPA, and What Actually Replaces Your VPN
- Endpoint-Based SWG vs Cloud Proxy SWG
- GlobalProtect, FortiClient, AnyConnect, etc. hand-in-hand with dope.security
- The Remote Work Security Playbook
- SSE vs SASE: What They Are and Which One You Need First
Planning a VPN-to-ZTNA move and want to make sure web security doesn't fall through the gap? Email sales@dope.security.


.jpeg)

