Let us see how to stop and disable Firewalld on a CentOS or RHEL 7.x based system.
Is firewalld running on my system?sudo firewall-cmd --state
Stop the the firewalldsudo systemctl stop firewalld
Disable the FirewallD service at boot timesudo systemctl mask --now firewalld
Run:
Again, type:
sudo systemctl disable firewalld