Absolute iptables beginners question
I've been reading this tutorial and one thing confuses me slightly.
The first command sets the default policy for the input chain and the second drops all existing rules. It is implied in the tutorial that the first rule you set here is left in place by the flush.
# iptables -P INPUT ACCEPT
# iptables -F
How does it know to ignore it? Does it leave all the default policies in place?
These are probably a really dumb questions but I'm asking them anyway :)