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
- Compare site-to-site and remote-access VPNs.
- Name what IPsec provides: confidentiality, integrity, authentication, anti-replay.
- Describe IKE, ESP and AH, and tunnel versus transport mode.
- Compare IPsec remote access with SSL/TLS VPN clients.
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
| Service | How |
|---|---|
| Confidentiality | Encryption (AES) |
| Integrity | Hashes (SHA-2 HMAC) |
| Authentication | Pre-shared keys or certificates |
| Anti-replay | Sequence 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 sa | Whether the IKE session with a peer is up. |
show crypto ipsec sa | Encrypted and decrypted packet counters per tunnel. |
Exam traps
- Site-to-site: no client software on hosts. Remote access: a client per user.
- ESP encrypts; AH does not.
- IKE uses UDP 500, and UDP 4500 with NAT traversal.
- Split tunnel sends only corporate traffic through the VPN.
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
- 5.1 Define the basic security vocabulary: threat, vulnerability, exploit, mitigation
- 5.2 Describe the non-technical side of a security program: awareness, training, physical access
- 5.3 Configure and verify local-password protection of device access
- 5.7 Configure and verify DHCP snooping, DAI and port security
- 5.8 Compare the roles of authentication, authorization and accounting
- 5.9 Describe how WPA, WPA2 and WPA3 differ
- 5.10 Configure and verify a WPA2-PSK WLAN in the controller GUI