Disabling the Firewall
systemctl disable firewalld
Enabling the Firewall
systemctl disable firewalld
Status of the Firewall
firewall-cmd --state
Allowing Ports
firewall-cmd --permanent --zone=public --add-port=2223/tcp
firewall-cmd --reload
Check Active Zone & Open Ports
firewall-cmd --list-all-zones
Shows Default Zone
firewall-cmd --get-default-zone