If you need to disable firewalld and use iptables in server use the following steps.
First, stop and mask the firewalld service:
systemctl stop firewalld
systemctl mask firewalld
Next, install the iptables-services package and enable the service to start at boot:
yum install iptables-services
systemctl enable iptables
Then, saving the firewall rules can be done using either of the following two commands:
service iptables save
/usr/libexec/iptables/iptables.init save