Last active
March 6, 2022 11:22
-
-
Save recursivecodes/46b3fa14cb8793a6704f0af1433680fe to your computer and use it in GitHub Desktop.
firewall.sh
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
sudo firewall-cmd --permanent --zone=public --add-port=80/tcp | |
sudo firewall-cmd --permanent --zone=public --add-port=443/tcp | |
sudo firewall-cmd --reload |
You are correct. Thanks, updated.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey @recursivecodes,
the
-reload
flag misses a-
and should be--reload
:)