Help Center> Virtual Private Network> FAQ> Related Operations on the Console> Why Is the VPN Connection Always in the Not Connected State Even After Its Configuration Is Complete?

Why Is the VPN Connection Always in the Not Connected State Even After Its Configuration Is Complete?

Ensure that the pre-shared keys and negotiation information at both ends are consistent. The local subnet and gateway are the same as the remote subnet and gateway.

Ensure that the routing, NAT, and security rules are correctly configured on the gateway device of your on-premises data center. Then, ping the servers in subnets at both ends.

VPN is triggered based on data flows. After you complete the configuration, ping the servers in the peer subnet. Before running the ping command, disable the server firewall and allow inbound ICMP requests in the security group on the cloud.

Pinging the gateway IP address cannot trigger VPN negotiation. Ping the server in the subnet protected by the gateway.