Control Web Panel
Security => CSF Firewall => Topic started by: setecabanas on October 14, 2025, 03:07:58 PM
-
firewall appears disabled in cwp panel
but csf is working correctly
[root@s3 services]# csf -e
csf and lfd are not disabled!
[root@s3 services]# csf -e
csf and lfd are not disabled!
any idea?
-
Try toggling it on/off/on in the web GUI -- sometimes it gets out of sync with the actual CSF reality (a bug).
-
Yes thanks, I had already tried that but nothing.
-
SSH into the server, and from the CLI:
csf -e, if working you should see what you are "csf and lfd are not disabled!"
That's a good thing.
Then run:
systemctl start csf
systemctl start lfd
systemctl enable csf
systemctl enable lfd
Some system are weird.
Log back into CWP, and it should show as 'On' now.
-
thanks
-
I have tried to install a new server with Almalinux 9
So, in a fresh installation same problem. But it is not important, only affects cwp panel
[root@s3 almalinux]# csf -e
csf and lfd are not disabled!
[root@s3 almalinux]#
[root@s3 almalinux]#
[root@s3 almalinux]# systemctl start csf
[root@s3 almalinux]# systemctl start lfd
[root@s3 almalinux]# systemctl enable csf
[root@s3 almalinux]# systemctl enable lfd
-
And you've rebooted? Sometimes it takes a full reboot to get itself sorted out! :P