Installing IPTables on CentOS 7

If you wish to use the default iptables service rather than the new firewall service shipped with CentOS 7, this can be done with the following commands:

yum install iptables-services
systemctl mask firewalld
systemctl enable iptables
systemctl enable ip6tables
systemctl stop firewalld
systemctl start iptables
systemctl start ip6tables

Last modified: March 05 2017 17:38:02