Troubleshooting Hybrid and Private Connectivity
This lesson explains the characteristic failure modes of hybrid connections, which add tunnels, BGP routing and DNS forwarding, and of private connectivity, which adds endpoints and private DNS.
Learning outcomes
After completing this lesson, you will be able to:
- Troubleshoot Site-to-Site VPN tunnels and routing.
- Troubleshoot Client VPN and DNS.
- Troubleshoot interface endpoints and private DNS.
Site-to-Site VPN problems
Start with the tunnel status in the console and the TunnelState CloudWatch metric (1 up, 0 down), plus TunnelDataIn and TunnelDataOut. Site-to-Site VPN logs, published to CloudWatch Logs, record IKE and IPsec negotiation and BGP events. The following table lists common problems.
| Symptom | Likely cause | Fix |
|---|---|---|
| Tunnel down, phase 1 fails | Mismatched IKE version, encryption, pre-shared key or customer gateway IP | Align settings with the downloaded configuration |
| Tunnel up, no traffic | No route propagation or static routes in VPC/TGW route tables, or SG/NACL blocks | Enable propagation or add routes; check filters |
| BGP session down | ASN mismatch, inside tunnel IPs wrong, firewall blocking TCP 179 | Correct BGP configuration |
| Tunnel drops when idle | No traffic to keep the security association alive | Configure DPD/keepalive or startup action |
| Some prefixes unreachable | Overlapping CIDRs, or more than 100 prefixes advertised over BGP to a virtual private gateway | Summarise routes; fix overlap |
| Only one tunnel ever used and outage during maintenance | Second tunnel not configured | Configure both tunnels |
The following diagram compares route tables with propagation disabled and enabled.

VPN problems
Client VPN and DNS
With Client VPN, users who connect but cannot reach resources usually lack an authorisation rule for the destination CIDR (for their group), a route in the endpoint route table, or a security group rule on the destination allowing the endpoint's associated subnet or security group. Internet access through the VPN needs a 0.0.0.0/0 route, an authorisation rule and a NAT path from the associated subnet. Hybrid DNS failures show up as name resolution errors even when IP connectivity works; check Resolver inbound and outbound endpoints, forwarding rules and their VPC associations, endpoint security groups for port 53, and on-premises conditional forwarders, using Resolver query logs.
Private connectivity problems
Interface endpoints fail when their security group does not allow HTTPS from clients, private DNS is disabled (so names resolve to public IPs that are unreachable without NAT), the VPC's DNS attributes are off, or the endpoint policy denies the action. On-premises clients reach interface endpoints only with a Resolver inbound endpoint or the endpoint-specific DNS names. Gateway endpoints fail when the subnet's route table is not associated with the endpoint, when traffic comes from another Region or from on premises (which gateway endpoints do not support), or when bucket policies require a different aws:SourceVpce. PrivateLink endpoint services fail when the consumer's connection is pending acceptance or the provider's NLB targets are unhealthy.
Interface endpoint checks
VPN up, nothing works
A new Site-to-Site VPN to a virtual private gateway shows both tunnels UP and BGP sessions established, but on-premises servers cannot reach instances. Flow logs on the instances' ENIs show no records from on-premises addresses, so traffic is not reaching them. BGP is advertising the on-premises prefix 192.168.0.0/16, but the private subnets' route tables have route propagation disabled for the virtual private gateway, so responses would have no route back and the instances' security groups only allow the VPC CIDR. Enabling route propagation on the private route tables and allowing 192.168.0.0/16 in the security group restores connectivity.
Client VPN connects, but users cannot reach a subnet. Which settings should be checked?
Show answer
Authorisation rules, routes and the destination's security group rules.
Exam Tips
Remember for the exam
- TunnelState shows tunnel health; VPN logs show IKE, IPsec and BGP events.
- Tunnel up but no traffic: route propagation, static routes or SG/NACL rules.
- Client VPN needs authorisation rules, routes and destination SG rules.
- Interface endpoint issues: endpoint SG 443, private DNS, endpoint policy.
- Gateway endpoints do not work from on premises or other Regions.