Saturday, May 30, 2015

Disable firewall on Redhat EL7 (OL7)

[root@mysql01 ~]# systemctl stop firewalld.service
[root@mysql01 ~]# systemctl disable firewalld.servicerm '/etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service'
rm '/etc/systemd/system/basic.target.wants/firewalld.service'



[root@mysql01 ~]# iptables -LChain INPUT (policy ACCEPT)
target     prot opt source               destination


Chain FORWARD (policy ACCEPT)
target     prot opt source               destination


Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination




[root@mysql01 ~]# systemctl status firewalld.servicefirewalld.service - firewalld - dynamic firewall daemon
   Loaded: loaded (/usr/lib/systemd/system/firewalld.service; disabled)
   Active: inactive (dead)


May 30 19:22:38 mysql01.localdomain systemd[1]: Starting firewalld - dynamic firewall daemon...
May 30 19:22:42 mysql01.localdomain systemd[1]: Started firewalld - dynamic firewall daemon.
May 30 19:24:55 mysql01.localdomain systemd[1]: Stopping firewalld - dynamic firewall daemon...
May 30 19:24:56 mysql01.localdomain systemd[1]: Stopped firewalld - dynamic firewall daemon.
May 30 19:25:14 mysql01.localdomain systemd[1]: Stopped firewalld - dynamic firewall daemon.

No comments:

Post a Comment