How to replace firewalld with iptables in CentOS 7
With next commands you will disable firewalld, install iptables services and enable them for starting with system.
sudo systemctl stop firewalld sudo systemctl disable firewalld sudo yum -y install iptables-services sudo systemctl start iptables sudo systemctl start ip6tables sudo systemctl enable iptables sudo systemctl enable ip6tables