centos7 firewall
Run following command to check firewall status:
sudo systemctl status firewalld
If it display active(running), it means the firewall is enable.
If need to disable the firewall, the command will be as follow:
sudo systemctl stop firewalld
Command that enable firewall as follow:
sudo systemctl start firewalld