Help Center/ Virtual Private Network/ FAQs/ FAQs - S2C Enterprise Edition VPN/ Networking and Application Scenarios/ Does a VPN Allow for Communications Between Two VPCs?
Updated on 2023-10-20 GMT+08:00
Does a VPN Allow for Communications Between Two VPCs?
- If the two VPCs are in the same region, use a VPC peering connection to connect them.
- If the two VPCs are in different regions, use a VPN to connect them. The operations are as follows:
- Create a VPN gateway for each VPC, and create a VPN connection between the two VPN gateways.
- For the VPN connection, set the customer gateway to the EIP of the peer VPN gateway.
- For the VPN connection, set the customer subnet to the subnet of the peer VPC.
- Set the same pre-shared keys (PSKs) and algorithms for the two VPCs.
Parent topic: Networking and Application Scenarios
What is your overall rating for this page?
0
1
2
3
4
5
6
7
8
9
10
Very dissatisfiedVery satisfied
Thank you very much for your feedback. We will continue working to improve the documentation.
The system is busy. Please try again later.