New-NetFirewallRule -DisplayName "Allow inbound port 123" -Direction Inbound -LocalPort 123 -Protocol TCP -Action Allow -Enabled:True
-DisplayName "Allow inbound port 123" - zobrazené jméno pravidla
-Direction Inbound - směr (dovnitř-ven)
-LocalPort 123 - číslo port
-Protocol TCP - protokol
-Action Allow - otevření portu
-Enabled:True - povolení pravidla
No comments:
Post a Comment