Control Web Panel

Security => CSF Firewall => Topic started by: shamrock on June 10, 2020, 08:51:25 AM

Title: CSF won't start - iptables error
Post by: shamrock on June 10, 2020, 08:51:25 AM
Hello,

after a server reboot this morning I've noticed that the CWP dashboard shows the firewall as being switched off. The firewall manager shows the status "Error: iptables command [/sbin/iptables -v --policy INPUT DROP] failed, at line 1365 in /usr/sbin/csf".

When trying to manually start csf I get a lot of "iptables v1.4.21: can't initialize iptables table `filter': Table does not exist (do you need to insmod?) Perhaps iptables or your kernel needs to be upgraded" errors.

Any ideas what I could do to solve this?
Title: Re: CSF won't start - iptables error
Post by: Sandeep on June 12, 2020, 07:10:56 AM
if openvz server contact server provider with that error.
Title: Re: CSF won't start - iptables error
Post by: shamrock on June 12, 2020, 02:13:03 PM
I was able to fix it myself. Reinstalling the kernel did the trick.

Code: [Select]
yum reinstall kernel
Title: Re: CSF won't start - iptables error
Post by: shamrock on June 12, 2020, 02:45:39 PM
and by the way it seems to be kernel 3.10.0-1127.10.1.el7 that breaks something. When manually selecting this kernel from GRUB2, I run into the same problem again. When choosing 3.10.0-1127.el7.x86_64 (without 10.1) everything works smoothly.
Title: Re: CSF won't start - iptables error
Post by: bellafronte on September 29, 2020, 02:54:34 PM
This is some incompatible between CWP and CSF firewall? There is no way to check this before update the csf firewall?