Easy way to manage firewall rules in CentOS 6

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

Leave a Reply