disable and stop firewall on CentOS7

For the time being the firewall has to be off. I will replace it with csf anyway.

[root@500748 ~]# systemctl list-unit-files |grep -i firewall
dbus-org.fedoraproject.FirewallD1.service enabled
firewalld.service enabled
[root@500748 ~]# systemctl disable firewalld
rm ‘/etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service’
rm ‘/etc/systemd/system/basic.target.wants/firewalld.service’

[root@500748 ~]# systemctl stop firewalld
[root@500748 ~]#

Done!

Leave a Reply

Your email address will not be published. Required fields are marked *

CommentLuv badge