Psychz - Nikhil
Votes: 0Posted On: May 29, 2017 03:02:43
Firewalld is the default firewall solution provided in the CentOS operating system. Unlike other operating systems, which generally use iptables, the iptables service is not installed by default in CentOS 7. They both use the netfilter framework to access and analyze packets.
Firewalld uses zones and services in comparison to iptables that make use of chains and rules. Firewalld is also a dynamically controlled service which means that you can change the configuration of firewall when in use. The tool enables network/firewall zones to define the trust level of network connections and/or interfaces. It has support both for IPv4 and IPv6 firewall settings.
1. Disable the Firewall: To disable firewalld service please run the following command.
sudo systemctl disable firewalld
2. Enable the Firewall: If you want to enable the service please run the command.
systemctl enable firewalld
3. Stop the Firewall: You can also deactivate the service using the following command
systemctl stop firewalld
4. Start the Firewall: To activate the command run
systemctl start firewalld
You can enable/disable or activate/deactivate the firewalld service by the help of these commands. The firewalld service is a very convenient tool to manage your firewall and keep a check on the traffic.