Pcornel
Networking · Virtualization & Overlays › IPsec

Remote Access VPN concepts

Cheat sheet · https://pcornel.dk/topic.php?topic=1337

Back to the Topic

Answer

Remote access VPN connects individual users (for example with Cisco Secure Client using IPsec/IKEv2 or SSL/TLS) to the corporate network, with user authentication and assigned addresses.

Remember

  • IKE SA and IPsec child SA are separate evidence boundaries
  • Proxy identities/selectors must agree at both peers
  • ESP commonly carries protected data; NAT traversal can encapsulate it in UDP 4500
  • Encaps and decaps counters must be interpreted with generated interesting traffic and the return path.

First checks

  • show crypto session — sessions
  • VPN headend logs (AnyConnect/FlexVPN) — client authentication

Commands

show vpn-sessiondb anyconnect
show vpn-sessiondb detail anyconnect filter name <user>
show crypto session remote <client-ip> detail
show crypto ikev2 sa
nslookup <host>

Verify in this order

client → auth → tunnel → address → policy

Where it usually breaks

underlay IP/transport → control/session registration → route/endpoint distribution → policy/segment → encapsulation/tunnel state → decapsulation/egress → return path

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=1337

Confirmation

Confirm action

Continue?