Introduction
If you've ever needed to investigate a site to site tunnel which is down at 05:00 in the morning, this might just help you get to the bottom of it a bit faster.Steps to take
Access your firewall web interface and go to VPNs/Monitor Status If you have inactive in SA status then phase 1 is not even completing. Also access the firewall via SSH and take a look at the events for the tunnel in question:get event include <peer ip address>If you see the following message: Phase 1 SA (my cookie:0b4c1390) was removed due to a simultaneous rekey. You can adjust the firewall to a different IPsec soft limetime (default is 10 seconds):
get ike soft-lifetime-bufferIPsec Soft Lifetime Buffer is 10 seconds
set ike soft-lifetime-buffer 60You can use the following Juniper docs to troubleshoot further, however if the entire site access is lost and phase 1 is not completing, it suggests ISP: https://kb.juniper.net/InfoCenter/index?page=content&id=KB9276&actp=METADATA Do check that the issue is not with the ISP itself before spending to much time on the VPN itself.
- Can you reach the public interface of the firewall?
- Can you reach the public interface of the router?
- Does a trace route fail at a perticular device?
Leave a comment
Your email address will not be published. Comments are moderated before appearing.