Added iptables flush for easier testing.