how to flush iptables permanently in centos 7 code example Example: remove all iptables rules sudo iptables -F