Help Center>
Virtual Private Network>
FAQs>
Classic VPN>
Networking and Application Scenarios>
Does a VPN Allow for Communications Between Two VPCs?
Updated on 2023-06-16 GMT+08:00
Does a VPN Allow for Communications Between Two VPCs?
- If the two VPCs are deployed in the same region, use a VPC peering connection to connect them.
- If the two VPCs are deployed in different regions, use a VPN connection to connect them. The detailed operations are as follows:
- Create a VPN gateway for each VPC and create VPN connections for the two VPN gateways.
- Set the remote gateway address of each VPN connection to the gateway IP address of the peer side.
- Set the remote subnets of each VPN connection to the subnets of the peer VPC.
- The pre-shared keys and algorithm parameters of the two VPN connections must be the same.
Parent topic: Networking and Application Scenarios
Networking and Application Scenarios FAQs
- Can I Visit Websites Across International Borders Using a VPN?
- Can I Deploy Applications on the Cloud, Databases in an On-premises Data Center, and Then Connect Them Through a VPN?
- How Many VPN Connections Do I Need to Connect to Multiple On-premises Servers?
- Do I Need to Install IPsec Software on Each Server That Needs to Access an ECS to Establish a VPN Connection?
- What Are the Differences Between the Application Scenarios and Connection Modes of IPsec and SSL VPNs?
- Does a VPN Allow for Communications Between Two VPCs?
- What Are the Impacts of a VPN on an On-premises Network? What Are the Changes to the Route for Accessing an ECS?
- What Configurations Are Required at Both Ends of a VPN that Connects an On-premises Data Center to a VPC?
- Can I Use a Network with Two Egresses to Establish Two VPN Connections with the Same VPC?
- Can I Connect Two VPCs in the Same Region Through a VPN?
- How Can I Connect Two VPCs in the Same Region?
- How Do I Replace a Direct Connect Connection with a VPN?
- How Do I Enable Communications Between Two VPCs and an On-premises Network?
- How Do I Connect Four Subnets?
- Do I Need Two VPN Connections to Connect Four Subnets of Two Regions If Each Region Has Two Subnets?
- Can I Access OBS Through a VPN?
- How Do I Connect My Personal Computer to the Cloud Through a VPN?
- How Do I Access Huawei Cloud ECSs From Home After My Enterprise Network Is Connected to Huawei Cloud Through a VPN?
- How Do I Create a VPN Connection Temporarily If No On-Premises Device That Supports IPsec Is Available After I Purchase a Huawei Cloud VPN Gateway and VPN Connection?
- How Do I Select a Proper Region on the Cloud When I Am Buying a VPN Gateway?
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbotmore