How Do I Quickly Restore an Interrupted IPsec VPN Connection?
- Trigger IPsec negotiation by private network data flows. For example, two private networks at both ends of the VPN connection ping each other. If traffic can be properly triggered, deploy a continuous ping script. For details, see How Can I Prevent VPN Connection Interruption?.
- If the negotiation cannot be triggered, check the Internet connectivity by pinging the VPN gateway IP address and the remote gateway IP address. By default, the HUAWEI CLOUD VPN gateway responds to ICMP packets.
- If the Internet is normal, check whether a link switch occurs between multiple gateways. That is, the traffic for accessing the HUAWEI CLOUD gateway IP address does not flow out from the negotiated interfaces.
- If there are no multiple ports or the port path is normal, change the PSKs at both ends of the tunnel to trigger negotiation again.
- If the negotiation fails, check whether the negotiation policies configured at both ends are consistent and whether the interesting traffic at both ends are mutually mirrored.
- If the negotiation policy and interesting flow configuration are correct, reset the VPN connection status of the on-premises device. After the connection status on HUAWEI CLOUD changes to Not connected, reset the VPN connection of the on-premises device and trigger the data flow.
- If the negotiation still cannot be triggered, perform the following operations:
- Record the negotiation policy, PSK, local subnet, remote gateway, and remote subnet of the HUAWEI CLOUD VPN connection.
- Use the existing gateway to create a connection. The negotiation policy, PSK, and local subnet are the same as those of the original connection. Randomly configure the remote gateway and remote subnet.
- After the new connection is created, delete the original connection and change the remote gateway and remote subnet of the new connection to the recorded information.
- Trigger the negotiation again.
If the IPsec tunnel status is still abnormal after you perform the preceding operations, submit a service ticket to HUAWEI CLOUD customer service for help.
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.