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?

asked 8 months ago565 views
2 Answers
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
EXPERT
answered 8 months ago
1
Accepted Answer

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
EXPERT
answered 8 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions