Open main menu

Firewalld

Revision as of 16:38, 12 December 2017 by Freephile (talk | contribs) (Created page with "http://www.firewalld.org/documentation/firewalld-structure+nftables.png [http://www.firewalld.org/ Firewalld] is the default firewall management tool on the RHEL and Fedora d...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

firewalld-structure+nftables.png

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