CS FundamentalsHardGATE CS · Security interview

Two sites connect through a router that performs NAT. An IPsec tunnel using AH fails, while one using ESP with NAT traversal works. Why?

  1. A. AH authenticates the IP header including the addresses, so the NAT rewrite makes the integrity check fail
  2. B. AH encrypts the IP header, so the NAT cannot read the destination
  3. C. ESP does not provide authentication, so it ignores the rewrite
  4. D. NAT cannot forward any protocol other than TCP and UDP

Correct answer: A. AH authenticates the IP header including the addresses, so the NAT rewrite makes the integrity check fail

AH's integrity check covers the immutable IP header fields, including source and destination addresses, which NAT changes. ESP authenticates only its own payload and, wrapped in UDP 4500 by NAT-T, gives the NAT a port to translate. AH encrypts nothing.

More Computer Networks questions

Exams that ask this topic