iptables -F clears the rules of all rule chains in the preset table filter
iptables -X clears the rules in the user-defined chain in the default table filter
iptables -Z
Clear existing iptables rules
iptables -F clears the rules of all rule chains in the preset table filter
iptables -X clears the rules in the user-defined chain in the default table filter
iptables -Z