Skip to content

Commit 8691a52

Browse files
committed
fixes
1 parent 2cea366 commit 8691a52

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

articles/virtual-network/tutorial-filter-network-traffic.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ Create a subnet configuration with [New-AzVirtualNetworkSubnetConfig](/powershel
9090
$subnet = @{
9191
Name = "subnet-1"
9292
VirtualNetwork = $virtualNetwork
93-
AddressPrefix = "10.0.2.0/24"
93+
AddressPrefix = "10.0.0.0/24"
9494
}
9595
Add-AzVirtualNetworkSubnetConfig @subnet
9696
@@ -315,7 +315,7 @@ $webRuleParams = @{
315315
SourceAddressPrefix = "Internet"
316316
SourcePortRange = "*"
317317
DestinationApplicationSecurityGroupId = $webAsg.id
318-
DestinationPortRange = "80,443"
318+
DestinationPortRange = 80,443
319319
}
320320
$webRule = New-AzNetworkSecurityRuleConfig @webRuleParams
321321
```
@@ -324,7 +324,7 @@ The following example creates a rule that allows traffic inbound from the intern
324324

325325
```azurepowershell-interactive
326326
$mgmtAsgParams = @{
327-
Name = "nsg-mgmt"
327+
Name = "asg-mgmt"
328328
ResourceGroupName = "test-rg"
329329
}
330330
$mgmtAsg = Get-AzApplicationSecurityGroup @mgmtAsgParams
@@ -434,15 +434,15 @@ Create a public IP address for each VM with [New-AzPublicIpAddress](/powershell/
434434

435435
```powershell-interactive
436436
$publicIpWebParams = @{
437-
AllocationMethod = "Dynamic"
437+
AllocationMethod = "Static"
438438
ResourceGroupName = "test-rg"
439439
Location = "westus2"
440440
Name = "public-ip-vm-web"
441441
}
442442
$publicIpWeb = New-AzPublicIpAddress @publicIpWebParams
443443
444444
$publicIpMgmtParams = @{
445-
AllocationMethod = "Dynamic"
445+
AllocationMethod = "Static"
446446
ResourceGroupName = "test-rg"
447447
Location = "westus2"
448448
Name = "public-ip-vm-mgmt"
@@ -712,7 +712,7 @@ Use the following command to install Microsoft IIS on the _vm-web_ VM from Power
712712
Install-WindowsFeature -name Web-Server -IncludeManagementTools
713713
```
714714

715-
After the IIS installation is complete, disconnect from the _vm-web_ VM, which leaves you in the _vm-mgmt_ VM remote desktop connection. To view the IIS welcome screen, open an internet browser and browse to http:\//vm-web.
715+
After the IIS installation is complete, disconnect from the _vm-web_ VM, which leaves you in the _vm-mgmt_ VM remote desktop connection. To view the IIS welcome screen, open an internet browser and browse to http://vm-web.
716716

717717
Disconnect from the _vm-mgmt_ VM.
718718

0 commit comments

Comments
 (0)