Pcornel
Browse topics
Options
Recent
Favorites
Security · Technical reference

VPN

Direct answer

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.

When to use this

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.

First 30 seconds

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.

Operational verification

endpoint → tunnel (IKE/TLS) → gateway → network

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common traps

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.

Platform / version applicability
Network security
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformNetwork security
Scope / prerequisiteUse it when the secure-network question has been narrowed to VPN. Record exact source identity/address, destination, ap…
What next?3 suggested next steps
Child topics (this level)17
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

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 references

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.

observation · 1
Drill down

Subtopics

Go one level deeper into this subject.

Subtopic VPN Fundamentals

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 VPN

A 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 VPN

Remote 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 IPsec

IPsec 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 IKE

Internet 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 IKEv1

IKEv1 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 IKEv2

IKEv2 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 Association

An 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 ESP

Encapsulating 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 AH

Authentication 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 Mode

IPsec 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 Mode

IPsec 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 Key

A 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 Authentication

VPN 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 VPN

SSL 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 VPN

A 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 Troubleshooting

VPN 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.

Key points
  • 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.
Key checks
  • 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:

TechnologyUse
IPsec (IKEv2)Site-to-site, some remote access
TLS/DTLS VPNRemote access clients
WireGuardModern, simple tunnels
SD-WANManaged 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.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docNetwork security current

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%
Terminology layer

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.

Aliases that resolve here
virtual private networksecure tunnelencrypted network tunnel
Embedded reference data

Quick lookup tables

VPN proof map

Fast scope, effective-policy, runtime-evidence and closure boundaries for VPN.

BoundaryEstablishDoes not establish
Scope and intentExact subjects, destinations, application, direction, trust zone and expected decisionDoes not prove effective path, identity, cryptography or enforcement
Effective control stateResolved rule/policy, session/SA, identity/posture, translation and selected pathObject/config presence does not prove a match or packet outcome
Runtime evidenceCorrelated client, authenticator/firewall/VPN, AAA and destination observations for one flow/timeA single log or success does not prove every packet, peer, path or failover state
ClosureOriginal allowed/denied operation behaves as intended and regression/failure tests passAdministrative commit or tunnel-up state alone is not closure
Confirmation

Confirm action

Continue?