Definition:

  • Manage firewalld
  • example:
    • firewall-cmd --permanent --zone=dmz --add-service=http
    • firewall-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]
Options to Adapt and Query Zones and Policies
  • --list-all: List everything added for or enabled [P] [Z] [O]