Help Center/
Virtual Private Network/
FAQs/
Connection or Ping Failure/
How Do I Quickly Restore an Interrupted IPsec VPN Connection?
Updated on 2023-10-20 GMT+08:00
How Do I Quickly Restore an Interrupted IPsec VPN Connection?
- If negotiation cannot be triggered, check connectivity between the public IP addresses of gateways at both ends of the IPsec VPN connection. For example, you can run the ping command to check the connectivity. By default, the Huawei Cloud VPN gateway responds to ICMP packets.
- If connectivity is normal, check whether link switching occurs between outbound interfaces. That is, check whether the traffic for access to the Huawei Cloud VPN gateway is forwarded out from a non-negotiated interface.
- If traffic is forwarded through the correct link, change the PSKs at both ends of the IPsec VPN connection to trigger re-negotiation.
- If re-negotiation fails, check whether the negotiation policies configured at both ends are consistent and whether the interesting traffic configurations at both ends are reversed (same number of configurations and same subnets).
- If the negotiation policies and interesting traffic configurations are correct, disable the VPN connection on the on-premises device. After the VPN connection state on Huawei Cloud changes to Not connected, enable the VPN connection on the on-premises device and trigger a data flow.
- If negotiation still fails, perform the following operations:
- Record the negotiation policies, PSK, local subnets, customer gateway, and customer subnets of the VPN connection configured on Huawei Cloud.
- Use the existing VPN gateway to create another VPN connection. The negotiation policies, PSK, and local subnets are the same as those of the original VPN connection. The customer gateway and customer subnets can be configured randomly.
- After the new VPN connection is created, delete the original VPN connection, and change the customer gateway and customer subnets of the new VPN connection to be the same as those of the original VPN connection.
- Trigger the negotiation again.
If the fault persists, to Huawei Cloud customer service.
Parent topic: Connection or Ping Failure
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.
The system is busy. Please try again later.