What if you're on Windows?
"Sorry, I can't help ya, Sundance."
Seriously, there IS the
sort of thing, which short-circuits much of the iptables stuff.
As for the "iptables -F" bit, which everyone seems to have their knickers in such a twist about: The Facebook bit was snipped from my script to set up firewalls. After having too many times said^Wscreamed "Who in the hippity-hopping fuck (interactively) put in a rule for "192.168.1.1 drop" (or some other ridiculous shit), I've instituted a policy where ALL iptable rules (even on my own personal machines) happen in a single script where it starts with a blank table, and you fucking DOCUMENT why you're blocking this address/range. When I snipped and posted, I didn't fully consider that I was posting to a site full of nitpickers. Mea culpa.
block in on from facebook.com to any
LOL. Massive fail. Write when you get a clue.