CYBER SECURITY • NETWORKING AND INTERNET SECURITY

Secure Remote Access — Explain secure remote access approaches (VPN, zero trust concepts) (conceptual)

How organizations extend trusted network boundaries to remote users through encrypted tunnels and identity-centric architectures.

Historical Context & Motivation

The need for secure remote access arose as soon as organizations began connecting geographically dispersed offices and enabling employees to work from locations outside the physical perimeter of a corporate network. In the early days of networking, a leased line — a dedicated, private circuit between two sites — was the primary mechanism for site-to-site connectivity. While secure by virtue of physical isolation, leased lines were prohibitively expensive for anything beyond a small number of fixed endpoints. As the Internet grew into a ubiquitous transport medium in the 1990s, the central challenge became clear: how can an organization leverage the public Internet for remote connectivity without exposing sensitive traffic to eavesdropping, tampering, or impersonation?

1993
swIPe — First IP-Layer Encryption
John Ioannidis and Matt Blaze at Columbia University published the swIPe protocol, demonstrating that IP datagrams could be encapsulated and encrypted end-to-end, laying groundwork for what would become IPsec.
1996
PPTP and the Birth of Consumer VPN
Microsoft introduced the Point-to-Point Tunneling Protocol (PPTP), enabling dial-up users to establish encrypted tunnels to corporate networks over the public Internet. Despite later cryptographic weaknesses, PPTP popularized the VPN concept.
1998–2005
IPsec Standardization and SSL VPN Rise
The IETF standardized IPsec (RFCs 2401–2412), providing a robust, interoperable framework for network-layer encryption. Shortly after, SSL/TLS-based VPNs emerged, offering clientless browser-based access and greater firewall traversal.
2010
Forrester Coins 'Zero Trust'
Analyst John Kindervag at Forrester Research formalized the Zero Trust security model, arguing that implicit trust based on network location should be eliminated. The mantra became 'never trust, always verify.'
2020
NIST SP 800-207 and ZTA Mainstream Adoption
NIST published Special Publication 800-207 defining the Zero Trust Architecture (ZTA) reference framework. The global shift to remote work during the COVID-19 pandemic dramatically accelerated enterprise adoption of both VPN and zero trust solutions.

The historical trajectory reveals a fundamental tension: organizations want to use the cheap, globally available Internet as a transport layer, yet they need the confidentiality and integrity guarantees that once required dedicated physical links. This lesson explores two paradigms that address this tension — the Virtual Private Network (VPN), which creates encrypted tunnels over untrusted networks, and Zero Trust Architecture, which replaces implicit perimeter trust with continuous, context-aware verification.

Core Principles & Definitions

Before examining specific technologies, it is essential to establish the foundational security properties that any secure remote access mechanism must guarantee. These properties are grounded in classical information security goals — confidentiality, integrity, and authentication — but their realization differs significantly between VPN-based and zero trust approaches. The following grid outlines the core principles that underpin both paradigms.

1

Confidentiality via Encryption

All data in transit must be protected against eavesdropping. VPNs achieve this by encrypting packets inside a tunnel (e.g., AES-256 in IPsec). Zero trust systems rely on TLS 1.3 or mutual TLS (mTLS) for application-level encryption.
2

Authentication & Identity

Both parties must prove their identity before exchanging data. VPNs typically authenticate at connection establishment using pre-shared keys, certificates, or multi-factor authentication. Zero trust continuously re-evaluates identity and device posture on every request.
3

Integrity & Anti-Tampering

Messages must not be modified in transit. Cryptographic message authentication codes (MACs) or authenticated encryption modes (e.g., AES-GCM) ensure that any tampering is detectable and the packet is discarded.
4

Least Privilege & Micro-Segmentation

Users should access only the resources required for their role. Traditional VPNs often grant broad network access once connected; zero trust enforces per-resource authorization, limiting the blast radius of a compromised credential.
5

Continuous Verification

