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 →
- Check tunnel status in the AWS console or
aws ec2 describe-vpn-connections --query 'VpnConnections[0].VgwTelemetry' - Compare IKE version, encryption, hash, DH group and lifetimes on both sides
- Verify UDP 500 and 4500 and ESP are not blocked
- On Linux gateways read
ipsec statusalland the logs forNO_PROPOSAL_CHOSENorAUTH_FAILED - 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.
More on Security: Firewalls, SGs, NACLs & VPN
Security group versus NACL: explain the differences.BeginnerHow do you let only your office IP SSH into a server?BeginnerWhat does it mean that a security group can reference another security group?BeginnerStateful versus stateless firewalls: what is the practical difference?BeginnerWhat is a WAF and where do you place it?BeginnerWhat is the difference between a site-to-site VPN and a client VPN?Beginner