What are PFS and IKEv2 phases in IPsec?
AdvancedConceptNAT, Firewalls & VPN
Answer
IKE negotiates the tunnel in two stages: the first (IKE SA) authenticates peers and sets up a secure channel; the second creates the Child SAs that actually protect traffic with ESP. Perfect Forward Secrecy means each rekey does a fresh Diffie-Hellman exchange, so compromise of a long-term key does not reveal past traffic.
AWS tunnels need matching proposals on both sides, and a mismatch is the top reason a tunnel shows DOWN. Use strong groups such as DH 14+ or ECP and AES-256-GCM.
More on NAT, Firewalls & VPN
What is NAT and why is it used?BeginnerWhat is the difference between SNAT, DNAT and PAT?AdvancedHow does an AWS NAT gateway work, and what are its limits?AdvancedWhy is NAT gateway cost a common surprise and how do you reduce it?IntermediateWhat is conntrack and what happens when its table fills up?AdvancedWhat is the difference between a stateful and a stateless firewall?Beginner