How to disable/stop/enable firewall in Red Hat Enterprise Linux 7?
Issue
- Why is the below error observed when the
firewall-cmd --statecommand is executed
-bash: firewall: command not found
- How to disable firewall in RHEL7 via command line ?
- Is there a quick short command to check whether the firewall is enabled or disabled?
Environment
- Red Hat Enterprise Linux 7
- firewalld
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
