Delete a Firewall rule

Prev Next

Delete a specific rule by its index number.

Task

  1. Log on to the system as a user with administrator rights.
  2. Change the directory to the Firewall bin directory:
    /opt/McAfee/ens/fw/bin
  3. Run the command:
    ./mfefwcli --fw-rule-delete -index
    • --index — Specifies the rule number corresponding to the rule list.
    • --force — Deletes the rule without any prompt. If you don't enable this option, you are prompted to delete the rule.
    • --adaptive — Deletes the rule from the adaptive rules list.

Delete a rule

Delete a rule from the Firewall rule list

./mfefwcli --fw-rule-delete --index <index_number_of_rule_to_delete>