Are you used to the classic iptables firewall and want to kill
firewalld? Well there’s still hope for you yet! Here we will show you
how to stop and disable the default firewalld firewall and instead
install and configure iptables in CentOS 7 Linux.
It’s
worth noting that iptables and firewalld are mutually exclusive, only
one should be running at any one time. Therefore, if we wish to use
either firewalld or iptables we should ensure that the opposite service
is completely stopped, disabled, and masked so that it will not
interfere.
Disable Firewalld
By default in CentOS 7 Linux,
the firewalld firewall will be configured to start up automatically
during boot. As we can only run either firewalld or iptables at any one
time, we will first disable firewalld.
[root@centos7 ~]# systemctl...