Disable FIREWALLD


Overview

With OEL7, the firewall changes from IPTABLES to FIREWALLD. This procedure shows how to disable the new firewall for home networks.

References

Procedure

Since this is a home system, I decided to disable the firewall.

The commands were:

systemctl stop firewalld.service systemctl disable firewalld.service

The log is:

[root@gordon ~]# systemctl status firewalld.service
 firewalld.service - firewalld - dynamic firewall daemon
   Loaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled; vendor preset: enabled)
   Active: active (running) since Fri 2015-12-25 08:56:23 AEDT; 4h 37min ago
 Main PID: 635 (firewalld)
   CGroup: /system.slice/firewalld.service
           ∟−635 /usr/bin/python -Es /usr/sbin/firewalld --nofork --nopid

Dec 25 08:56:16 gordon.yaocm.id.au systemd[1]: Starting firewalld - dynamic firewall daemon...
Dec 25 08:56:23 gordon.yaocm.id.au systemd[1]: Started firewalld - dynamic firewall daemon.
[root@gordon ~]# systemctl stop firewalld.service
[root@gordon ~]# systemctl disable firewalld.service
Removed symlink /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service.
Removed symlink /etc/systemd/system/basic.target.wants/firewalld.service.