Easy way to manage firewall rules in CentOS 6

By Tech Writer CentOS
First you need to install a package.Open terminal and run this commandsudo yum install system-config-securitylevel -ythen you can runsystem-config-firewallAfter making changes to your firewall you can


First you need to install a package.

Open terminal and run this command

sudo yum install system-config-securitylevel -y

then you can run

system-config-firewall

After making changes to your firewall you can run this comman to apply changes.


service iptables restart

OR


/etc/init.d/iptables restart