Welcome to the Microsoft Q&A Platform. Thank you for reaching out & I hope you are doing well.
Looking at your configuration, it seems to be complex and consisting of multiple hops.
- You are not recommended to use Azure Routing intent in conjunction with UDRs.
- To troubleshoot this, we will be required to check every hop, such as VM, Azure Firewall in Core VNET and the VPN Gateway.
- As you can see, Virtual WAN Hub routing intent with Private Traffic makes sure all Branch-to-Branch traffic goes the Firewall that is deployed in the Vhub
- With that said, Azure Routing always follows longest prefix match algorithm and User-defined route over system/BGP Routes.
Now, I believe the traffic path you are expecting is :
VMinSpoke ---- AzureFirewallInCoreVNET ---- AzureFirewallInVhub ---- vWAN VPN Gateway
Now, If you want custom NVA set up, you have to use custom route tables
- You can route traffic from VMinSpoke to AzureFirewallInCoreVNET, and from AzureFirewallInCoreVNET to AzureFirewallInVhub as long as UDRs are correct.
- You should be able to check this in VM Effective Routes
- Whatever shows as nextHop is the nextHop for this traffic.
- However, you must also take care of the return traffic.
- This can be done by custom settings
- The How-to is documented here
The catch is that you cannot use Routing Intent with custom route tables
- So, the above cannot be used if you have Routing Intent configured
- See : Known Limitations
Hope this clarifies.
Thanks,
Kapil