Prerequisite
The local private IP range and the Tencent Cloud VPC cannot overlap.
Configuration
3. Create a VPN tunnel
The client uses certificate and key to connect with the VPN gateway. The client and the server verify their certificates bidirectionally. After verification, the server assigns an IP from the client IP address pool to the client for connecting with CVM in VPC. 4. Configure a local gateway.
Complete the gateway configuration at the client side.
5. Configure a route within VPC.
Configure the routing and forwarding policies for the IDC to connect with Tencent Cloud VPC. Set the the IP range of the opposite network as the destination address, and VPN tunnel or CCN as the next hop type. VPN tunnel: select an existing VPN tunnel
CCN: the CCN instance associated with the VPN gateway is displayed here
6. Test the connectivity
Use ping
to verify the connectivity of IPSec VPN connection after the above configurations.
Was this page helpful?