5.5 Describe site-to-site and remote-access IPsec VPNs

CCNA 200-301 v1.1 · 5.0 Security Fundamentals

A VPN carries private traffic across a public network, protected by encryption. Site-to-site VPNs join whole networks through their routers or firewalls; remote-access VPNs connect individual users from their laptops. For the CCNA you describe both and what IPsec provides.

What you must know

Site-to-site VPNs

Two gateways (routers or firewalls) build a permanent IPsec tunnel across the internet. Hosts at each site need no software: their traffic is encrypted when it leaves one gateway and decrypted at the other (1). GRE over IPsec or DMVPN adds routing protocols and many sites.

Remote-access VPNs

A client on the user's device (Cisco Secure Client, formerly AnyConnect) connects to a VPN gateway, usually over TLS (SSL VPN) or IPsec/IKEv2, authenticates the user (often with MFA) and receives an internal address. Full tunnel sends everything through the VPN; split tunnel sends only corporate traffic. A clientless SSL VPN gives browser access to web applications without a client.

What IPsec provides

ServiceHow
ConfidentialityEncryption (AES)
IntegrityHashes (SHA-2 HMAC)
AuthenticationPre-shared keys or certificates
Anti-replaySequence numbers

IKE (v1 or v2, UDP 500, or 4500 through NAT) authenticates the peers and agrees keys. ESP (IP protocol 50) encrypts and authenticates the data; AH (51) only authenticates and fails through NAT. Tunnel mode encrypts the whole original packet and adds a new header, the normal choice for site-to-site; transport mode protects only the payload.

Commands

show crypto isakmp sa / show crypto ikev2 saWhether the IKE session with a peer is up.
show crypto ipsec saEncrypted and decrypted packet counters per tunnel.

Exam traps

Check yourself

Which VPN type needs software on each user's laptop?
Remote access.
Which IPsec protocol provides encryption?
ESP.
What does tunnel mode protect?
The entire original IP packet, inside a new IP header.

More topics in 5.0 Security Fundamentals