Skip to content

Commit 2b17ab6

Browse files
authored
Merge pull request #81603 from simonkurtz-MSFT/master
Allow Port 443 in Inbound App Gateway NSG
2 parents c0aa0a8 + c752940 commit 2b17ab6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

articles/api-management/api-management-howto-integrate-internal-vnet-appgateway.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,11 @@ Create network security groups and NSG rules for the Application Gateway and API
134134
$appGwRule1 = New-AzNetworkSecurityRuleConfig -Name appgw-in -Description "AppGw inbound" `
135135
-Access Allow -Protocol * -Direction Inbound -Priority 100 -SourceAddressPrefix `
136136
GatewayManager -SourcePortRange * -DestinationAddressPrefix * -DestinationPortRange 65200-65535
137+
$appGwRule2 = New-AzNetworkSecurityRuleConfig -Name appgw-in-internet -Description "AppGw inbound Internet" `
138+
-Access Allow -Protocol "TCP" -Direction Inbound -Priority 110 -SourceAddressPrefix `
139+
Internet -SourcePortRange * -DestinationAddressPrefix * -DestinationPortRange 443
137140
$appGwNsg = New-AzNetworkSecurityGroup -ResourceGroupName $resGroupName -Location $location -Name `
138-
"NSG-APPGW" -SecurityRules $appGwRule1
141+
"NSG-APPGW" -SecurityRules $appGwRule1, $appGwRule2
139142
140143
$apimRule1 = New-AzNetworkSecurityRuleConfig -Name apim-in -Description "APIM inbound" `
141144
-Access Allow -Protocol Tcp -Direction Inbound -Priority 100 -SourceAddressPrefix `

0 commit comments

Comments
 (0)