Azure Firewall logs show allowed DNAT but clients still time out to the service behind it.
AdvancedTroubleshootingNetwork Connectivity Errors
Answer
Likely causes → Asymmetric routing: return traffic from the backend goes directly to the internet (or via a different path) instead of back through the firewall.
Diagnose → Effective routes on the backend subnet: is there a route for the client's return path to the firewall?
Fix →
- Ensure the backend subnet's default route points to the firewall (so return traffic goes back through it)
- If the backend uses a public LB, don't mix with DNAT on the firewall
Prevent → Draw the full in/out path when designing NVAs.
More on Network Connectivity Errors
A VM with a public IP times out on SSH (`ssh: connect to host 20.x.x.x port 22: Connection timed out`).Beginner`nslookup kv-shop.vault.azure.net` from inside the VNet returns a public IP even though a Private Endpoint exists.IntermediateKey Vault returns `Client address is not authorized and caller is not a trusted service.` (ForbiddenByFirewall).BeginnerApplication Gateway returns `502 Bad Gateway` and backend health shows Unhealthy.IntermediateApp Gateway v2 deployment fails or goes unhealthy after a UDR `0.0.0.0/0 → firewall` was added to its subnet.AdvancedTwo VNets peered but VMs can't communicate; peering state shows `Initiated`.Intermediate