Trust should not be a binary, one-time decision. Zero trust architectures continuously assess signals — user behavior, device health, geolocation — to dynamically adjust access. This stands in contrast to VPN models where trust persists for the session duration.
KEY TAKEAWAY
Think of a VPN like a secure express highway with a toll booth at the entrance: once you pay the toll (authenticate), you can drive anywhere on the highway (the corporate network). Zero trust is more like a building where every single room has its own locked door and badge reader — you authenticate and are authorized at every doorway, and your badge can be revoked room-by-room if anything looks suspicious.

Visual Explanation — VPN Tunnel Architecture

The diagram shows a remote client (left) establishing an encrypted tunnel through the public Internet to a VPN gateway (right), which then routes decrypted traffic to corporate LAN resources. The packet encapsulation detail (bottom) illustrates how the original IP header and payload are encrypted and wrapped inside a new outer IP header, rendering the contents opaque to any intermediary such as an ISP.

The core mechanism of a VPN is tunneling — the process of encapsulating one network protocol inside another. When a remote user initiates a VPN connection, the VPN client software encrypts outbound packets, prepends a new IP header addressed to the VPN gateway's public IP, and transmits the encapsulated packet across the Internet. To any router or observer along the path, the payload is an indecipherable ciphertext; only the outer header is visible. At the gateway, the outer header is stripped, the payload is decrypted, and the original packet is forwarded onto the corporate LAN as though the user were physically present on-site. This process creates a virtual extension of the private network — hence the name virtual private network.

How It Works — VPN Protocols and Zero Trust Data Planes

VPN Protocol Families

VPN implementations are commonly categorized by the OSI layer at which they operate. IPsec functions at the network layer (Layer 3) and provides two sub-protocols: Authentication Header (AH), which guarantees integrity and source authentication without encryption, and Encapsulating Security Payload (ESP), which adds confidentiality through encryption. IPsec can operate in transport mode — encrypting only the payload while leaving the original IP header intact — or in tunnel mode — encrypting the entire original packet and wrapping it inside a new IP header. Tunnel mode is the standard for site-to-site and remote access VPNs because it conceals the internal addressing scheme.

SSL/TLS VPNs operate at the session/application layer (Layers 5–7) and leverage the same TLS handshake and record protocols that secure HTTPS. Technologies like OpenVPN use TLS for key exchange and encapsulate traffic over UDP or TCP, while WireGuard — a newer, minimalist protocol — uses a fixed set of modern cryptographic primitives (ChaCha20, Poly1305, Curve25519) to achieve high performance with a dramatically smaller codebase (~4,000 lines of kernel code versus ~100,000 for OpenVPN).

Zero Trust Data Plane Mechanics

In a Zero Trust Architecture (ZTA), the network is not divided into a trusted inside and an untrusted outside. Instead, every access request — regardless of origin — passes through a Policy Enforcement Point (PEP) that consults a Policy Decision Point (PDP). The PDP evaluates the user's identity (via an identity provider), the device posture (patch level, endpoint detection and response agent status, certificate validity), the requested resource, and contextual signals (time, location, behavioral analytics). Only when all policy conditions are satisfied does the PEP open a narrow, ephemeral communication channel to the specific resource. This channel is typically encrypted with mutual TLS (mTLS), where both the client and the server present certificates, providing bidirectional authentication that is absent in standard TLS.

🔑 Key Distinction
A VPN authenticates the session — once the tunnel is up, all traffic flows freely within the authorized network segment. Zero trust authenticates the individual request — each API call, file fetch, or database query is independently evaluated against policy, and authorization can be revoked mid-session.
TRUST SCORE (CONCEPTUAL)
T = f(identity_confidence, device_posture, context_signals, behavior_anomaly_score)
In zero trust systems, access decisions are modeled as a function T of multiple continuously evaluated inputs. While the exact formulation is vendor-specific, the conceptual framework treats identity_confidence (strength of authentication, MFA freshness), device_posture (OS patch level, EDR status), context_signals (geolocation, time-of-day), and behavior_anomaly_score (deviation from baseline patterns) as weighted inputs. If T drops below a threshold, access is revoked or stepped-up authentication is triggered.

