From e859d61a6832db2a9945534ace9eee6502441df0 Mon Sep 17 00:00:00 2001 From: Cesar De la Torre Date: Wed, 15 Feb 2017 21:39:31 -0800 Subject: [PATCH] Fixed the bug in the Add-Firewall-Rules Script. Weird that it had the IPs in the wrong place.. --- ...ker.ps1 => add-firewall-rules-for-sts-auth-thru-docker.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename add-firewall-docker.ps1 => add-firewall-rules-for-sts-auth-thru-docker.ps1 (54%) diff --git a/add-firewall-docker.ps1 b/add-firewall-rules-for-sts-auth-thru-docker.ps1 similarity index 54% rename from add-firewall-docker.ps1 rename to add-firewall-rules-for-sts-auth-thru-docker.ps1 index 480227580..be63d8a25 100644 --- a/add-firewall-docker.ps1 +++ b/add-firewall-rules-for-sts-auth-thru-docker.ps1 @@ -21,6 +21,6 @@ try { Write-Host "Rule found" } catch [Exception] { - New-NetFirewallRule -DisplayName EshopDocker -Confirm -Description "Eshop on Containers" -LocalAddress 5100-5105 -LocalPort Any -Protocol tcp -RemoteAddress Any -RemotePort Any -Direction Inbound - New-NetFirewallRule -DisplayName EshopDocker -Confirm -Description "Eshop on Containers" -LocalAddress 5100-5105 -LocalPort Any -Protocol tcp -RemoteAddress Any -RemotePort Any -Direction Outbound + New-NetFirewallRule -DisplayName eShopOnContainers-Inbound -Confirm -Description "eShopOnContainers Inbound Rule for port range 5100-5105" -LocalAddress Any -LocalPort 5100-5105 -Protocol tcp -RemoteAddress Any -RemotePort Any -Direction Inbound + New-NetFirewallRule -DisplayName eShopOnContainers-Outbound -Confirm -Description "eShopOnContainers Outbound Rule for port range 5100-5105" -LocalAddress Any -LocalPort 5100-5105 -Protocol tcp -RemoteAddress Any -RemotePort Any -Direction Outbound } \ No newline at end of file