An administrator is configuring security for an internal web server named `Server1` (private IP address ) using an Azure Firewall. The administrator creates a Destination Network Address Translation (DNAT) rule that translates incoming HTTP traffic from the firewall's public IP address () on port to `Server1` on port . The administrator must block traffic from a specific external IP address () to `Server1` while continuing to allow HTTP traffic from all other internet sources. Which configuration should the administrator add to the Azure Firewall?
- AA Network rule with Action: Deny, Source: , Destination: , Destination Port:
- BA User-Defined Route (UDR) associated with the AzureFirewallSubnet with a route for and a Next Hop Type of None
- A Network rule with Action: Deny, Source: , Destination: , Destination Port: Cevap
- DAn Application rule with Action: Deny, Source: , Target FQDN: , Protocol: HTTP:80
Cevap
A Network rule with Action: Deny, Source: , Destination: , Destination Port:
The correct configuration is to add a Deny Network rule targeting the server's private IP address (). When inbound traffic matches a DNAT rule on Azure Firewall, the destination IP address is translated to the private IP address of the backend server. The firewall then evaluates Network rules against the translated packet. To block traffic from a specific source, the Deny Network rule must specify the post-translation destination IP ().
Adım Adım Çözüm
Anahtar Kavram
Azure Firewall processes DNAT rules first, and subsequent Network rules are evaluated against the translated (private) destination IP address rather than the original public IP address.