SaveMyCert
Log in
5 of 5 free questions left today·for 10 a day
Network Services and Security

CCNA IPsec VPNs: Site-to-Site, Remote Access, ESP, AH, Tunnel and Transport Mode

19 min readCCNA · Network Services and SecurityUpdated

<p>An IPsec VPN is an encrypted tunnel that carries private IP traffic across an untrusted network such as the internet, using the IPsec framework of open-standard protocols to provide confidentiality, integrity, origin authentication and anti-replay protection. This lesson covers the CCNA 200-301 v2.0 exam topic on IPsec VPNs: site-to-site and remote-access VPNs, ESP and AH, tunnel and transport mode, how IKE builds security associations and how to read its show output, NAT traversal and the ports a firewall must allow, Diffie-Hellman, PFS and peer authentication, GRE over IPsec, and TLS/DTLS remote access with split tunneling.</p>

What you’ll learn
  • Choose between site-to-site and remote-access VPNs from where the users are and whether hosts can run a client
  • Compare ESP and AH, and tunnel and transport mode, by what each encrypts, authenticates and leaves visible
  • Describe IKEv1 phase 1 and phase 2 and the IKEv2 exchanges, and tell ISAKMP policy parameters from transform-set parameters
  • Interpret show crypto isakmp sa states and show crypto ipsec sa counters to locate a VPN failure
  • Explain NAT traversal, why AH fails through NAT, and which protocols and ports a firewall must permit
  • Match IPsec services to the algorithms that provide them, and explain Diffie-Hellman, PFS and pre-shared key versus certificate authentication
  • Explain when GRE over IPsec is needed and how TLS/DTLS remote access and split or full tunneling behave

What is IPsec and what does it protect?

IPsec is an open-standard framework of protocols that protects IP packets at Layer 3, so every application carried over IP (web, voice, file transfer, routing updates inside a tunnel) is protected without the applications knowing or changing. It is a framework rather than one algorithm: the peers negotiate which security protocol, cipher, hash, key-exchange group and authentication method to use, and older algorithms can be replaced without changing the framework.

IPsec provides four security services. Each comes from a different building block, which is why a configuration line can be read service by service.

ServiceWhat it guaranteesProvided by
ConfidentialityAn observer cannot read the protected dataA symmetric cipher in ESP, such as AES (DES and 3DES are legacy)
Data integrityThe packet was not changed in transitA keyed hash (HMAC) such as SHA-256, or a combined-mode cipher such as AES-GCM
Origin authenticationThe packet came from the peer that holds the shared keysThe same keyed hash; during IKE, the peer itself is authenticated with a pre-shared key or certificate
Anti-replayA recorded copy of a valid packet is rejected if sent againA sequence number in every ESP or AH packet, checked against a sliding window

Anti-replay is the service people forget. A replayed packet is an exact, unaltered copy, so it still decrypts and its integrity check still verifies; only the sequence number shows that the receiver has already accepted it. Keys themselves are created by Diffie-Hellman during IKE, never by the cipher or the HMAC.

In a transform set, each keyword names one of these blocks:

crypto ipsec transform-set TS-SALES esp-aes 192 esp-sha384-hmac
 mode tunnel

esp-aes 192 is the cipher (confidentiality); esp-sha384-hmac is the HMAC (integrity and origin authentication); mode tunnel is the encapsulation mode.

Site-to-site vs remote-access VPNs: what is the difference?

A site-to-site VPN joins whole networks through two gateways, and the hosts behind them are unaware of it; a remote-access VPN joins one user's device to the corporate network, with VPN client software on that device. Both send private traffic across the internet inside an encrypted tunnel; they differ in where the tunnel ends and whom it authenticates.

Site-to-siteRemote access
Tunnel endpointsGateway to gateway (routers or firewalls at each site)The user's device (client) to a VPN headend at the company
Software on hostsNone: hosts send ordinary IP packets to their default gatewayA VPN client, such as Cisco Secure Client (formerly AnyConnect)
Who is authenticatedThe peer gatewaysEach user (and the headend), so access can be granted per person
Peer addressesUsually fixed public addresses, tunnel normally always upThe client's public address changes with every hotel, airport or home network; tunnel built on demand
AddressingThe sites' own LAN subnets travel through the tunnelThe headend assigns the client an inner (virtual) address from a pool so return traffic routes back into the tunnel
Typical protocolsIPsec with IKEv1 or IKEv2, often GRE over IPsec or a VTIIKEv2/IPsec, or TLS with DTLS

