I'm working on buidling a firewalld bash script to pre-configured some centOs7 servers and I cannot find any documentation talking about how to perform a full flush of firewall rules.
I'm looking for the equivalence in centOS6 with iptables :
flush(){
echo "Flush all chains"
iptables -F
iptables -X
}
Regarding that I'm not able to find an equivalence I'm think I may misunderstood something with firewalld..
Thanks for your feedback