Which of the following commands can be run to remove all the rules in an iptables table?

Options
- iptables -L
- iptables -A
- iptables -F
- iptables --delete


CORRECT ANSWER : iptables -F

Discussion Board
Explanation-

To flush a specific chain, which will delete all of the rules in the chain, -F is used or the equivalent --flush, option and the name of the chain to flush.

Sapna 03-6-2017 06:42 AM

Write your comments


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)


Advertisement