Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@recursivecodes
Last active March 6, 2022 11:22
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 recursivecodes/46b3fa14cb8793a6704f0af1433680fe to your computer and use it in GitHub Desktop.
Save recursivecodes/46b3fa14cb8793a6704f0af1433680fe to your computer and use it in GitHub Desktop.
firewall.sh
sudo firewall-cmd --permanent --zone=public --add-port=80/tcp
sudo firewall-cmd --permanent --zone=public --add-port=443/tcp
sudo firewall-cmd --reload
@grndng
Copy link

grndng commented Mar 6, 2022

Hey @recursivecodes,

the -reload flag misses a - and should be --reload :)

@recursivecodes
Copy link
Author

You are correct. Thanks, updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment