Skip to content
This repository was archived by the owner on Nov 17, 2023. It is now read-only.

Commit 2afc003

Browse files
author
Sumit Ghosh
authored
Included Envoyproxy filrewall rules in the script (#1704)
1 parent 6381df5 commit 2afc003

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

deploy/windows/add-firewall-rules-for-sts-auth-thru-docker.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ function Check-Admin {
1010
$currentUser.IsInRole([Security.Principal.WindowsBuiltinRole]::Administrator)
1111
}
1212
function Add-InboundRule {
13-
New-NetFirewallRule -DisplayName $InboundDisplayName -Confirm -Description "$Name Inbound Rule for port range 5100-5150" -LocalAddress Any -LocalPort 5100-5150 -Protocol tcp -RemoteAddress Any -RemotePort Any -Direction Inbound
13+
New-NetFirewallRule -DisplayName $InboundDisplayName -Confirm -Description "$Name Inbound Rule for port range 5100-5205" -LocalAddress Any -LocalPort 5100-5205 -Protocol tcp -RemoteAddress Any -RemotePort Any -Direction Inbound
1414
}
1515
function Add-OutboundRule {
16-
New-NetFirewallRule -DisplayName $OutboundDisplayName -Confirm -Description "$Name Outbound Rule for port range 5100-5150" -LocalAddress Any -LocalPort 5100-5150 -Protocol tcp -RemoteAddress Any -RemotePort Any -Direction Outbound
16+
New-NetFirewallRule -DisplayName $OutboundDisplayName -Confirm -Description "$Name Outbound Rule for port range 5100-5205" -LocalAddress Any -LocalPort 5100-5205 -Protocol tcp -RemoteAddress Any -RemotePort Any -Direction Outbound
1717
}
1818

1919
if ((Check-Admin) -eq $false) {

0 commit comments

Comments
 (0)