Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

VPN Security

Direct answer

VPN security protects traffic across untrusted networks with encryption, integrity and authentication. Site-to-site VPNs connect networks; remote-access VPNs connect individual users. IPsec and TLS/SSL are the common technologies.

When to use this

Use it to connect branches over the internet, give remote users access, or encrypt traffic across a provider network.

First 30 seconds

1. show crypto session — tunnel UP-ACTIVE?

2. Down → IKE: show crypto ikev2 sa / show crypto isakmp sa; compare proposals and keys on both peers.

3. Up but no traffic → show crypto ipsec sa — encaps increasing, decaps not → the peer or return path.

4. Neither → routing or NAT sends traffic elsewhere.

5. debug crypto ikev2 briefly if negotiation fails.

Operational verification

peers reachable (UDP 500/4500, ESP) → IKE proposals match → peers authenticate → IKE SA up → IPsec SAs for the traffic → routing sends traffic into the tunnel → encrypt and decrypt counters increase

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common mistakes
  • VPN concentrators not patched — they are among the most exploited devices.
  • Password-only logins without MFA.
  • Split tunnelling allowing unmanaged devices to bridge networks.
  • Full network access for all VPN users instead of role-based access.
Platform / version applicability
Cisco IOS / IOS XE
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.

PlatformCisco IOS / IOS XE
Scope / prerequisiteUse it to connect branches over the internet, give remote users access, or encrypt traffic across a provider network.
What next?3 suggested next steps
Child topics (this level)3
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 Checks Verify boundary
VPNCommand
IKEv2 site-to-siteshow crypto ikev2 sa detail
IPsec SAsshow crypto ipsec sa
DMVPNshow dmvpn
FlexVPNshow crypto session detail
Remote access (ASA/FTD)show vpn-sessiondb anyconnect

Verify algorithms in use match policy (no DES/3DES/SHA-1/DH group 2).

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
Command lookup Jump straight to Cisco syntax
Drill down

Subtopics

Go one level deeper into this subject.

Key points

Strong choices: IKEv2, AES-GCM, SHA-256 or better, DH group 19/20/21 or 14+, certificates or long random pre-shared keys, MFA for users. Check that routing sends the right traffic into the tunnel, and that NAT does not translate it first.

Key checks
  • show crypto ikev2 sa — IKEv2 security associations and their state.
  • show crypto isakmp sa — IKEv1 phase 1 state (QM_IDLE is up).
  • show crypto ipsec sa — IPsec SAs, encrypt and decrypt counters.
  • show crypto session — summary of tunnels and peers.
  • show interfaces tunnel <n> — tunnel interface state for VTI/DMVPN.
ReferenceWhy it matters1 section · depth on demand

VPN types

TypeUseTechnology
Site-to-siteConnect networks over the internetIPsec (crypto maps, VTI, DMVPN, SD-WAN)
Remote accessConnect a user to the company networkTLS/DTLS (AnyConnect/Secure Client) or IPsec IKEv2

Key security choices: IKEv2 instead of IKEv1, AES-GCM with SHA-2 and DH group 19/20 or higher, certificates or strong pre-shared keys, MFA for remote users, and split tunnelling only where the risk is understood.

ReferenceImportant terms & boundaries2 sections · depth on demand

In depth

VPN security

VPNs extend private connectivity over untrusted networks, so their security matters twice: they protect traffic, and they're exposed gateways. NIST SP 800-77 Rev. 1 describes the IPsec VPN models (gateway-to-gateway, host-to-gateway for remote access, host-to-host and mesh) and recommends IKEv2, ESP, AES (GCM preferred) with SHA-2, strong certificates or high-entropy pre-shared keys, and perfect forward secrecy.

VPN models (SP 800-77 Rev. 1)

ModelProtects
Gateway-to-gateway (site-to-site)Traffic between two networks, only between the gateways
Host-to-gateway (remote access)A user's device to the organisation
Host-to-hostTraffic between two specific systems; network inspection can't see inside

Security priorities

AreaRecommendation
ProtocolsIKEv2, ESP; no IKEv1 Aggressive Mode, no AH
CryptographyAES-GCM or AES with HMAC-SHA-2; DH groups 14–21
AuthenticationCertificates; PSKs with at least 112 bits of strength if used
Lifetimes24 h IKE SA, 8 h IPsec SA
Remote usersMFA, full or split tunnel by policy
GatewaysPatch quickly, minimal exposed services, monitoring

VPN topics in this reference

TopicFocus
IPsecArchitecture, SAs, modes
Remote accessUsers, split tunnelling, authentication
Site-to-siteTopologies, route-based tunnels
R1# show crypto ikev2 sa detailed | include Encr|Auth|DH Grp|Life
      Encr: AES-GCM, keysize: 256, PRF: SHA384, Hash: None, DH Grp:20, Auth sign: RSA, Auth verify: RSA
      Life/Active Time: 86400/3611 sec
R1# show crypto ipsec sa | include transform|PFS

Operational checks

Review crypto settings against current recommendations, inventory VPN gateways and their software versions, monitor login failures and unusual sessions, and remove unused tunnels and accounts.

Documented example, not captured output.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Quick reference

VPNs extend the trusted network across untrusted ones, which makes them high-value targets. Their security depends on strong protocols and algorithms, solid authentication, tight access policies and — just as important — keeping the VPN devices themselves patched. The table summarises recommendations for each of these areas.

VPN security considerations:

AreaRecommendation
ProtocolIKEv2 with AES-GCM, SHA-2, DH group 19/20/21 (avoid group 2/5)
AuthenticationCertificates or EAP with MFA for remote access; strong PSKs for site-to-site
ExposurePatch VPN gateways urgently — they are prime targets
Split tunnellingDecide deliberately; full tunnel or protected DNS/web for split
LoggingLog connections, failed auth, unusual geolocations

Remote access VPN appliances (from all major vendors) have had repeatedly exploited vulnerabilities — subscribe to advisories and restrict management interfaces.

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 docCisco IOS / IOS XE Current documentation reviewed 2026-09-14

Authoritative/upstream documentation reviewed for bounded claims in Security → VPN Security. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://www.cisco.com/c/en/us/support/ios-nx-os-software/ios-xe-17/series.html · confidence 94%
Confirmation

Confirm action

Continue?