VPN site-to-site tunnel is `Connected`, but no traffic flows from on-prem to Azure.
IntermediateTroubleshootingNetwork Connectivity Errors
Answer
Likely causes → Local network gateway address prefixes missing on-prem ranges, on-prem routing not pointing Azure ranges to the tunnel, NSGs blocking, or traffic selectors mismatch with policy-based devices.
Diagnose →
az network vnet-gateway list-learned-routes -g rg-hub -n vgw-hub -o table
az network local-gateway show -g rg-hub -n lgw-office --query localNetworkAddressSpace
Fix → Correct prefixes or BGP config; enable usePolicyBasedTrafficSelectors for policy-based devices; allow on-prem ranges in NSGs.
Prevent → Use BGP to avoid static prefix drift.
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