How to disable/stop/enable firewall in Red Hat Enterprise Linux 7?
Issue
- Why is the below error observed when the
firewall-cmd --state
command 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, tools, and much more.