Install iptables and Disable Firewalld on CentOS 7 / RHEL 7

Saturday, January 16, 2016

Install iptables and Disable Firewalld on CentOS 7 / RHEL 7 :- 

There are below Steps to install iptables and disable firewalld :-

Step 1:- Disable Firewalld Service
            [root@server ~]# systemctl mask firewalld

Step 2:- Stop Firewalld Service
            [root@server ~]# systemctl stop firewalld

Step 3:- Install iptables service related packages
          [root@server ~]# yum -y install iptables-services

Step 4:- Make sure service starts at boot
           [root@server ~]# systemctl enable iptables

          # If you do not want ip6tables, You can skip following command.
         [root@server ~]# systemctl enable ip6tables

Step 5:- Now, Finally Let’s start the iptables services
          [root@server ~]# systemctl start iptables
         
          # If you do not want ip6tables, You can skip following command
          [root@server ~]# systemctl start ip6tables 

0 comments:

About This Blog

Lorem Ipsum

  © Copyright 2009 Linux-HelpLine.Blogspot.com

Back to TOP