VPN tunnel switching setting

0

Local firewall and VPC set up VPN, the ip of tunnel 1 is first prority and ip of tunnel 2 is second prority in the Local firewall When there is a problem with the ip of tunnel 1, AWS will failover to the tunnel 2 to keep communicate with local firewall. But when tunnel 1 is restored, AWS will not switch back to tunnel 1 to communicate with the firewall, but will continue to remain in tunnel 2. How to set up when tunnel 1 is restored, aws can also switch back to tunnel 1 to communicate with the local firewall

  • Are you using Static route based VPN or BGP based Dynamic VPN?

질문됨 2년 전378회 조회
2개 답변
0
수락된 답변

Hi,

Simply put, the VPN tunnel is randomly chosen by AWS and is called the preferred tunnel. If your AWS VPN connection (static route type) has an active/active configuration (both tunnels are up), you cannot configure your preferred specific tunnel in AWS to send traffic.

But, for dynamic AWS VPN connections (Active/Active), you can set the customer gateway device to prefer one VPN tunnel over the other by leveraging the order of preference criteria:

  1. Advertising more specific prefix over preferred tunnel
  2. Advertising shorter ASPATH over the preferred tunnel
  3. Setting lower MED values over the preferred tunnel

Hope this helps

profile pictureAWS
jcvip
답변함 2년 전
0

Hello,

See this Knowledge center article:

https://aws.amazon.com/premiumsupport/knowledge-center/vpn-configure-tunnel-preference/

Note also below from our documentation

We recommend that you use BGP-capable devices, when available, because the BGP protocol offers robust liveness detection checks that can assist failover to the second VPN tunnel if the first tunnel goes down. Devices that don't support BGP may also perform health checks to assist failover to the second tunnel when needed.

profile pictureAWS
전문가
답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