Created
December 14, 2017 09:05
-
-
Save grantpullen/2a1097164593810349fea7008013d2df to your computer and use it in GitHub Desktop.
firewalld
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
# get default zone | |
firewall-cmd --get-default-zone | |
# get current rules | |
firewall-cmd --list-all | |
# open up port (4433) on zone public | |
firewall-cmd --zone=public --add-port=4433/tcp --permanent | |
# apply changes to firewalld by doing a reload | |
firewall-cmd --reload |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment