Control Web Panel

Security => CSF Firewall => Topic started by: RDouro on January 21, 2020, 04:05:11 PM

Title: my firewall appears disable
Post by: RDouro on January 21, 2020, 04:05:11 PM
hello

the error appears these

ConfigServer Security & Firewall (CSF) + Login Failure Daemon (LFD)

when try satrt service give these information : Failed to start ConfigServer Firewall & Security - lfd.

same one can help me

tank you
Title: Re: my firewall appears disable
Post by: Igor S. on January 22, 2020, 11:33:02 AM
Try to enable with command in SSH: csf -e and look at errors
Title: Re: my firewall appears disable
Post by: codePlum on August 01, 2024, 03:36:26 PM
I am running Centos9

1. Verify iptables Installation and Path:

Check if iptables is installed:

sudo which iptables
sudo yum install iptables (RedHat/CentOS)

Check your path in csf.conf:
sudo nano /etc/csf/csf.conf
IPTABLES = "/sbin/iptables"

sudo systemctl restart csf

If it still does not start in CWP Panel / firewall - force restart
Title: Re: my firewall appears disable
Post by: Starburst on August 02, 2024, 10:57:16 AM
More thank likely something is missing.
Run the below, and it will install most of the dependencies on AlmaLinux 9 for CWP.

If something is already installed, it should just skip it.
Sometime perl-Sys-Hostname gives a problem.

Code: [Select]
/usr/bin/crb enable
Code: [Select]
dnf install nano wget ipset ebtables iptables uuid uuid-devel libuuid-devel m4 pcre pcre-devel zlib-devel perl-DBD-MySQL perl-IPC-Cmd perl-Pod-Html perl-Sys-Hostname perl-libwww-perl.noarch perl-LWP-Protocol-https.noarch perl-GDGraph libtool s-nail htop sysstat python3-perf ImageMagick ImageMagick-devel -y
Code: [Select]
dnf --refresh update