Azure Bastion 3 – Securing Access to Virtual NetworksAzure Bastion 3 – Securing Access to Virtual Networks
$NetRule1 = New-AzFirewallNetworkRule -Name “Allow-DNS” -Protocol UDP -SourceAddress 10.0.2.0/24 `-DestinationAddress 8.8.8.8 -DestinationPort 53$NetRuleCollection = New-AzFirewallNetworkRuleCollection -Name RCNet01 -Priority 200 `-Rule $NetRule1 -ActionType “Allow”$Azfw.NetworkRuleCollections.Add($NetRuleCollection)Set-AzFirewall -AzureFirewall $Azfw In this section of code, [...]