Hello, this is a pretty basic one, but I cannot seem to find anything useful on Google. I regularly help configure Site-2-Site VPNs to VPCs. Sometimes tunnels don’t come up and it is difficult to determine why. If I control both sides, getting debug info on the IKE and IPSec phase establishment/failure via Fortigate built in CLI tools is very simple. If I only have control over the AWS side, what tools inside of AWS can provide ANY level of insight as to why a S-2-S tunnel is not coming up? All of the documentation I have been finding is essentially “make sure the settings match on both sides”, which is of no use to anyone. Is there a way to record logs of the connection attempts that state the phase 1 and phase 2 proposal settings of both parties or any other useful information?
Full disclosure, I have only been working with AWS sporadically for a few months, please forgive any ignorance.
Unfortunately not. AWS support is the only Avenue I’ve found to get any sort of logging in vpn connections they can help pull logs to diagnose the issue (assuming you have an appropriate support plan).
Most debugging is done on the side initiating the tunnel. If using the AWS S2S vpn tunnel service, I believe it is always the job of the customer gateway side to initiate the tunnel. Therefore the logs on that side should indicate what errors occurred while trying to establish the VPN. This debugging method will vary for every software vendor. In all cases I’ve debugged I had to find a way to get that debug information.
You need to look on your firewall/vpn device. AWS on normal Site-to-Site tunnels does not initiate the connection. Your device does. So that should tell you whether it’s as key mismatch, IP typo, etc