How to Disable Firewall in RHEL 7.4
Follow below Steps for completing this task.
1) First of all check the status of the firewalld service
Command- systemctl status firewalld.service
OutPut- The status displays as active (running) or inactive (dead)
2) If the firewall is active / running, enter this command to stop it
Command- systemctl stop firewalld.service
3) To completely disable the firewalld service, so it does not reload when you restart the host machine
Command- systemctl disable firewalld.service
4) After that verify the status of Firewall Service
Command-systemctl status firewalld.service
Output-The status should display as disabled and inactive (dead)
firewalld.service - firewalld - dynamic firewall daemon
Loaded: loaded (/usr/lib/systemd/system/firewalld.service; disabled; vendor preset: enabled)
Active: inactive (dead)
Loaded: loaded (/usr/lib/systemd/system/firewalld.service; disabled; vendor preset: enabled)
Active: inactive (dead)
Comments
Post a Comment