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
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.
Chatbot