The deciding facts in a design question are usually where the users are and whether software can be installed on the hosts. Fixed sites full of hosts that cannot run a client call for site-to-site; users who move between networks they do not own call for remote access. A GRE tunnel by itself is not a VPN in the security sense: it encapsulates but neither encrypts nor checks integrity.

ESP vs AH: which IPsec protocol encrypts?

ESP (Encapsulating Security Payload, IP protocol 50) encrypts and authenticates packets; AH (Authentication Header, IP protocol 51) only authenticates them and leaves the contents readable. Both are carried directly over IP with a protocol number, not over TCP or UDP, so neither has a port.

ESPAH
IP protocol number5051
Confidentiality (encryption)YesNo
Integrity, origin authentication, anti-replayYesYes
Integrity check coversThe ESP header, the payload and the ESP trailer, not the IP header in front of itThe whole packet, including the unchanging (immutable) fields of the outer IP header, such as the addresses
Works through NATYes, with NAT traversal (UDP 4500)No: NAT rewrites the addresses AH protects
Use todayThe standard choiceRare; only where integrity without encryption is wanted

Readable application data inside protocol 51 packets is therefore normal AH behaviour, not a fault. Whether a payload is encrypted is decided by the protocol, not by the mode: ESP encrypts in both tunnel and transport mode (the special null-encryption transform is an algorithm choice, not a mode), and AH encrypts in neither.

Every ESP or AH packet carries an SPI (Security Parameter Index) that tells the receiver which security association to use, and a sequence number for anti-replay.

Tunnel mode vs transport mode: what does each one hide?

Tunnel mode encapsulates the entire original packet, header included, behind a new outer IP header; transport mode keeps the original IP header and protects only what follows it. Tunnel mode is the default on Cisco routers and the normal choice between gateways; transport mode is used when the two hosts protecting the traffic are the same devices that sent it.

ModePacket on the wire (ESP)
TransportOriginal IP header | ESP header | original payload | ESP trailer | ESP ICV
TunnelNew IP header | ESP header | original IP header + original payload | ESP trailer | ESP ICV

The ICV (integrity check value) comes last; the ESP trailer holds the padding and next-header field.

ESP tunnel modeESP transport mode
New outer IP headerYes, with the gateways' (tunnel endpoints') addressesNo, the original header is reused
Original (private) addressesEncrypted inside the payload: an observer sees only the gateway addressesVisible in the original header
PayloadEncryptedEncrypted
Integrity check covers outer IP headerNo (ESP never covers the header in front of it)No
OverheadLarger: a second IP header (20 bytes for IPv4)Smaller

To hide both the data and who is talking, you need ESP in tunnel mode. AH in either mode encrypts nothing, so even AH tunnel mode leaves the inner addresses and payload readable; it only adds a new header and an integrity check. The mode decides encapsulation and size. It does not decide whether the packet is wrapped in UDP (NAT detection does that) or which destinations a remote client sends into the tunnel (split tunneling does that).

How does IKE build an IPsec tunnel?

IKE (Internet Key Exchange) is the control protocol that authenticates the peers, agrees on algorithms and creates the keys; it runs over UDP port 500 (UDP 4500 once NAT is detected), and it never carries user data. The result of IKE is a set of security associations (SAs): agreements on algorithms, keys and lifetimes. ESP or AH then carry the data using those SAs.

IKEv1: two phases

  • Phase 1 builds one bidirectional ISAKMP (IKE) SA, a secure channel for further negotiation. Main mode uses six messages: agree a policy, run Diffie-Hellman, then authenticate each other inside the new encrypted channel. Aggressive mode compresses this into three messages but exposes more of the exchange.
  • Phase 2 (quick mode), three messages protected by the phase 1 SA, negotiates the IPsec SAs: the transform set (ESP or AH, cipher, HMAC, mode), the traffic to protect (the proxy identities from the crypto ACL) and optional PFS.

The phase 1 policy and the phase 2 transform set hold different parameters, and mixing them up is a common mistake.

ISAKMP policy (phase 1)Transform set (phase 2)
Encryption algorithm, hash algorithm, authentication method (pre-shared key or RSA signature), DH group, lifetimeSecurity protocol (ESP or AH), its cipher and HMAC, tunnel or transport mode

Peers must find one ISAKMP policy where encryption, hash, authentication method and DH group all match; for the lifetime, Cisco accepts a peer whose proposal is equal to or shorter than its own and uses the shorter value. What to protect (the crypto ACL) and with whom (the peer address) are crypto map settings, not part of either policy.

crypto isakmp policy 10
 encryption aes 256
 hash sha256
 authentication pre-share
 group 14
 lifetime 86400
crypto isakmp key MySecret address 192.0.2.77
!
crypto map VPNMAP 10 ipsec-isakmp
 set peer 192.0.2.77
 set transform-set TS-SALES
 set pfs group14
 match address VPN-TRAFFIC
!
interface GigabitEthernet0/0/0
 crypto map VPNMAP

IKEv2: four messages

IKEv2 replaces main, aggressive and quick mode with two request/response exchanges. IKE_SA_INIT agrees algorithms, runs Diffie-Hellman and detects NAT; IKE_AUTH authenticates the peers and creates the first child (IPsec) SA. Four messages therefore produce both the IKE SA and the first IPsec SA; further child SAs and rekeys use CREATE_CHILD_SA. IKEv2 still builds an IKE SA first, still uses UDP 500 and 4500, and has NAT traversal built in. It is the version Cisco recommends for new VPNs.

How do you read show crypto isakmp sa and show crypto ipsec sa?

show crypto isakmp sa shows how far IKEv1 phase 1 got, and show crypto ipsec sa shows the phase 2 IPsec SAs and their packet counters; together they locate a failure in phase 1, in phase 2 or in the data path. (For IKEv2 the equivalent is show crypto ikev2 sa, where a finished SA shows READY.)

ISAKMP state (main mode)MeaningTypical cause if stuck
MM_NO_STATEThe SA has been created but nothing has been agreedNo reply from the peer (UDP 500 blocked, wrong peer address) or no matching ISAKMP policy
MM_SA_SETUPPolicy agreedThe exchange stopped before keying material was agreed; debug output (debug crypto isakmp) shows why
MM_KEY_EXCHDiffie-Hellman done, shared secret generated, peers not yet authenticatedAuthentication failing, classically a pre-shared key that differs between the peers
MM_KEY_AUTHPeers authenticatedPhase 1 is about to complete
QM_IDLEPhase 1 complete; the ISAKMP SA is authenticated and idle, ready for quick modeIf there is still no IPsec SA, look at phase 2: transform sets, crypto ACLs that do not mirror, PFS settings

QM_IDLE is reached only after a successful exchange, so it rules out a silent peer and a key mismatch. In the same way, phase 2 parameters (transform sets, crypto ACLs, PFS) are compared only in quick mode, after phase 1 has finished, so main mode states point to phase 1 settings, reachability or authentication.

IPsec SAs are one-way

An IPsec SA protects traffic in one direction only, so a working tunnel shows at least one inbound and one outbound ESP SA for each pair of protected networks, each with its own SPI. The receiver uses the SPI in each arriving packet to pick the inbound SA. The IKE SA, by contrast, is bidirectional and appears only in the ISAKMP output.

R1# show crypto ipsec sa
   local  ident (addr/mask/prot/port): (172.20.8.0/255.255.255.0/0/0)
   remote ident (addr/mask/prot/port): (172.20.40.0/255.255.255.0/0/0)
   current_peer 192.0.2.77 port 500
    #pkts encaps: 3127, #pkts encrypt: 3127, #pkts digest: 3127
    #pkts decaps: 2984, #pkts decrypt: 2984, #pkts verify: 2984

Read the counters by direction. encaps counts packets this router encrypted and sent; decaps counts packets it received and decrypted. In a healthy tunnel, like the one above, both counters climb together. When one direction climbs and the other stays at zero, the SAs exist (IKE has finished both phases), so the fault is in the data path of the silent direction: either protected packets are lost on the way (for example a filter that admits IKE but not IP protocol 50), or the far router never encrypts its traffic because it routes it out an interface that has no crypto map. Negotiation faults such as a mismatched key or transform set show up earlier and differently: as a missing SA, not as one-sided counters.

NAT traversal and firewall rules: what must be permitted?

A firewall between two IPsec peers must permit IKE on UDP 500 and the data protocol, which is ESP (IP protocol 50) when no NAT is in the path, or UDP 4500 when NAT traversal is in use. Because ESP and AH have no ports, a rule written for TCP or UDP port 50 or 51 matches nothing.

NAT traversal (NAT-T) exists because NAT and PAT devices translate by port, and raw ESP has none. During the first IKE exchange both peers send hashes of their addresses and ports; if what arrives does not match, a NAT device is in the path. The peers then move IKE to UDP 4500 and wrap every ESP packet in a UDP 4500 header, which the NAT device can translate like any other UDP flow. Keepalives hold the translation open. NAT-T is a standard extension for IKEv1 and part of IKEv2; Cisco IOS XE enables it by default. Without NAT, ESP stays as raw protocol 50 under both IKE versions.

