Interview Prep/Networking/Cloud networking: VPC, firewalls, NAT, VPN and proxies

An AWS Site-to-Site VPN tunnel stays `DOWN`, and the on-prem firewall logs show `NO_PROPOSAL_CHOSEN`.

IntermediateTroubleshootingCloud networking: VPC, firewalls, NAT, VPN and proxies
Answer

Likely causes → IKE (phase 1) or IPsec (phase 2) parameters don't match: encryption (AES128/256, GCM), integrity (SHA1/SHA2), DH group, IKE version, or lifetime. AWS accepts a set; the on-prem side may propose something outside it.

Diagnose →

aws ec2 describe-vpn-connections --vpn-connection-ids <vpn> \
  --query 'VpnConnections[0].VgwTelemetry'
# enable tunnel logging to CloudWatch (TunnelOptions.LogOptions) and read the IKE negotiation
# on strongSwan: swanctl --log / journalctl -u strongswan

Fix → Align proposals on both sides, e.g. IKEv2, AES256, SHA2-256, DH group 14+ for both phases. You can restrict AWS's tunnel options to exactly what on-prem supports (modify-vpn-tunnel-options).

Prevent → Keep the tunnel parameters in code on both sides and use the downloadable vendor configuration from AWS as the baseline.

All Networking questions Roadmap: Networking for DevOps

More on Cloud networking: VPC, firewalls, NAT, VPN and proxies