Created
December 22, 2023 15:45
-
-
Save abderrazak-bouadma/52a4c2ac16580d96d544a921a22efd7e to your computer and use it in GitHub Desktop.
Firewall Configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
New-NetFirewallRule -Name sshd -DisplayName 'OpenSSH Server (sshd)' -Enabled True -Direction Inbound -Protocol TCP -Action Allow -LocalPort 22 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment