This document describes how to create a VPN tunnel.
Directions
2. Select VPN Connections > VPN Tunnel in the left sidebar.
3. Choose the region where your VPC is located and your VPC, i.e. Guangzhou and TomVPC
in this example, and click +New.
4. Configure the basic settings of the VPN tunnel.
The basic settings of a VPN tunnel include the tunnel name, region of the gateway, network type, VPN gateway instance, customer gateway instance, pre-shared key, negotiation type, and communication mode. For more information about the parameters, see Creating a VPN Tunnel.
In this example, the communication mode is SPD policy, the local IP range is the IP range 192.168.1.0/24
of subnet A, and the customer IP range is 10.0.1.0/24
. 5. Configure the advanced settings.
In this step, you can set the advanced parameters, including DPD, health check, IKE, and IPsec. In this example, the default parameter values are used.
Note:
Make sure that the settings of IKE and IPsec on the cloud side are the same as those on the local side. Otherwise, the tunnel fails due to inconsistent protocol configurations.
6. Check your configuration and click Create. After the tunnel is created, go to the VPN tunnel list page, click More next to the created tunnel, and choose Download config file to complete the download.
Was this page helpful?