Flush iptables

In case you want to remove all your Iptables rules :

iptables -P INPUT ACCEPT  
iptables -P FORWARD ACCEPT  
iptables -P OUTPUT ACCEPT  
iptables -F  
iptables -X  
iptables -t nat -F  
iptables -t nat -X  
iptables -t mangle -F  
iptables -t mangle -X  

Note: depending of your Linux distribution, you can also stop iptables service:

systemctl stop iptables  


service iptables stop