Help Center/ Virtual Private Network/ FAQs/ FAQs - S2C Classic VPN/ Product Consultation/ Will an IPsec VPN Connection Be Established Automatically?
Updated on 2024-07-23 GMT+08:00

Will an IPsec VPN Connection Be Established Automatically?

After you complete configurations at both ends of an IPsec VPN connection, the VPN connection will not be automatically established only after data flows between the two ends of the connection. If no data flows between the cloud and the on-premises data center, the VPN connection will always be in the down state. Any data generated by accessing servers or pinging between servers can trigger the establishment of a VPN connection.

The establishment of a VPN connection can be triggered in either of the following two conditions: The VPN gateway and the remote gateway automatically trigger negotiation. The cloud and on-premises servers access each other via the VPN connection to be established.

However, automatic establishment of a VPN connection cannot be triggered by a VPN gateway on the cloud. Verify that the establishment of your VPN connection can be triggered by the data flows between the two ends of the VPN connection. That is, check whether a VPN connection can be established after you ping a cloud server from an on-premises server, and whether a VPN connection can be established after you disconnect the connection and ping an on-premises server from a cloud server.

The source and destination addresses of the ping packets must be protected by the VPN.

Before a VPN connection is established, the gateway IP addresses at both ends can be pinged. However, pinging the gateway IP addresses does not trigger the establishment of the VPN connection.