问题原文
原帖链接 · Inacio · CC BY-SA 3.0
I have different VPCs in different regions in AWS:
- 10.1.0.0/16(A)
- 10.2.0.0/16(B)
- 10.3.0.0/16(C)
I followed this article(http://cloudacademy.com/blog/openvpn-aws-vpc/) to open a vpn connection in order to let server instances in B to communicate RDS instance in private subnet of VPC A.
I did the following in ipsec.conf:
rightsubnet=10.2.0.0/16
Everything works fine but how am I supposed to connect C to A? Do I need to open an another OpenVPN instance? I am pretty sure there is a way to accomplish this.
已采纳解答
原帖链接 · strongjz · CC BY-SA 3.0
For VPC in the Same region:
VPC peering, Set up a VPC Peer connection to the other VPC's. So if the vpn server is in A, creating a VPC peer connection from A to B and A to C.
http://docs.aws.amazon.com/AmazonVPC/latest/PeeringGuide/Welcome.html
For VPC Peering in Different Regions:
You can Use a software VPN like Openvpn or Strongswan
Leverages AWS networking equipment in-region and Internet pipes between regions
https://s3.amazonaws.com/awsmedia/AWS_Amazon_VPC_Connectivity_Options.pdf
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
