Azure Firewall

Padman Prasantha De Silva 21 Reputation points
2022-04-02T04:47:59.95+00:00

Need to get the source IP of the client who is connecting from outside to my webserver behind a Azure Firewall NAT rule

Azure Firewall
Azure Firewall
An Azure network security service that is used to protect Azure Virtual Network resources.
681 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. yusuke 81 Reputation points Microsoft Employee
    2022-04-04T10:58:15.553+00:00

    Azure Firewall executes a source NAT to inbound traffic, and every source IP your webserver looks at in an access log is the private IP of Azure Firewall. So You can find the source IP address in the Azure Firewall diagnostic log. The log about DNAT is in AzureFirewallNetworkRule.

    https://learn.microsoft.com/en-us/azure/firewall/firewall-diagnostics#enable-diagnostic-logging-through-the-azure-portal

    Best

    0 comments No comments

Your answer

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