AH cannot cross NAT, even with NAT-T: AH's integrity check includes the outer IP addresses, the NAT device rewrites them, and the receiver's check fails. IKE can still complete, so the symptom is a tunnel that comes up but passes no data, fixed by using ESP.

PathPermit between the peers
No NAT, ESPUDP 500 (IKE) and IP protocol 50 (ESP)
No NAT, AHUDP 500 and IP protocol 51
NAT or PAT in the pathUDP 500 (IKE starts here and detects NAT) and UDP 4500 (IKE and ESP after detection); raw protocol 50 no longer arrives

Configuring NAT itself, and the ACL syntax for these rules, are covered in the NAT and PAT and IPv4 ACL lessons.

Diffie-Hellman, PFS and peer authentication: how do the peers trust each other?

Diffie-Hellman (DH) lets two peers derive the same shared secret by exchanging only public values, so the keys are never sent across the network; peer authentication (pre-shared keys or certificates) then proves that the other side really is the intended peer. DH creates keys but proves nothing about identity, which is why both are needed.

The DH group sets the strength of the exchange: group 14 (2048-bit) and the elliptic-curve groups 19, 20 and 21 are current choices, while groups 1, 2 and 5 are legacy. Both peers must agree on the group; the group says nothing about who the peer is.

Perfect forward secrecy

Without PFS, the keys of each new IPsec SA are derived from the keying material of the phase 1 (IKE) SA, however often the SAs rekey. With PFS (set pfs group14 in the crypto map), every IPsec SA, including each rekey, runs a fresh DH exchange, so exposing the keys of one SA does not help an attacker derive the keys of the SAs before or after it. Forward secrecy is a property of how keys are derived, so it comes only from that per-SA DH exchange. The cost is the extra DH computation at each rekey.

Pre-shared keys vs certificates

Pre-shared keysCertificates (RSA signatures)
SetupType the same secret on both peersRun a CA; enroll each router to get an identity certificate
Adding a peerUnique keys: add an entry on the hub for every new peer. One shared key: easy, but weakThe hub trusts the CA, so new peers need no change on the hub
Removing one stolen deviceUnique keys: delete its entry. One shared key: change it on every siteRevoke that device's certificate; no other site changes
Scales toA handful of peersHundreds of peers

For certificate authentication each router needs a trustpoint for the CA, an identity certificate obtained by enrolling with that CA, and a correct clock (NTP), because each peer checks the other certificate's validity dates and a router with the wrong time rejects a valid certificate as expired or not yet valid. The certificate carries the peer's public key and the CA's signature vouches for the identity; the session keys still come from Diffie-Hellman.

GRE over IPsec: how do routing protocols cross a VPN?

GRE over IPsec carries multicast and routing-protocol traffic across an encrypted VPN: GRE (IP protocol 47) encapsulates any packet, including OSPF or EIGRP multicast hellos, into unicast GRE packets between the two routers, and IPsec then encrypts those GRE packets. A classic crypto-map tunnel protects only unicast traffic that matches its crypto ACL, so routing adjacencies cannot form across it: a crypto map has no mechanism for carrying multicast at all.

The two protocols complement each other: GRE alone carries multicast but encrypts nothing; IPsec alone encrypts but, with crypto maps, carries no multicast. A routed tunnel interface protected by IPsec, such as a GRE tunnel with tunnel protection ipsec profile or a static virtual tunnel interface (VTI), gives you an interface that routing protocols can run over.

Choose transport mode when the endpoints match

When the GRE tunnel's source and destination are the same two addresses as the IPsec peers, GRE has already added an outer IP header with those addresses. Tunnel mode would add a second, identical header for nothing, so transport mode is the efficient choice: the GRE header and everything inside it become the ESP payload and are still encrypted, and only the redundant header (and its bytes per packet) is saved. Protection is the same in either mode; the ESP trailer and ICV are present in both.

crypto ipsec transform-set TS-GRE esp-aes 256 esp-sha256-hmac
 mode transport
crypto ipsec profile GRE-PROT
 set transform-set TS-GRE
!
interface Tunnel0
 ip address 172.16.0.1 255.255.255.252
 tunnel source GigabitEthernet0/0/0
 tunnel destination 192.0.2.77
 tunnel protection ipsec profile GRE-PROT

