Comprehensive documentation and guides for building and managing your cloud network.
This guide provides detailed instructions on how to effectively manage Azure Firewall policies within your Azure Virtual WAN environment. Azure Firewall policies are central to defining and enforcing security rules across your virtual network resources.
Azure Firewall policies are a collection of security rules that control traffic flow to and from your Azure resources. They are essential for implementing a robust security posture, allowing you to granularly define what traffic is permitted or denied.
You can manage Azure Firewall policies through the Azure portal, Azure CLI, PowerShell, or ARM templates.
az network firewall policy rule-collection-group collection add \
--policy-name MyFirewallPolicy \
--resource-group MyResourceGroup \
--collection-name AllowWebTraffic \
--rule-collection-type NetworkRule \
--rule-type Allow \
--rules '[{"name": "AllowHTTP", "protocol": "TCP", "sourceAddresses": ["*"], "destinationAddresses": ["*"], "destinationPorts": ["80"], "destinationFqdns": null, "terminateTLS": false, "webCategories": null, "fqdnTags": null}]' \
--priority 200
az network firewall policy rule-collection-group collection add \
--policy-name MyFirewallPolicy \
--resource-group MyResourceGroup \
--collection-name AllowAppTraffic \
--rule-collection-type ApplicationRule \
--rule-type Allow \
--rules '[{"name": "AllowMicrosoft365", "protocol": {"type": "HTTP", "port": 80}, "sourceAddresses": ["10.0.1.0/24"], "destinationFqdns": ["*.office365.com"], "webCategories": null, "fqdnTags": ["Office365PortsAndProtocols"]}]' \
--priority 100
Explore advanced topics such as integrating with Network Security Groups (NSGs), managing policies for multiple Virtual Hubs, and using Azure Policy for governance.