How is ZTNA different from a VPN?
A classic remote access VPN authenticates a user once and then attaches their device to a network. From there, whatever is routable is reachable, and internal firewalls are often loose. If the laptop is compromised, the attacker inherits that wide reach. ZTNA flips the default. The user never joins a network; a broker checks each connection request against policy and then connects the user to a single application. Other systems stay invisible. VPN explains the tunnel model ZTNA was designed to improve on.
| Aspect | Remote access VPN | ZTNA |
|---|---|---|
| What the user reaches | A network segment | Named applications only |
| When trust is checked | At connection time | Per session or per request, continuously |
| Visibility of apps | Reachable once connected | Hidden behind the broker |
| Device checks | Optional | Usually built in |
| Lateral movement risk | Higher | Lower |
How does a ZTNA connection work?
- The user opens an app or runs a client. The request goes to a broker or identity-aware proxy, not to the app.
- The broker sends the user to the identity provider for sign-in, usually with Multi-Factor Authentication.
- Device signals are checked where available: managed device, disk encryption, current OS patch level.
- Policy decides whether this user, on this device, at this time, may reach this app.
- If allowed, the broker connects the session to the app through an outbound connector or a private path. The app never accepts direct internet connections.
- Decisions and sessions are logged, and access can be cut immediately when policy or risk changes.
What are agent-based and agentless ZTNA?
Agent-based setups install a client on the device. It can report posture and carry non-web protocols such as SSH or database connections. Agentless setups work through the browser: an identity-aware reverse proxy sits in front of web apps and needs nothing installed, which suits contractors and personal devices. Many organizations use both, agentless for web tools and an agent for admin protocols.
How can I build ZTNA-style access on my own machines?
For web apps, run an identity-aware proxy on a small edge machine in front of internal tools. Open source options such as oauth2-proxy or Pomerium work with any OpenID Connect provider. A minimal oauth2-proxy launch looks like this:
oauth2-proxy \ --provider=oidc --oidc-issuer-url=https://id.example.org/realms/staff \ --client-id=grafana-gate --client-secret-file=/etc/oauth2-proxy/secret \ --cookie-secret-file=/etc/oauth2-proxy/cookie --cookie-secure=true \ --email-domain=example.org --allowed-group=ops \ --upstream=http://10.70.0.31:3000 --http-address=127.0.0.1:4180
nginx terminates TLS on the public address and passes requests to port 4180; the dashboard on 10.70.0.31 is reachable only over a WireGuard tunnel from the edge. Group membership in the identity provider now controls access per app. For SSH, combine a bastion host with short-lived certificates or an access proxy that records sessions. Reverse Proxy covers the nginx side.
What policies make sense to start with?
Begin with groups that already exist in your identity provider: engineering reaches the code review and monitoring tools, finance reaches the billing dashboard, support reaches the ticket system and nothing else. Require multi-factor sign-in for every app, and a fresh sign-in for admin areas after a shorter interval than for read-only tools. Add device or location conditions later, once the basic mapping works. The policy file then doubles as a clear, reviewable record of who can reach what, which audits tend to ask for anyway.
What does ZTNA not solve?
- A compromised identity with valid MFA can still reach what that identity is allowed to reach; keep permissions narrow.
- Vulnerable applications stay vulnerable to authorized users; patching remains essential.
- The broker and identity provider become critical infrastructure and need redundancy and careful protection.
- Some legacy protocols are awkward to put behind a broker and may still need a tunnel.
How does it fit with network-level protection?
ZTNA works at the application and identity layer. Our network edge filters volumetric DDoS traffic before it reaches a machine (Edge DDoS filtering), and your host firewall decides which ports exist at all. ZTNA then decides which person may use each service. All three layers together leave very little exposed: one port for the proxy, one for the tunnel, and nothing else. Zero Trust Edge describes the broader model these pieces belong to.
Which machines suit a self-hosted access proxy?
The proxy is light; TLS and a few thousand sessions fit easily on the E1 or the S2. Put one in each region where your team works, for example Seattle and Amsterdam, to keep sign-in and app access fast.
Machines for an Identity-Aware Proxy
| Server | Processor | Cores / threads | Memory | Storage | Network | Per month | Smallest order |
|---|---|---|---|---|---|---|---|
| E1 | Intel Xeon E3-1240 v3 | 4 / 8 | 16 GB DDR3 | 2x 240 GB SSD | 2x 1 Gbps | $30.52 | $91.56 (3 months) |
| E2 | Intel Xeon E3-1270 v3 | 4 / 8 | 32 GB DDR3 | 1x 480 GB SSD | 2x 1 Gbps | $38.32 | $114.96 (3 months) |
| S1 | Intel Xeon E-2276G | 6 / 12 | 64 GB DDR4 | 1x 1 TB NVMe | 2x 10 Gbps | $53.32 | $53.32 (1 month) |
| S2 | Intel Xeon E-2356G | 6 / 12 | 64 GB DDR4 | 1x 1 TB NVMe | 2x 10 Gbps | $58.39 | $58.39 (1 month) |
Keep Reading
Zero Trust Edge
Security and networking delivered at the network edge under zero trust rules, what the model bundles, and how the ideas apply to your own servers.
OpenVPN
What a virtual private network does with tunnels and encryption, the main protocols, and how to run one on your own machine.
OpenReverse Proxy
The server that sits in front of your applications, terminating TLS, routing by hostname and balancing load, with a working nginx example.
OpenAuthentication
How a system confirms that a user, device or service is who it claims to be, the main methods, and Linux logins.
OpenFAQ
Quick Answers
Zero trust network access. It grants access to individual applications after checking user identity and device, instead of joining users to a network.
For most application access, yes. Tunnels remain useful for server-to-server links and some legacy protocols.
Yes, with an identity-aware proxy such as oauth2-proxy or Pomerium, an OpenID Connect provider, and apps reachable only through the proxy.
The component that receives access requests, checks identity and policy, and connects approved users to the specific application.
Not for web apps, which can use a browser-based proxy. An agent is needed for device checks and non-web protocols.