- See also:
Allow HTTPS traffic in the public zone:
firewall-cmd --zone=public --permanent --add-service=https
firewall-cmd --reload
Disallow port 123 TCP traffic in the block zone.
firewall-cmd --zone=block --permanent --remove-port 123/tcp
firewall-cmd --reload
--list-ports
or--list-services
= Show allowed ports/services.--list-all-zones
= Show firewalld rules for both public and private zones.--state
= Check if firewalld is running.--zone=private --add-interface=ens32
= Attach zone to network interface.