- Newest
- Most votes
- Most comments
Are you using NAT? If yes, please verify NAT-T is enabled on both ends of the VPN. NAT-T encapsulates ESP traffic in UDP packets, which can help bypass NAT-related issues.
Thank you for sharing the packet captures as that has helped in identifying some information regarding the issue you are facing.
- I see that NAT-T is enabled based on Packet Captures shared.
192.168.70.2:4500->52.34.101.205:4500 (I see port 4500 which is for NAT-T)
-
Also, I see that Traffic Selectors are set to any-any [auto-negotiate src: 0:0.0.0.0/0.0.0.0:0 dst: 0:0.0.0.0/0.0.0.0:0 SA]
-
From your notes, I see you have already confirmed Route Tables, Security Group, Network ACL are looking good. Also, there are request/reply as below:
- IP 192.168.32.15 > 10.2.0.100: ICMP echo request,
- IP 10.2.0.100 > 192.168.32.15: ICMP echo reply,
- IP 192.168.32.15 > 10.2.0.100: ICMP echo request,
- IP 10.2.0.100 > 192.168.32.15: ICMP echo reply,
Next Steps
- Since the Packet Captures are shared for both Tunnels, I am assuming both Tunnels are in UP state(IPsec is established).
- I am suspecting the issue is Asymmetric Routing.
What is asymmetric routing: When a packet enters a network via one path(eg. through one active tunnel) and then is routed back to the source via another path(eg. through another active tunnel) then, this routing is said to be asymmetric in nature.
- If both tunnels up (Active/Active configuration), then you can't configure AWS to prefer a specific tunnel to send traffic. For example, tunnel A was randomly chosen by AWS as the preferred VPN tunnel for sending traffic from AWS to the on-premises network. If tunnel A goes down, traffic from AWS automatically fails over to tunnel B.
- Note: With an Active/Active configuration, the customer gateway must have Asymmetric routing enabled on the virtual tunnel interfaces.
Please let me know if you still continue to face issue after checking above, thank you!
Reference: [1] How do I configure my Site-to-Site VPN connection to prefer tunnel A over tunnel B? https://aws.amazon.com/premiumsupport/knowledge-center/vpn-configure-tunnel-preference/
Relevant content
- asked 2 years ago
- asked 7 years ago
- AWS OFFICIALUpdated 9 months ago
