--- title: "Delete a Firewall rule" slug: "delete-a-firewall-rule-1" tags: ["Product Usage", "ENS 10.7.x"] updated: 2026-10-07T18:19:15Z published: 2026-10-07T18:19:15Z canonical: "docs.trellix.com/delete-a-firewall-rule-1" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Delete a Firewall rule Delete a specific rule by its index number. 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>`