Use it when the secure-network question has been narrowed to VPN. Record exact source identity/address, destination, application, direction, zone/path, time and intended allow/deny or tunnel/admission outcome before changing policy.
VPN
A Virtual Private Network creates an authenticated protected logical path across an untrusted or shared network, but secure operation also depends on peer identity, algorithms, selectors/routes, endpoint policy, lifecycle and application verification.
1. VPNs encrypt traffic over untrusted networks.
2. Site-to-site (IPsec) and remote access (IPsec/IKEv2, TLS VPN, WireGuard).
3. Strong crypto and authentication (certs, MFA).
4. Patch VPN gateways urgently — high-value targets.
5. Log sessions.
endpoint → tunnel (IKE/TLS) → gateway → network
Context & applicabilityCommon mistakes · platform/version boundaries
A tunnel-up indication shows control-plane establishment, but it does not show correct traffic selection, bidirectional delivery or endpoint authorization.
Suspicious evidence: weak legacy protocol, IKEv1, broad selectors, split-tunnel leak, DNS mismatch, stale SA, asymmetric route, MTU failure, certificate expiry or tunnel up with zero encapsulation.
Next check: Continue from the first failing or unverified step, then move to the responsible Network Security, Firewalls, NAC, VPN, IAM, PKI or platform branch; make the smallest controlled change, repeat the original operation and verify deny/failure, failover and adjacent-flow regression behavior.
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
peer/user intent → underlay reachability → authentication/key exchange → tunnel/SA → selectors/routes/policy → encrypted data plane → application outcome
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
Subtopics
Go one level deeper into this subject.
VPN Fundamentals separates underlay transport, peer/user authentication, key exchange, security associations, traffic selectors, tunneling/encapsulation, routing, DNS and application outcome for site and remote-access designs.
Subtopic Site-to-Site VPNA Site-to-Site VPN protects selected traffic between networks or gateways, typically using stable peer identities, routing or policy selectors and bidirectional security associations across an untrusted underlay.
Subtopic Remote Access VPNRemote Access VPN authenticates an individual user/device and provides a protected connection into selected enterprise resources with assigned address, routes, DNS, posture and authorization policy.
Subtopic IPsecIPsec is an IP-layer security architecture using policies, security associations and protocols such as ESP or AH to protect selected IPv4/IPv6 traffic in transport or tunnel mode, commonly with IKEv2 key management.
Subtopic IKEInternet Key Exchange authenticates IPsec peers, negotiates cryptographic parameters, establishes IKE and child security associations, derives keys and manages liveness, rekey and deletion; current deployments should distinguish IKEv2 from deprecated IKEv1.
Subtopic IKEv1IKEv1 is the historic first Internet Key Exchange protocol with phase 1 and phase 2 negotiation models; it is deprecated and should be treated as legacy migration scope rather than a preferred new deployment.
Subtopic IKEv2IKEv2 is the current Internet Standard key-management protocol for IPsec, using IKE_SA_INIT and IKE_AUTH to establish an authenticated IKE SA and CREATE_CHILD_SA for protected traffic and rekeying.
Subtopic Security AssociationAn IPsec Security Association is a unidirectional set of peer, protocol, SPI, algorithms, keys, selectors, sequence/anti-replay and lifetime state used to process protected traffic; bidirectional communication normally uses paired SAs.
Subtopic ESPEncapsulating Security Payload protects IPsec traffic with confidentiality when encryption is selected and can provide integrity, data-origin authentication and anti-replay, operating in transport or tunnel mode under an SA.
Subtopic AHAuthentication Header provides connectionless integrity, data-origin authentication and anti-replay for IP packets without confidentiality, authenticating immutable IP-header fields and payload under an SA.
Subtopic Transport ModeIPsec Transport Mode protects the upper-layer payload of an IP packet while retaining the original IP header as the routed outer header, commonly supporting host-to-host or specific overlay uses.
Subtopic Tunnel ModeIPsec Tunnel Mode encapsulates the entire original IP packet inside a new outer packet protected by ESP or AH, enabling gateway-to-gateway and remote-access designs with separate inner and outer address realms.
Subtopic Pre-shared KeyA VPN Pre-shared Key is a symmetric secret used to authenticate peers or contribute to key establishment; its security depends on entropy, unique scope, protected distribution, lookup identity, rotation and exposure response.
Subtopic Certificate AuthenticationVPN Certificate Authentication binds a peer or device key to an asserted identity through PKI and validates chain, name/ID, usage, time and status before accepting proof of the corresponding private key.
Subtopic SSL VPNSSL VPN is a common product/category term for remote-access or application access using TLS-based secure transport; the exact protocol, client model, proxy behavior and network reachability must be identified rather than inferred from the legacy label.
Subtopic TLS VPNA TLS VPN uses current TLS to authenticate a gateway and protect a remote-access tunnel or proxied application session, often traversing common TCP/UDP transports while relying on PKI, session policy and client routing/DNS controls.
Subtopic VPN TroubleshootingVPN Troubleshooting locates the first failed boundary across underlay reachability, ports/NAT, negotiation, peer authentication, SAs, selectors/routes, encapsulation, MTU/DNS and application authorization for one exact protected flow.
- VPN connected ≠ intended traffic uses the tunnel.
- Encrypted tunnel ≠ endpoint or application trustworthy.
- Tunnel or SA up ≠ protected application traffic succeeds.
- Cryptographic negotiation ≠ correct identity, selector, route or application outcome.
show crypto ipsec sa— IPsec SAs (Cisco)ipsec statusall / swanctl --list-sas— strongSwan- Remote access VPN session list — users connected
ReferenceWhy it matters1 section · depth on demand
How it works in operation
VPN establishment separates peer reachability, IKE proposal/authentication, child-SA/traffic-selector negotiation, route/policy selection and encrypted data-plane counters.
ReferenceImportant terms & boundaries2 sections · depth on demand
What this shows and what it does not
A tunnel-up indication shows control-plane establishment, but it does not show correct traffic selection, bidirectional delivery or endpoint authorization.
In depth
VPNs create encrypted tunnels across untrusted networks, connecting sites to each other (site-to-site) or users to the organisation (remote access). They protect data in transit and extend private networks over the internet.
Key technologies:
| Technology | Use |
|---|---|
| IPsec (IKEv2) | Site-to-site, some remote access |
| TLS/DTLS VPN | Remote access clients |
| WireGuard | Modern, simple tunnels |
| SD-WAN | Managed overlay of IPsec tunnels |
VPN gateways are prime targets for attackers; patching, MFA and careful access scoping are as important as the cryptography. The topics in this group cover IPsec components, modes, authentication methods and remote access.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in VPN. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.rfc-editor.org/rfc/rfc4301 · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
VPN proof map
Fast scope, effective-policy, runtime-evidence and closure boundaries for VPN.
| Boundary | Establish | Does not establish |
|---|---|---|
| Scope and intent | Exact subjects, destinations, application, direction, trust zone and expected decision | Does not prove effective path, identity, cryptography or enforcement |
| Effective control state | Resolved rule/policy, session/SA, identity/posture, translation and selected path | Object/config presence does not prove a match or packet outcome |
| Runtime evidence | Correlated client, authenticator/firewall/VPN, AAA and destination observations for one flow/time | A single log or success does not prove every packet, peer, path or failover state |
| Closure | Original allowed/denied operation behaves as intended and regression/failure tests pass | Administrative commit or tunnel-up state alone is not closure |