Centos – Firewalld Won’t Start Due to Netfilter Issue

centoscentos7firewallfirewalldiptables

Firewalld won't start, and when executing 'systemctl status firewalld', I get the following errors:

    ERROR: Failed to read file "/proc/sys/net/netfilter/nf_conntrack_helper": [Errno 2] No such file or directory: '/proc/sys/net/netfilter/nf_conntrack_helper'
    WARNING: Failed to get and parse nf_conntrack_helper setting
    WARNING: iptables not usable, disabling IPv4 firewall.
    WARNING: ip6tables not usable, disabling IPv6 firewall.
    WARNING: ebtables not usable, disabling ethernet bridge firewall.
    FATAL ERROR: No IPv4 and IPv6 firewall.
    ERROR: Raising SystemExit in run_server

Directory /proc/sys/net/netfilter/ has only nf_log in it. It must have something to do with the problem as I can see more directories there on my other servers.

I've tried removing and reinstalling both firewalld and iptables so far with no luck. libnetfilter_conntrack is also installed according to yum.

Any suggestions?

System is CentOS 7 3.10.0-327.4.5.el7.x86_64

Best Answer

Tey reinstalling the kernel and iptables and then reboot the server: yum reinstall kernel iptables