Definition:
- Manage firewalld
- example:
firewall-cmd --permanent --zone=dmz --add-service=httpfirewall-cmd --reload
Synopsis:
firewall-cmd [OPTIONS...]
List of options:
Zone options:
--get-zones: Print predefined zones[P]- .
--zone=<zone>: Use this zone to set or query options, else default zone- Usable for options marked with
[Z]
- Usable for options marked with
Options to Adapt and Query Zones and Policies
--list-all: List everything added for or enabled[P] [Z] [O]