Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save abderrazak-bouadma/52a4c2ac16580d96d544a921a22efd7e to your computer and use it in GitHub Desktop.
Save abderrazak-bouadma/52a4c2ac16580d96d544a921a22efd7e to your computer and use it in GitHub Desktop.
Firewall Configuration
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