Help Center> Virtual Private Network> FAQs> Connection or Ping Failure> How Do I Quickly Restore an Interrupted IPsec VPN Connection?
Updated on 2023-06-16 GMT+08:00

How Do I Quickly Restore an Interrupted IPsec VPN Connection?

  1. 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.
  2. 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.
  3. If traffic is forwarded through the correct link, change the PSKs at both ends of the IPsec VPN connection to trigger re-negotiation.
  4. 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).
  5. 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.
  6. If negotiation still fails, perform the following operations:
    1. Record the negotiation policies, PSK, local subnets, customer gateway, and customer subnets of the VPN connection configured on Huawei Cloud.
    2. 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.
    3. 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.
    4. Trigger the negotiation again.

If the fault persists, submit a service ticket to Huawei Cloud customer service.

Connection or Ping Failure FAQs

more