Detailed Breakdown — VPN Types & Zero Trust Components

This diagram models the NIST SP 800-207 Zero Trust Architecture reference model. A subject (user + device) sends a request to the Policy Enforcement Point (PEP), which queries the Policy Decision Point (PDP). The PDP consults identity providers, SIEM analytics, device inventory, and threat intelligence before granting or denying access to the enterprise resource.

VPN Type Classification

Common VPN deployment types and their characteristics
VPN TypeOSI LayerPrimary Use CaseKey Protocol(s)
Remote Access VPNLayer 3 (IPsec) or Layer 4–7 (TLS)Individual users connecting to corporate network from laptops, phonesIPsec IKEv2, OpenVPN, WireGuard
Site-to-Site VPNLayer 3 (IPsec)Connecting two or more office LANs over the Internet as a single routed networkIPsec ESP tunnel mode, GRE over IPsec
SSL/TLS VPN (Clientless)Layer 7 (Application)Browser-based access to specific web applications without installing client softwareTLS 1.2/1.3 via reverse proxy
MPLS VPNLayer 2.5 (Label Switching)Service-provider managed connectivity between enterprise sites with QoS guaranteesLDP, BGP/MPLS VPN (RFC 4364)

It is worth noting that split tunneling is an important configuration choice in remote access VPNs. In a full tunnel configuration, all traffic from the client — including personal web browsing — is routed through the VPN, giving the organization complete visibility and control. In a split tunnel configuration, only traffic destined for corporate subnets traverses the VPN, while Internet-bound traffic exits directly from the client's local network. Split tunneling reduces latency and bandwidth load on the VPN concentrator but introduces risk, because the client simultaneously has a foot in the corporate network and the open Internet, potentially enabling lateral movement if the endpoint is compromised.

Worked Example — Designing a Secure Remote Access Strategy

Consider the following scenario: a mid-sized software company has 300 employees, 40% of whom work remotely. The company hosts internal services including a Git repository, a CI/CD pipeline, a Kubernetes cluster dashboard, and an internal wiki. Currently, all remote access is via a full-tunnel IPsec VPN. Management wants to evaluate whether migrating to a zero trust model would improve security and user experience. Walk through the analysis.

Migrating from VPN to Zero Trust: A Decision Framework
1
Step 1 — Inventory Existing Access PatternsBegin by cataloguing all internal resources and mapping which user roles access which resources. In this scenario, developers need the Git repo and CI/CD pipeline, DevOps engineers also need the Kubernetes dashboard, and all employees use the wiki. Under the current full-tunnel VPN, every authenticated user can reach every internal service — violating the principle of least privilege.
Finding: Over-provisioned access — VPN grants network-wide access regardless of role.
2
Step 2 — Assess Threat ModelIdentify realistic threats: credential phishing (a stolen VPN password grants full network access), compromised endpoints (malware on a developer laptop can pivot to the Kubernetes cluster), and insider threats. The current VPN architecture amplifies all three because the trust boundary is at the VPN gateway — once inside, lateral movement is unrestricted.
Risk: Single point of trust expansion — VPN authentication is the sole gate.
3
Step 3 — Design Zero Trust PolicyDefine per-resource policies. For example: access to the Git repo requires (1) a valid SSO token from the identity provider with MFA, (2) a device certificate issued by the company MDM, and (3) endpoint compliance (OS patched within 30 days, EDR agent active). Access to the Kubernetes dashboard adds a fourth condition: the user must belong to the 'DevOps' role in the identity provider's directory. Each policy is enforced by a zero trust proxy or Software-Defined Perimeter (SDP) gateway that sits in front of each resource.
Outcome: Granular, per-resource access rules replace single VPN tunnel entry.
4
Step 4 — Evaluate User Experience ImpactUnder the VPN model, users must launch a client, authenticate, and wait for the tunnel to establish before accessing any internal resource. Under zero trust, users authenticate via SSO in the browser; the zero trust proxy transparently handles mTLS and policy evaluation. Latency is often reduced because traffic flows directly to the resource proxy (often hosted in the cloud) rather than backhauling through a centralized VPN concentrator.
UX improvement: Seamless SSO replaces manual VPN connection; lower latency for cloud-hosted apps.
5
Step 5 — Plan Hybrid TransitionA pragmatic migration is rarely a hard cutover. The company deploys the zero trust proxy for cloud-hosted services first (Git, CI/CD), while retaining the VPN for legacy on-premises services (e.g., an older database that cannot be fronted by a modern proxy). Over time, as legacy services are modernized or proxied, VPN dependence is reduced. The final architecture may retain a VPN solely for emergency break-glass access.
Strategy: Phased migration — zero trust for cloud services, VPN retained for legacy, eventual convergence.

