Creation of two VPNs using the same customer gateway

0

I have the following scenario: Create two S2S VPNs in the same VPC, with almost similar configurations and using the same customer gateway. During creation I get the following error: there already exists a vpn connection with different tunnel option value phase1 integrity algorithms between customer gateway and vpn gateway. Is it possible to realize this scenario?

已提問 9 個月前檢視次數 636 次
2 個答案
2

Hello.
It is possible to use the same customer gateway device.
This can be done by creating another Customer Gateway with the same IP address and creating a VPN connection.
https://docs.aws.amazon.com/vpn/latest/s2svpn/your-cgw.html#your-cgw-multiple-connection

Multiple VPN connections using the same customer gateway device You can create additional VPN connections from your on-premises location to other VPCs using the same customer gateway device. You can reuse the same customer gateway IP address for each of those VPN connections.

profile picture
專家
已回答 9 個月前
1
已接受的答案

Hello, That's the expected behavior; if you use the same virtual private gateway (VGW) and the same customer gateway (CGW), it will give you an error. However, if you want to use the same target gateway and customer gateway, you can use Transit Gateway as an option and same Customer Gateway to create two VPN connections.

profile picture
專家
已回答 9 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南