Firewalld
Jump to navigation
Jump to search
Firewalld is the default firewall management tool on the RHEL and Fedora distributions.
Firewalld is integrated into Meza
To get status, just
systemctl status firewalld
# or
sudo firewall-cmd --state
sudo firewall-cmd --list-all-zones
sudo firewall-cmd --get-default-zone
sudo firewall-cmd --get-active-zones
sudo firewall-cmd --list-ports [zone]
80/tcp 443/tcp 1936/tcp
Then to add a port
firewall-cmd --add-port=9201/tcp
# test to see if it works
firewall-cmd --permanent --add-port=9201/tcp