Troubleshoot a DOWN IPSEC UP status for a VPN connection when customer gateway is UP (2024)

The customer gateway that's configured for my AWS Site-to-Site VPN is UP but the Site-to-Site VPN console shows that my connection is DOWN.

Short description

The Site-to-Site VPN console might show that the status of your connection is IPSEC UP but the tunnel status is DOWN. This means that Internet Protocol security (IPsec) been is established, but Border Gateway Protocol (BGP) isn't established. For a dynamic Site-to-Site VPN connection to show as UP on the AWS side, both IPSEC and BGP must be successfully established.

Resolution

Confirm that the customer gateway supports BGP

  1. Confirm that your customer gateway supports and is configured with BGP.
  2. Confirm if the on-premises side of your connection uses dynamic (BGP) or static (policy-based Site-to-Site VPN or static route-based Site-to-Site VPN). If the on-premises side is using static routing, then you must re-create the Site-to-Site VPN on the AWS end.

When you create a Site-to-Site VPN connection using AWS, the dynamic routing option is selected, by default. If you create a Site-to-Site VPN connection without choosing static routing, then a dynamic Site-to-Site VPN is created. You can't modify the routing option for an existing Site-to-Site VPN connection, so you must create a new Site-to-Site VPN to use static routing.

When you delete a Site-to-Site VPN connection and create a new connection, then a new pair of public IP addresses is assigned to the tunnels. You must reconfigure the customer gateway device and update the public peer IPs, accordingly. But when you create a new connection, you can use the tunnel inside IPs and pre-shared secret key from your previous Site-to-Site VPN connection. You don't need to use the details that AWS auto-generates.

Verify the encryption domain and proxy IDs

  1. Confirm if the encryption domain or proxy ID that's configured on both AWS and on your customer gateway device is 0.0.0.0/0 = 0.0.0.0/0.
  2. On the AWS end, check the local IPV4 network CIDR (on-premises CIDR) and remote IPv4 network CIDR (AWS CIDR).
  3. On the customer gateway, follow the guidelines provided by the vendor to check the encryption domain and proxy ID.
  4. If you have turned on Site-to-Site VPN logs for your connection, then review the Amazon CloudWatch log group that contains your Site-to-Site VPN logs. Choose the log stream for the associated Site-to-Site VPN endpoint. Then, choose AWS tunnel Phase 2 SA is established with SPI** to filter the log streams. You can now view the traffic selector negotiated by the customer gateway, assuming the AWS side is the default of 0.0.0.0/0 = 0.0.0.0/0.

The log steam is in a format similar to vpn-id-VPN_Peer_IP-IKE.log. See the following example output:

{"event_timestamp": 1673252138,"details": "AWS tunnel Phase 2 SA is established withinbound SPI: 0xcbf7f2e3: outbound SPI: 0xc9be76cd: traffic selectors:(AWS-side) 172.31.0.0/16 <=> (CGW-side) 10.0.0.0/16","dpd_enabled": true,"nat_t_detected": true,"ike_phase1_state": "established","ike_phase2_state": "established"}

Note: If you're using a dynamic Site-to-Site VPN connection, then the traffic selector must be broad enough to cover all traffic. This includes APIPA IP addresses that are used for BGP peers. In the previous example, you update the encryption domain on your customer gateway device to 0.0.0.0/0 (AWS) <==> **0.0.0.0/**0 (on-premises).

If the AWS side of your connection has a specific encryption domain defined, then modify the Site-to-Site VPN connection options. Make sure that both the local IPv4 network CIDR and remote IPv4 network CIDR are set to 0.0.0.0/0.

Turn on NAT-T for accelerated Site-to-Site VPN

You might have a Site-to-Site VPN that terminates on a transit gateway, with acceleration turned on. With this setup, make sure that NAT-T is activated on the customer gateway device.

Note: NAT-T must be turned on for accelerated Site-to-Site VPN. If NAT-T isn't activated on the customer gateway device, then IPsec is established but no traffic flows over the Site-to-Site VPN connection. This includes BGP traffic. For more information, see the Rules and restrictions for accelerated Site-to-Site VPN.

Troubleshoot BGP

If the issue persists, then review the steps in How do I troubleshoot BGP connection issues over VPN?

Troubleshoot a DOWN IPSEC UP status for a VPN connection when customer gateway is UP (2024)
Top Articles
Are yarn and wool the same thing?
FastVPN Review 2024 — Intuitive and Cheap, but Is It Safe?
Stretchmark Camouflage Highland Park
Mama's Kitchen Waynesboro Tennessee
Undergraduate Programs | Webster Vienna
Crazybowie_15 tit*
About Goodwill – Goodwill NY/NJ
State Of Illinois Comptroller Salary Database
World History Kazwire
Diablo 3 Metascore
Where does insurance expense go in accounting?
Flights To Frankfort Kentucky
Eka Vore Portal
Midlife Crisis F95Zone
Extra Virgin Coconut Oil Walmart
Pinellas Fire Active Calls
Healthier Homes | Coronavirus Protocol | Stanley Steemer - Stanley Steemer | The Steem Team
Georgetown 10 Day Weather
Popular Chinese Restaurant in Rome Closing After 37 Years
Sussyclassroom
Buying Cars from Craigslist: Tips for a Safe and Smart Purchase
27 Paul Rudd Memes to Get You Through the Week
TeamNet | Agilio Software
Airtable Concatenate
Disputes over ESPN, Disney and DirecTV go to the heart of TV's existential problems
The Collective - Upscale Downtown Milwaukee Hair Salon
Wbap Iheart
Ts Modesto
Mchoul Funeral Home Of Fishkill Inc. Services
950 Sqft 2 BHK Villa for sale in Devi Redhills Sirinium | Red Hills, Chennai | Property ID - 15334774
Best Laundry Mat Near Me
Minecraft Jar Google Drive
Morlan Chevrolet Sikeston
11 Pm Pst
Gwu Apps
Raisya Crow on LinkedIn: Breckie Hill Shower Video viral Cucumber Leaks VIDEO Click to watch full…
Craigslist Lakeside Az
Easy Pigs in a Blanket Recipe - Emmandi's Kitchen
Wait List Texas Roadhouse
Lonely Wife Dating Club בקורות וחוות דעת משתמשים 2021
Craigslist en Santa Cruz, California: Tu Guía Definitiva para Comprar, Vender e Intercambiar - First Republic Craigslist
'Guys, you're just gonna have to deal with it': Ja Rule on women dominating modern rap, the lyrics he's 'ashamed' of, Ashanti, and his long-awaited comeback
Below Five Store Near Me
Costco Gas Foster City
Arnesons Webcam
Catchvideo Chrome Extension
Sky Dental Cartersville
Kushfly Promo Code
Marine Forecast Sandy Hook To Manasquan Inlet
Asisn Massage Near Me
Scholar Dollar Nmsu
Latest Posts
Article information

Author: Delena Feil

Last Updated:

Views: 6164

Rating: 4.4 / 5 (65 voted)

Reviews: 80% of readers found this page helpful

Author information

Name: Delena Feil

Birthday: 1998-08-29

Address: 747 Lubowitz Run, Sidmouth, HI 90646-5543

Phone: +99513241752844

Job: Design Supervisor

Hobby: Digital arts, Lacemaking, Air sports, Running, Scouting, Shooting, Puzzles

Introduction: My name is Delena Feil, I am a clean, splendid, calm, fancy, jolly, bright, faithful person who loves writing and wants to share my knowledge and understanding with you.