Traffic between two VPCs through a central inspection VPC with firewall appliances works for some flows and silently drops others.
AdvancedTroubleshootingCloud networking: VPC, firewalls, NAT, VPN and proxies
Answer
Likely causes → Asymmetric routing across AZs. The Transit Gateway picks the firewall attachment in the AZ of the source for one direction and a different AZ for the return. Stateful firewalls in different AZs don't share state, so the return packet is dropped.
Diagnose →
aws ec2 describe-transit-gateway-vpc-attachments --transit-gateway-attachment-ids <inspection-attach> \
--query 'TransitGatewayVpcAttachments[0].Options.ApplianceModeSupport'
# firewall logs: SYN seen in AZ-a, SYN-ACK arriving in AZ-b with no state
Fix → Enable appliance mode on the inspection VPC attachment so TGW keeps both directions of a flow on the same AZ:
aws ec2 modify-transit-gateway-vpc-attachment --transit-gateway-attachment-id <id> \
--options ApplianceModeSupport=enable
Or use Gateway Load Balancer, which keeps flow symmetry by design.
Prevent → Make appliance mode part of the inspection VPC module and test cross-AZ flows explicitly.
More on Cloud networking: VPC, firewalls, NAT, VPN and proxies
An EC2 instance in a private subnet hangs on `apt-get update` at `Connecting to archive.ubuntu.com`.BeginnerA new EC2 instance in a "public" subnet can't be reached over SSH from the internet; the SG allows port 22 from your IP.BeginnerThe SG allows inbound 443 and the app works from inside the VPC, but internet clients time out. The subnet NACL allows inbound 443.IntermediateA VPC peering connection is `Active`, but instances in the two VPCs can't ping each other.BeginnerALB targets are `unhealthy` with reason `Target.Timeout`, and VPC Flow Logs show `REJECT` from the ALB's IPs to the instances.BeginnerTwo VPCs are attached to a Transit Gateway, but traffic between them fails.Intermediate