Strengths & Limitations — VPN vs. Zero Trust

Comparative analysis of VPN and Zero Trust approaches across key security and operational dimensions
DimensionTraditional VPNZero Trust Architecture
Trust ModelPerimeter-based — trust granted upon successful tunnel authenticationIdentity-based — trust continuously evaluated per request
Access GranularityBroad — typically full subnet or VLAN access once connectedFine-grained — per-application or per-API authorization
Lateral Movement RiskHigh — compromised endpoint can scan and reach other hostsLow — micro-segmented; each resource requires independent authorization
ScalabilityBottleneck at VPN concentrator; bandwidth-limitedCloud-native proxies scale horizontally; traffic goes direct-to-resource
Maturity & SimplicityMature, widely understood; simpler to deploy for small organizationsRequires identity infrastructure, MDM, SIEM integration; higher initial complexity
User ExperienceManual connection required; full-tunnel adds latency to non-corporate trafficTransparent SSO via browser or lightweight agent; lower perceived friction
Legacy SupportExcellent — any IP-routable service is reachable through the tunnelChallenging — legacy protocols (RDP, SMB) may require additional gateways
KEY TAKEAWAY
VPN and zero trust are not mutually exclusive — many real-world enterprises operate in a hybrid model where zero trust proxies protect modern cloud applications while a VPN provides a fallback for legacy on-premises systems. Think of it as renovating a house room by room: you install smart locks (zero trust) on the new additions while keeping the deadbolt (VPN) on the original front door until the whole house is modernized.

Connection to Advanced Theory — SASE, SDP, and Beyond

The convergence of networking and security functions has given rise to Secure Access Service Edge (SASE) — a cloud-delivered architecture coined by Gartner in 2019 that combines SD-WAN capabilities with security functions such as zero trust network access (ZTNA), cloud access security broker (CASB), secure web gateway (SWG), and firewall-as-a-service (FWaaS) into a unified platform. SASE represents the logical extension of zero trust principles: rather than deploying discrete security appliances at the network edge, all policy enforcement is performed in the cloud, close to the user, regardless of their physical location.

Advanced concepts extending VPN and zero trust foundations
ConceptScopeRelationship to This Lesson
Software-Defined Perimeter (SDP)A specific implementation pattern for zero trust, defined by the Cloud Security Alliance (CSA). Uses a controller to broker one-to-one connections between clients and resources.SDP is a concrete realization of the PEP/PDP model discussed in Section 4. It adds the concept of 'dark cloud' — resources are invisible to unauthorized users, reducing the attack surface to near zero.
SASEA cloud-native convergence of WAN and security services. Delivers ZTNA, SWG, CASB, and FWaaS from globally distributed points of presence.SASE subsumes the VPN and the zero trust proxy into a single cloud service, making the distinction between 'VPN replacement' and 'zero trust proxy' less relevant at the architectural level.
BeyondCorp (Google)Google's internal zero trust implementation, published in 2014. Every Google employee accesses internal services through an identity-aware proxy — no VPN required.BeyondCorp was the first large-scale, publicly documented zero trust deployment and strongly influenced NIST SP 800-207 and the broader ZTNA vendor ecosystem.
Post-Quantum VPNResearch into VPN protocols resistant to quantum computing attacks. NIST post-quantum key encapsulation mechanisms (e.g., ML-KEM) are being integrated into IKEv2 and WireGuard.Ensures long-term confidentiality of tunneled data against 'harvest now, decrypt later' attacks. This is an active area of cryptographic engineering.

