Created
April 1, 2021 11:35
-
-
Save kirankotari/139ad0599a728951c652bf3cba42ea7e to your computer and use it in GitHub Desktop.
This file contains hidden or 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
firewall-cmd | |
firewall-cmd --zone=public ---add-port=80/tcp --permanent | |
firewall-cmd --zone=public --add-port=80/tcp --permanent | |
firewall-cmd --reload | |
firewall-cmd --list-services | |
firewall-cmd --zone=public --add-service=http --permanent | |
firewall-cmd --zone=public --add-service=https --permanent | |
firewall-cmd --list-services | |
firewall-cmd --reload | |
firewall-cmd --list-services | |
firewall-cmd --list-ports |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment