Skip to content

Commit 82cdde2

Browse files
Merge pull request #249994 from NDVALPHA/NDVALPHA-PS-FWMANAGER
NDVALPHA-PS-FWMANAGER
2 parents d6bbf38 + e0ecde2 commit 82cdde2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/firewall-manager/secure-cloud-network-powershell.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ Start with the first step, to configure your virtual network connections to prop
116116
$VnetRoutingConfig = $Spoke1Connection.RoutingConfiguration # We take $Spoke1Connection as baseline for the future vnet config, all vnets will have an identical config
117117
$NoneRT = Get-AzVhubRouteTable -ResourceGroupName $RG -HubName $HubName -Name "noneRouteTable"
118118
$NewPropRT = @{}
119-
$NewPropRT.Add('Id', $NoneRT.id)
119+
$NewPropRT.Add('Id', $NoneRT.Id)
120120
$PropRTList = @()
121121
$PropRTList += $NewPropRT
122122
$VnetRoutingConfig.PropagatedRouteTables.Ids = $PropRTList
@@ -230,7 +230,7 @@ $SSHRule = New-AzFirewallPolicyNetworkRule -Name PermitSSH -Protocol TCP `
230230
-SourceAddress "10.0.0.0/8" -DestinationAddress "10.0.0.0/8" -DestinationPort 22
231231
$NetCollection = New-AzFirewallPolicyFilterRuleCollection -Name "Management" -Priority 100 -ActionType Allow -Rule $SSHRule
232232
$NetGroup = New-AzFirewallPolicyRuleCollectionGroup -Name "Management" -Priority 200 -RuleCollection $NetCollection -FirewallPolicyObject $FWPolicy
233-
# Add Application Rul
233+
# Add Application Rule
234234
$ifconfigRule = New-AzFirewallPolicyApplicationRule -Name PermitIfconfig -SourceAddress "10.0.0.0/8" -TargetFqdn "ifconfig.co" -Protocol "http:80","https:443"
235235
$AppCollection = New-AzFirewallPolicyFilterRuleCollection -Name "TargetURLs" -Priority 300 -ActionType Allow -Rule $ifconfigRule
236236
$NetGroup = New-AzFirewallPolicyRuleCollectionGroup -Name "TargetURLs" -Priority 300 -RuleCollection $AppCollection -FirewallPolicyObject $FWPolicy

0 commit comments

Comments
 (0)