XK0-004 · Question #175
A Linux administrator is updating iptables rules and is given the following tasks: - Output a list of iptables rules. - Remove all iptables rules. Which of the following actions should be performed fr
The correct answer is A. iptables -F B. iptables -L. Listing Rules as Tables To output all of the active iptables rules in a table, run the iptables command with the -L option: sudo iptables -L For example, to delete all of the rules in the INPUT chain, run this command: sudo iptables -F INPUT
Question
A Linux administrator is updating iptables rules and is given the following tasks:
- Output a list of iptables rules.
- Remove all iptables rules.
Which of the following actions should be performed from the terminal console to accomplish these tasks? (Choose two.)
Options
- Aiptables -F
- Biptables -L
- Ciptables -I
- Diptables -C
- Eiptables -A
- Fiptables -N
How the community answered
(71 responses)- A86% (61)
- C1% (1)
- D7% (5)
- E4% (3)
- F1% (1)
Explanation
Listing Rules as Tables To output all of the active iptables rules in a table, run the iptables command with the -L option: sudo iptables -L For example, to delete all of the rules in the INPUT chain, run this command: sudo iptables -F INPUT
Topics
Community Discussion
No community discussion yet for this question.