nerdexam
CompTIA

XK0-005 · Question #10680

A Linux administrator needs to remove all local firewall rules on a Linux system. Which of the following commands should the administrator run?

The correct answer is C. iptables -F. The iptables -F command flushes all the firewall rules, effectively removing them from the system. This command clears out all existing rules from all chains (INPUT, OUTPUT, and FORWARD), leaving the system with no active iptables rules.

Security

Question

A Linux administrator needs to remove all local firewall rules on a Linux system. Which of the following commands should the administrator run?

Options

  • Aiptables -D
  • Biptables -L
  • Ciptables -F
  • Diptables -A

How the community answered

(59 responses)
  • A
    3% (2)
  • B
    3% (2)
  • C
    92% (54)
  • D
    2% (1)

Explanation

The iptables -F command flushes all the firewall rules, effectively removing them from the system. This command clears out all existing rules from all chains (INPUT, OUTPUT, and FORWARD), leaving the system with no active iptables rules.

Topics

#iptables#firewall management#network security

Community Discussion

No community discussion yet for this question.

Full XK0-005 Practice