Skip to main content
cd ../lexicon
sys/docs/lexicon/vpn.md
Lexicon
VPN

VPN

A concise technical definition of a VPN (virtual private network), covering its architecture, operational relevance, common misunderstandings and related terminology.
Difficulty: Intermediate
4 min read
Updated 2026-08-10

In plain English

Plain definition

A concise technical definition of a VPN (virtual private network), covering its architecture, operational relevance, common misunderstandings and related terminology.

Technical Definition

A VPN establishes a tunnel: original packets are encapsulated inside an outer protocol so they can traverse an intermediate network transparently to the applications generating them. Depending on the technology chosen, the tunnel may add confidentiality (encryption), integrity checking and endpoint authentication, or it may provide only encapsulation and routing without cryptographic protection. Widely deployed VPN technology families include IPsec-based tunnels, TLS-based tunnels such as OpenVPN, and newer lightweight designs such as WireGuard. Each family differs in how it negotiates keys, authenticates peers and represents the tunnel as a network interface to the host operating system.

Operational Relevance

Practitioners rely on VPNs for several distinct operational patterns: remote-access connections that let an individual device reach an internal network, and site-to-site connections that join two networks (for example, an office and a cloud virtual network) over a shared transport. In both cases the VPN is a security and routing boundary: traffic entering the tunnel is subject to whatever access controls, routing policy and monitoring are applied at the tunnel endpoints. Correct operation depends on consistent configuration at both ends, including compatible cryptographic parameters (where encryption is used), correct address and route assignment, and firewall rules that permit the negotiated tunnel traffic.

Architecture Relationship

A VPN typically appears in an architecture as a gateway or client component that presents a virtual network interface to the operating system or hypervisor. Traffic destined for addresses reachable through the tunnel is routed onto that virtual interface, encapsulated, and sent to the corresponding remote endpoint, which decapsulates it and forwards it onto the target network. The VPN endpoint is therefore a natural point for applying network segmentation, logging and access policy, and it commonly sits alongside firewalls, routers and identity systems rather than replacing them.

Example

A remote worker’s laptop runs a VPN client that establishes a tunnel to a corporate gateway. Once the tunnel is active, the laptop receives an internal address and a route to the corporate subnet. Requests to internal systems are encapsulated by the client, sent across the public internet to the gateway, decapsulated, and forwarded onto the internal network exactly as if the laptop were physically present on that network.

Misunderstanding

A common misunderstanding is that a VPN guarantees anonymity or complete security. In practice, a VPN protects the confidentiality and integrity of traffic between its two endpoints only; it does not secure the endpoint devices themselves, does not prevent data leakage through misconfigured DNS or split-tunnel routing, and does not hide activity from the party operating the far-end gateway or VPN provider. Treating a VPN as a substitute for endpoint hardening, access control or monitoring is a frequent source of unrecognised residual risk.

  • Tunnelling — encapsulating one protocol’s packets inside another for transport across an intermediate network.
  • IPsec — a protocol suite commonly used to build authenticated and encrypted VPN tunnels.
  • Gateway — the network device or service that terminates a VPN tunnel and forwards traffic onto the target network.
  • Split tunnelling — a configuration where only some traffic is routed through the VPN tunnel and the rest uses the local network directly.
  • Site-to-site connection — a VPN pattern that joins two networks rather than a single client device.

Further Reading

For authoritative background on the protocol standards underlying many VPN technologies, consult the IETF RFC Series, the primary publication channel for Internet technical specifications, at the RFC Editor.