Remote-access VPN protocols and split tunneling: which to choose?

Remote-access VPNs run over either IKEv2/IPsec or TLS with DTLS, and the choice decides which networks the client can connect from; split tunneling then decides which of the user's traffic goes through the tunnel. Cisco Secure Client supports both transports, terminating on a headend such as a Cisco Secure Firewall (ASA or Threat Defense) or an IOS XE router.

IKEv2/IPsec remote accessTLS/DTLS remote access
PortsUDP 500 and UDP 4500 (behind NAT)TCP 443 for the TLS session; UDP 443 for the DTLS data channel
Restrictive networks that allow only web trafficBlockedWorks: looks like HTTPS on TCP 443
Data pathESP (in UDP 4500 when NAT is present)DTLS over UDP when possible; falls back to the TLS tunnel over TCP when UDP is blocked

The DTLS fallback matters for voice and video. Normally the client sends data over DTLS on UDP 443, which suits real-time traffic. When UDP is unavailable, the client keeps the TLS session and carries everything over TCP instead. Bulk transfers barely notice, but real-time media suffers, because TCP retransmissions and head-of-line blocking delay and bunch up voice packets. Standard IKE/IPsec uses UDP 500 and 4500, so it cannot pass a filter that admits only web traffic; TLS on TCP 443 is the transport designed for that case.

Split tunneling vs full tunneling

With full tunneling (tunnel-all), the client sends every destination into the VPN, so the headend and the HQ security stack (proxy, firewall) see and can inspect all of the user's traffic, at the cost of HQ internet bandwidth. With split tunneling, the headend pushes a policy and the client itself decides per destination: listed corporate prefixes go into the tunnel, everything else goes straight out the local internet connection, unprotected by the VPN and never seen by the headend.

PolicyWhat enters the tunnelUse it when
Tunnel all (full)EverythingAll traffic must be inspected or filtered centrally
Split includeOnly the listed (corporate) networksSave headend and HQ internet bandwidth
Split excludeEverything except the listed networksKeep a few destinations, such as a streaming or conferencing service, off the tunnel
Local LAN accessEverything except the user's own home or hotel subnetLet users reach a local printer while tunneled

Hairpinning (U-turn) is different: it lets traffic that arrived through the tunnel leave again through the same outside interface of the headend, for example full-tunnel users browsing the internet via HQ. Hairpinned traffic still enters and leaves HQ, so it adds to the HQ link's load; bandwidth is saved only by keeping traffic out of the tunnel, which is what split tunneling does.

Tip. Questions on this topic are mostly scenarios, many with evidence in the stem: show crypto isakmp sa or show crypto ipsec sa output, a transform-set line, or a packet capture described by protocol number or port. You are asked which VPN type or protocol meets a requirement (no software on hosts, hide the private addresses, inspect all remote traffic, work from networks that allow only web traffic, add peers without changing the hub), why a tunnel fails (NAT in the path, a blocked protocol, a key mismatch, a missing return path), what a firewall must permit, or which statement correctly describes ESP, AH, the two modes, IKEv1 and IKEv2, PFS or certificate authentication. Wrong options are usually real features applied to the wrong situation, such as the right protocol with the wrong port, phase 2 items placed in phase 1, or a mode change offered where a different mechanism decides. Some items ask you to select two answers.

Key takeaways
  • IPsec is an open-standard Layer 3 framework: confidentiality (AES), integrity and origin authentication (HMAC such as SHA-256), anti-replay (sequence numbers); Diffie-Hellman makes the keys.
  • Site-to-site: gateways encrypt for whole subnets and hosts need no software. Remote access: a client on each device, per-user authentication, an inner address from the headend's pool.
  • ESP is IP protocol 50 and encrypts plus authenticates; AH is IP protocol 51, authenticates only, and its check covers the outer IP addresses, so it breaks through NAT.
  • Tunnel mode adds a new outer header and encrypts the whole original packet (ESP); transport mode keeps the original header, so host addresses stay visible. ESP's ICV never covers the outer IP header.
  • IKE runs on UDP 500. IKEv1: phase 1 ISAKMP SA (main mode, six messages), phase 2 quick mode builds the IPsec SAs. IKEv2: IKE_SA_INIT + IKE_AUTH, four messages for the IKE SA and first IPsec SA.
  • ISAKMP policy = encryption, hash, authentication, DH group, lifetime. Transform set = ESP or AH, its algorithms, mode. Crypto map = peer, ACL, transform set, PFS.
  • MM_NO_STATE = no reply or no matching policy; MM_KEY_EXCH stuck = authentication (pre-shared key) failing; QM_IDLE = phase 1 done, so a missing IPsec SA is a phase 2 problem.
  • IPsec SAs are one-way, one per direction with its own SPI. Encaps rising with decaps at zero means the return direction is broken.
  • Firewall: no NAT = UDP 500 + IP protocol 50; with NAT-T = UDP 500 + UDP 4500. PFS = a new DH exchange per IPsec SA; certificates scale and revoke per device but need enrollment and NTP.
  • GRE over IPsec carries routing-protocol multicast (use transport mode when the GRE and IPsec endpoints match). TLS remote access uses TCP 443 with DTLS on UDP 443; split tunneling sends only listed networks through the VPN.

