How to configure AZFWFlowTrace logs on Azure Firewall (Basic SKU) to debug Asymmetric routing

Charith W 0 Reputation points
2026-01-27T14:51:15.3933333+00:00

Hi, I have created a azure firewall on a VNET and i am trying to debug an issue related to asymmetric routing,

The scenario is a P2SVPN trying to communicate with a SQL Server (via private endpoint), the P2SVPN is in a hub vnet and the SQL Server is in a spoke vnet (hub vnet is peered to this spoke vnet), i believe best practice would be to route P2SVPN traffic via the firewall which i managed to do with the use of route tables however when i tried to add a route table in the private endpoint subnet (of my sql server), i was then unable to connect to my sql server at all (connection times out).

I assumed this is because of asymmetric routing ? where the response from my private endpoint is not being routed via the firewall to my P2SVPN resulting in the connection being dropped possibly and the goal is to try use AZFWFlowTrace logs to see if that is the case but unfortunately i cannot see any logs in this table even after i have configured diagnostic settings to send flow trace logs to my log analytics workspace.

Logs for other tables however, such as AZFWDnsFlowTrace and AZFWNetworkRule are displaying fine, would anyone be able to assist me with why the AZFWFlowTrace table is not filling up and also possibly a cause as to why i am unable to route a private endpoint return response via a firewall back to my P2SVPN Client ?

Azure Firewall
Azure Firewall

An Azure network security service that is used to protect Azure Virtual Network resources.


1 answer

Sort by: Most helpful
  1. Christos Panagiotidis 3,551 Reputation points
    2026-07-20T13:01:42.3666667+00:00

    Your empty AZFWFlowTrace table and lost SQL connectivity require separate log and routing checks. Flow Trace is a resource-specific Azure Firewall log: choose Resource specific in the diagnostic setting, enable Flow Trace, target the correct workspace, and allow up to 30 minutes. It records only traffic that reaches the firewall.

    A private endpoint installs a /32 route that can outrank a broader UDR. Enable route-table network policies on the private-endpoint subnet, then add a sufficiently specific route toward the firewall; a default route cannot override the /32. Verify the Point-to-Site client route and the relevant subnet routes, then confirm TCP 1433 matches a firewall network rule. If the forward path reaches the firewall but the return path bypasses it, configure Azure Firewall to always SNAT network-rule traffic to private destinations so SQL replies to the firewall. Retest and correlate AZFWNetworkRule with AZFWFlowTrace.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.