As you progress in cybersecurity studies, the concepts introduced here — encrypted tunnels, identity-aware proxies, continuous trust evaluation, and micro-segmentation — will recur in courses on cloud security, network architecture, and security operations. The shift from perimeter-centric to identity-centric security is arguably the most significant paradigm change in enterprise networking since the adoption of the Internet itself, and understanding both the legacy (VPN) and the emerging (ZTA) frameworks is essential for designing resilient systems.

Practice Problems

PROBLEM 1CONCEPTUAL
Explain the fundamental difference between a VPN's trust model and a zero trust model in terms of when and how often trust is evaluated. Why does this distinction matter for limiting damage after credential compromise?
PROBLEM 2BASIC CALCULATION
A company's VPN concentrator supports a maximum aggregate throughput of 10 Gbps. If each remote user's VPN tunnel consumes an average of 25 Mbps (full tunnel) and there are 500 concurrent remote workers, calculate whether the concentrator can handle the load. What percentage of capacity is utilized? If the company switches 60% of its users to a zero trust proxy (which offloads their traffic from the concentrator), what is the new utilization?
PROBLEM 3INTERMEDIATE
An organization currently uses a remote access VPN with split tunneling enabled. A security audit reveals that an employee's personal laptop, connected via the VPN, was infected with malware that exfiltrated data from the internal network. Analyze which properties of split tunneling contributed to this breach and propose two mitigations — one within the VPN paradigm and one using zero trust principles.
PROBLEM 4APPLIED
A healthcare startup must comply with HIPAA's requirement to protect electronic Protected Health Information (ePHI) in transit. The startup has a cloud-hosted EHR (Electronic Health Record) system and 50 clinicians who access it from hospital Wi-Fi networks, home networks, and mobile hotspots. Design a remote access architecture that satisfies the HIPAA encryption-in-transit requirement while minimizing user friction. Justify your choice of VPN, zero trust, or hybrid approach, and explain which specific components (protocols, authentication mechanisms, device controls) you would deploy.
PROBLEM 5CRITICAL THINKING
A common criticism of zero trust is that it shifts the trusted computing base from the network perimeter to the identity provider (IdP) and the Policy Decision Point (PDP). Critically evaluate this claim. Does zero trust truly eliminate implicit trust, or does it merely relocate it? What happens if the IdP itself is compromised (as in the 2020 SolarWinds supply-chain attack that involved forged SAML tokens)? Propose architectural safeguards that mitigate single-point-of-failure risk in a zero trust identity infrastructure.

Lesson Summary

Secure remote access enables users to reach organizational resources over untrusted networks while preserving confidentiality, integrity, and authentication. Virtual Private Networks (VPNs) achieve this by creating encrypted tunnels — using protocols like IPsec, OpenVPN, or WireGuard — that encapsulate and encrypt packets so they can traverse the public Internet without exposure. VPNs authenticate at the session level and grant relatively broad network access once connected, making them simple to deploy but vulnerable to lateral movement after credential compromise.

Zero Trust Architecture (ZTA) — formalized in NIST SP 800-207 — replaces perimeter-based implicit trust with continuous, per-request verification. Every access request is evaluated by a Policy Decision Point (PDP) that weighs identity confidence, device posture, contextual signals, and behavioral analytics before the Policy Enforcement Point (PEP) grants a narrow channel to the specific resource. Emerging frameworks like SASE and SDP extend these principles into cloud-native architectures. In practice, most organizations adopt a hybrid approach — migrating modern applications to zero trust while retaining VPN access for legacy systems — progressively reducing implicit trust zones as infrastructure matures.

Varsity Tutors • Cyber Security • Secure Remote Access — VPN and Zero Trust Concepts