All Documents
Current Document

Content is empty

If you don't find the content you expect, please try another search term

Documentation

Connect to another VPC through VPN Connections

Last updated:2021-10-11 17:58:53

Connect VPN Connections to another VPC

  1. Log in to the VPN Connections console.
  2. Create a VPN gateway for VPC1 and a VPN tunnel to connect the on-premises data center to VPC1.
  3. Log in to the Peering console.
  4. Create a peering connection between VPC1 and VPC2.
  5. On the data center side, create a route. The destination of the route is the VPC2 CIDR block (such as 10.5.0.0/16) and the next hop is the VPN tunnel. Set Extra Network of the VPN tunnel to the VPC2 CIDR block (10.5.0.0/16).
  6. Access the Route page in the VPC console.
  7. Create a route for VPC1. The destination of the route is the VPC2 CIDR block (10.5.0.0/16) and the next hop is the peering connection between VPC1 and VPC2. (Currently, when you create a peering connection, a route pointing to the CIDR block of the peer VPC is automatically created. You can determine whether to skip this step based on actual situation.)

Connect another VPC to VPN Connections

  1. Access the Route page.
  2. Create a route for VPC2. The destination of the route is the data center CIDR block (such as 10.3.0.0/16), and the next hop is the peering connection between VPC1 and VPC2.
  3. Create a route for VPC1. The destination of the route is the data center CIDR block (such as 10.3.0.0/16), and the next hop is the VPN tunnel.
On this page
Pure ModeNormal Mode

Pure Mode

Click to preview the document content in full screen
Feedback