In a RHEL training document, the author says:
...run the following command to disable the firewall on the current system: iptables -F
He explicitly uses the word "disable" which to me suggests that it will be simple to re-enable. In reading the man page though for iptables, I see this:
Flush the selected chain (all the chains in the table if none is given). This is equivalent to deleting all the rules one by one.
Can I get clarification on the expected behavior?
iptables -F
flushes all the rules in the "filter" table, it doesn't flush the other tables (nat, mangle...) and doesn't restore the policies to their default, so they can't really be said to disable the firewall.