
10.0.0.0/24, and the peer IP ranges are 192.168.0.0/24 and 192.168.1.0/24. In this rule, two mappings are available.10.0.1.0/24, and the peer IP range is 192.168.2.0/24. In this rule, one mapping is available.10.0.1.0/24, and the peer IP range is 192.168.2.0/24. In this rule, one mapping is available.
The mappings are as follows:10.0.0.0/24-----192.168.0.0/2410.0.0.0/24-----192.168.1.0/2410.0.1.0/24-----192.168.2.0/2410.0.2.0/24-----192.168.2.0/24
The four mappings cannot overlap. In other words, the local IP range and peer IP range in a mapping cannot have a duplicate address range.10.0.0.0/24-----192.168.1.0/24 cannot be added to SPD rules because it overlaps with an existing mapping.10.0.1.0/24-----192.168.1.0/24 can be added to SPD rules because it does not overlap with existing mappings.Parameter | Description |
Tunnel name | Custom tunnel name with 60 characters at most. |
Region | The region of the VPN gateway that is associated with the VPN tunnel to be created. |
VPN gateway type | Two types of VPN gateways are available: VPN gateway for VPC and VPN gateway for CCN. For more information about the two types of VPN gateways, see Overview. |
VPC | Select the VPC of the VPN gateway only when the VPN gateway type is VPC. The VPN for CCN doesn't have such a parameter. |
VPN gateway | Select a VPN gateway from the list. |
Customer gateway | Select a customer gateway that has been created. Otherwise, create one. |
Customer gateway IP | The public IP address of the customer gateway |
Pre-shared key | Used to verify the identities of local and customer gateways that must use the same pre-shared key. |
Negotiation type | Traffic-triggered: After the VPN tunnel is created, the negotiation will start when the traffic flows to the local end. Active: After the tunnel is created, the local end actively initiates negotiation with the peer end. Passive: The negotiation is launched by the peer end. |
Communication mode | Supports three types: Destination Routing, SPD Policy, and Dynamic BGP Routing. Note: For static routing scenarios, we recommend using destination routing. Before using the SPD policy mode, you can first learn about the SPD policy principles. To use dynamic BGP route grayscale, submit a ticket. |
Customer Gateway ASN | Displays the ASN on the IDC side configured in the customer gateway. (Displayed when dynamic BGP routing is selected.) |
BGP tunnel IP range | BGP tunnel IP address range for intercommunication between the cloud and the user. The IP address range must be within the range of 169.254.0.0/16. (Displayed when dynamic BGP routing is selected.) |
Cloud BGP Address | BGP IP address for interconnecting the cloud and the IDC side. Do not let it conflict with the VPC CIDR block. It is recommended to use the default assigned address. (Displayed when dynamic BGP routing is selected.) |
Customer BGP Address | Automatically assigned address for BGP interconnection on the user side, which cannot be modified. (Displayed when dynamic BGP routing is selected.) |
Tags | Tags are identifiers for VPN gateway resources, designed to facilitate faster querying and easier management. This is an optional configuration that you can define as needed. |
Parameter | Description |
Enable DPD | DPD is enabled by default and used to check whether the peer is alive or not. If the response of the DPD request message actively sent by the local end is not received within the specified timeout period, it is considered that the peer is offline and timeout action is performed. The local end actively sends DPD request messages to the peer. If no response message from the peer is received within the specified timeout period, the peer is considered offline, and the corresponding timeout action is performed. |
DPD timeout period | The overall DPD timeout period. Valid range: 30-60s. The default value is 30s. |
DPD timeout action | Disconnect: The current SA is cleared and the current VPN tunnel is disconnected Retry: Reconnect to the peer |
Parameter | Description |
Enable health check | Health check is used for primary/secondary tunnels. For more information, see Connecting IDC to a Single Tencent Cloud VPC for Primary/Secondary Disaster Recovery. If your business does not involve primary/secondary tunnels, you do not need to enable this feature (which is disabled by default). Otherwise, complete the health check configuration on the local and peer addresses as instructed in Configuring Health Checks. Note: Once you enable health check and create a VPN tunnel, the system immediately performs network quality analysis (NQA) to check the health of the tunnel. If the tunnel is not linked or your configured peer address doesn't respond to NQA detection, the system will consider the tunnel as unhealthy after multiple detection failures and interrupt the business traffic until the tunnel recovers. |
VPN gateway IP for health check | This parameter is required only when health check is enabled. You can use the IP address assigned by the system or specify one. Note: The specified address cannot conflict with the private network address or IP range of the VPC, CCN, or IDC or the peer address in health check, and it cannot be a multicast, broadcast, or local loopback address. |
Customer gateway IP for health check | This parameter is required only when health check is enabled. You can use the IP address assigned by the system or specify one. Note: The specified address cannot conflict with the private network address or IP range of the VPC, CCN, or IDC or the local address in health check, and it cannot be a multicast, broadcast, or local loopback address. |
ICMP | The NQA method is used to perform health checks. |
Health check interval | Interval between two health checks of Tencent Cloud. millisecond (ms). Default value: 5000. Value range: 1000-5000ms. |
Number of health checks | Number of consecutive health check failures after which route switching is performed. Default value: 3. Value range: 3-8. |
Health check latency | Check timeout. Unit: ms. Default value: 150ms. Value range: 10-5000ms. |
Configuration Item | Description |
Version | IKEV1 or IKEV2 |
Identity verification method | Pre-shared key (default) |
Encryption algorithm | IKEV1: AES-128, AES-192, AES-256, 3DES, DES, and SM4 are supported. IKEV2: AES-128, AES-192, AES-256, 3DES, DES, SM4, AES128GCM128, AES192GCM128, and AES256GCM128 are supported. AES-128 is recommended. |
Verification algorithm | Identity verification algorithm. MD5, SHA1, SHA-256, SHA-384, SHA-512, and SM3 are supported. SHA1 is recommended. |
Negotiation mode | Main (main mode) and aggressive (aggressive mode) are supported. The difference is that aggressive mode uses fewer packets to send more information, enabling faster connection establishment, but transmits the security gateway's identity in clear text. When aggressive mode is used, configuration parameters such as Diffie-Hellman and PFS cannot be negotiated, requiring both ends to have compatible configurations. (Selectable only for IKEV1) |
Local ID | IP Address (default) and FQDN (full domain name) are supported. |
Customer ID | IP Address (default) and FQDN are supported. Default value: IP Address. |
DH group | Specify the DH group used for IKE key exchange. Ensure that the peer also supports the selected DH group. DH group1: A DH group that uses the 768-bit Modular Exponentiation (MODP) algorithm. DH group2: A DH group that uses the 1024-bit MODP algorithm. DH group5: A DH group that uses the 1536-bit MODP algorithm. DH group14: A DH group that uses the 2048-bit MODP algorithm. DH group15: A DH group that uses the 3072-bit MODP algorithm. DH group16: A DH group that uses the 4096-bit MODP algorithm. DH group19: A DH group that uses the 256-bit random elliptic curve (Elliptic Curve Group modulo a Prime, ECP) algorithm. DH group20: A DH group that uses the 384-bit ECP algorithm. DH group21: A DH group that uses the 521-bit ECP algorithm. DH group24: A DH group that uses the 2048-bit MODP algorithm with a 256-bit prime order subgroup. |
IKE SA lifetime | Unit: s
The SA lifetime proposed for IKE security. Before a preset lifetime expires, another SA is negotiated in advance to replace the old one. The old SA is used before a new one is determined through negotiation. The new SA is used immediately after establishment, and the old one is automatically cleared after its lifetime expires. |
Configuration Item | Description |
Encryption algorithm | For IKEV1, the encryption algorithms supported are AES-128, AES-192, AES-256, 3DES, DES, and SM4. For IKEV2, the encryption algorithms supported are AES-128, AES-192, AES-256, 3DES, DES, SM4, AES128GCM128, AES192GCM128, and AES256GCM128. AES-128 is recommended. |
Verification algorithm | Identity verification algorithm. MD5, SHA1, SHA-256, SHA-384, SHA-512, and SM3 are supported. SHA1 is recommended. |
Packet encapsulation mode | Tunnel |
Security protocol | ESP |
PFS | Supported values are disable, DH-group1, DH-group2, DH-group5, DH-group14, DH-group15, DH-group16, DH-group19, DH-group20, DH-group21, and DH-group24. |
IPsec sa Lifetime(s) | Unit: s. |
IPsec sa Lifetime (KB) | Unit: KB. |
Apakah halaman ini membantu?
Anda juga dapat Menghubungi Penjualan atau Mengirimkan Tiket untuk meminta bantuan.
masukan