Frequently asked questions

What is the difference between a site-to-site VPN and a remote-access VPN?

A site-to-site VPN connects two networks through gateways such as routers or firewalls; the hosts behind them send ordinary traffic and need no VPN software. A remote-access VPN connects an individual device to the corporate network: the user runs a VPN client such as Cisco Secure Client, authenticates individually, and receives an inner address from the headend's pool. Site-to-site suits fixed offices; remote access suits users who move between networks.

What is the difference between ESP and AH in IPsec?

ESP (IP protocol 50) encrypts the payload and also provides integrity, origin authentication and anti-replay. AH (IP protocol 51) provides integrity, origin authentication and anti-replay but no encryption, so the data stays readable. AH's integrity check also covers the outer IP addresses, so AH fails through NAT, while ESP works through NAT using NAT traversal on UDP 4500. ESP is the standard choice.

What is the difference between IPsec tunnel mode and transport mode?

Tunnel mode encapsulates the whole original IP packet behind a new outer IP header that carries the tunnel endpoints' addresses; with ESP, the original header and payload are both encrypted, so the private addresses are hidden. Transport mode keeps the original IP header and protects only the payload, so it adds less overhead but leaves the communicating hosts' addresses visible. Gateways normally use tunnel mode; transport mode suits host-to-host protection and GRE over IPsec where the endpoints match.

Which ports and protocols does IPsec need through a firewall?

Without NAT in the path, permit UDP port 500 for IKE and IP protocol 50 for ESP (or IP protocol 51 if AH is used). When a NAT device is in the path and NAT traversal is enabled, permit UDP 500 and UDP 4500, because after NAT is detected both IKE and the ESP data travel inside UDP 4500.

What do IKE phase 1 and phase 2 do?

In IKEv1, phase 1 authenticates the peers and builds one bidirectional ISAKMP SA, a protected channel, using the agreed encryption, hash, authentication method, Diffie-Hellman group and lifetime. Phase 2 (quick mode) runs inside that channel and negotiates the IPsec SAs that protect data: ESP or AH, the algorithms, tunnel or transport mode, the traffic to protect and optional PFS. IKEv2 replaces the phases with IKE_SA_INIT and IKE_AUTH, four messages that create the IKE SA and the first IPsec SA.

What does QM_IDLE mean in show crypto isakmp sa?

QM_IDLE means IKEv1 phase 1 has completed: the peers have exchanged keys, authenticated each other and hold an ISAKMP SA that is ready for quick mode. If matching traffic is flowing but show crypto ipsec sa shows no IPsec SA, the problem is in phase 2, such as mismatched transform sets or crypto ACLs that do not mirror each other.

What is perfect forward secrecy (PFS) in IPsec?

Perfect forward secrecy makes every IPsec SA, including each rekey, run its own Diffie-Hellman exchange, so its keys are independent of the keys of earlier and later SAs. If one SA's keys are exposed, the attacker cannot use them to derive the others. Without PFS, new IPsec keys are derived from the phase 1 keying material, so shortening the lifetime alone does not give the same protection.

What is split tunneling in a remote-access VPN?

Split tunneling is a policy pushed by the VPN headend that makes the client send only traffic for listed networks, usually the corporate prefixes, through the tunnel, while all other traffic goes directly out the user's local internet connection without VPN protection. It saves headend and HQ internet bandwidth. Full tunneling sends everything through the VPN, which is required when all traffic must pass central inspection.

Source

This lesson covers the "Network Services and Security" domain of the official CCNA exam guide. Vendors revise their guides — check the source for the current version.

Test yourself on this topic
Practice now

Sign up free to mark lessons complete, bookmark topics and track your exam readiness.

Spotted a mistake in this lesson?