Pcornel
Networking · Security › VPN Security

Remote Access

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

Back to the Topic

Answer

A remote-access VPN connects individual users' devices to the corporate network, usually with TLS (AnyConnect/Secure Client) or IKEv2, authenticated through AAA with MFA.

Remember

Check the chain: client reaches the headend, user authenticates (AAA/MFA), the right group policy is applied, the client gets an address, and split-tunnel routes cover the needed networks. Posture checks can block non-compliant devices.

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

Verify in this order

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

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=1518

Confirmation

Confirm action

Continue?