How to install iptables on CentOS 7

banner dedicated

CentOS now comes with firewalld instead of iptables at the installation of your Dedicated Server.

You can remove the firewalld service and install iptables to manage your firewall rules.

First you need to stop and remove firewalld

systemctl stop firewalld
systemctl disable firewalld
yum remove firewalld

Now you can install iptables

yum install iptables-services -y

Enable iptables at the boot

systemctl enable iptables

Start iptables

systemctl start iptables

banner dedicated

Colo-Serv Communications has written 32 articles

Premium Dedicated Hosting Services

Leave a Reply

Your email address will not be published. Required fields are marked *

fifteen + 2 =

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>