Interview Prep/Networking/Cloud networking: VPC, firewalls, NAT, VPN and proxies

Traffic steered to third-party firewalls behind a Gateway Load Balancer is all dropped, and GWLB targets show `unhealthy`.

AdvancedTroubleshootingCloud networking: VPC, firewalls, NAT, VPN and proxies
Answer

Likely causes → GWLB sends traffic to appliances encapsulated in GENEVE on UDP 6081. The appliance SG/NACL doesn't allow UDP 6081 from the GWLB, the appliance doesn't have GENEVE enabled, or the health check port (separate, typically TCP/HTTP) isn't answered. Also common: GWLB endpoint routes are missing in the ingress (edge) route table, so return traffic bypasses inspection.

Diagnose →

aws elbv2 describe-target-health --target-group-arn <gwlb-tg>
aws ec2 describe-security-groups --group-ids <appliance-sg> --query 'SecurityGroups[0].IpPermissions'
sudo tcpdump -ni eth0 udp port 6081 -c 20      # on the appliance

Fix → Allow UDP 6081 and the health check port from the GWLB subnets, enable GENEVE on the appliance, and add symmetric routes: subnet → GWLBe → IGW, and an IGW edge route table sending the subnet CIDR back via the GWLBe.

Prevent → Use the vendor's GWLB reference architecture and verify both traffic directions with Reachability Analyzer.

All Networking questions Roadmap: Networking for DevOps

More on Cloud networking: VPC, firewalls, NAT, VPN and proxies