Firewalld on centos 7

We will learn few basic commands about Firewalld command on Centos version 7+

Command to check firewalld service status.

systemctl status firewalld

Command to disable firewalld service.

systemctl disable firewalld

Command to enable firewalld service.

systemctl enable firewalld

Command to start/stop firewalld service.

systemctl start firewalld
systemctl stop firewalld

To list firewall rules

iptables -L

Leave a Reply

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