March 2019
Intermediate to advanced
234 pages
8h 14m
English
In order to create a new allow rule in Azure Firewall, execute the following command:
$RG="Packt-Networking-Portal" $Location="West Europe" $Azfw = Get-AzureRmFirewall -ResourceGroupName $RG $Rule = New-AzureRmFirewallApplicationRule -Name Rule1 -Protocol "http:80","https:443" -TargetFqdn "*packt.com" $RuleCollection = New-AzureRmFirewallApplicationRuleCollection -Name RuleCollection1 -Priority 100 -Rule $Rule -ActionType "Allow" $Azfw.ApplicationRuleCollections = $RuleCollection Set-AzureRmFirewall -AzureFirewall $Azfw
Read now
Unlock full access