Control Web Panel

Security => CSF Firewall => Topic started by: setecabanas on October 14, 2025, 03:07:58 PM

Title: Firewall off in cwp panel
Post 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?
Title: Re: Firewall off in cwp panel
Post by: overseer on October 14, 2025, 03:49:34 PM
Try toggling it on/off/on in the web GUI -- sometimes it gets out of sync with the actual CSF reality (a bug).
Title: Re: Firewall off in cwp panel
Post by: setecabanas on October 14, 2025, 04:46:12 PM
Yes thanks, I had already tried that but nothing.
Title: Re: Firewall off in cwp panel
Post by: Starburst on October 14, 2025, 05:50:55 PM
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:

Code: [Select]
systemctl start csf
Code: [Select]
systemctl start lfd
Code: [Select]
systemctl enable csf
Code: [Select]
systemctl enable lfd
Some system are weird.

Log back into CWP, and it should show as 'On' now.
Title: Re: Firewall off in cwp panel
Post by: setecabanas on October 15, 2025, 08:29:49 AM
thanks
Title: Re: Firewall off in cwp panel
Post by: setecabanas on October 15, 2025, 02:47:09 PM
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

Code: [Select]
[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
Title: Re: Firewall off in cwp panel
Post by: overseer on October 15, 2025, 05:50:59 PM
And you've rebooted? Sometimes it takes a full reboot to get itself sorted out! :P