Interview Prep/Networking/Security: Firewalls, SGs, NACLs & VPN

A site-to-site IPsec tunnel is down. How do you troubleshoot?

IntermediateScenarioSecurity: Firewalls, SGs, NACLs & VPN
Answer

Situation read → Phase 1 (IKE) or phase 2 (IPsec) mismatch, NAT-T or routing issue.

What I'd do →

  1. Check tunnel status in the AWS console or aws ec2 describe-vpn-connections --query 'VpnConnections[0].VgwTelemetry'
  2. Compare IKE version, encryption, hash, DH group and lifetimes on both sides
  3. Verify UDP 500 and 4500 and ESP are not blocked
  4. On Linux gateways read ipsec statusall and the logs for NO_PROPOSAL_CHOSEN or AUTH_FAILED
  5. Confirm routes and interesting traffic definitions match

Why → Both sides must agree on parameters exactly or negotiation fails before any traffic flows.

Interview tip → Say tunnel up with no traffic means routes, not crypto.

All Networking questions Roadmap: Networking for DevOps

More on Security: Firewalls, SGs, NACLs & VPN