Author Topic: Firewall off in cwp panel  (Read 118 times)

0 Members and 2 Guests are viewing this topic.

Offline
*
Firewall off in cwp panel
« 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?

Online
*****
Re: Firewall off in cwp panel
« Reply #1 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).

Offline
*
Re: Firewall off in cwp panel
« Reply #2 on: October 14, 2025, 04:46:12 PM »
Yes thanks, I had already tried that but nothing.

Offline
*****
Re: Firewall off in cwp panel
« Reply #3 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.

Offline
*
Re: Firewall off in cwp panel
« Reply #4 on: October 15, 2025, 08:29:49 AM »
thanks

Offline
*
Re: Firewall off in cwp panel
« Reply #5 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

Online
*****
Re: Firewall off in cwp panel
« Reply #6 on: October 15, 2025, 05:50:59 PM »
And you've rebooted? Sometimes it takes a full reboot to get itself sorted out! :P

Offline
*
Re: Firewall off in cwp panel
« Reply #7 on: October 16, 2025, 11:10:44 AM »
No, I had already restarted several times :D

I have no idea what's going on.
Do you know what the CWP checks to make it appear as activated?

Online
*****
Re: Firewall off in cwp panel
« Reply #8 on: October 16, 2025, 11:43:53 AM »
It checks your IP address as registered in their system -- so your server connects to their licensing server to confirm that it is activated as CWP Pro.
Running /scripts/update_cwp will trigger the check daily.

And for good measure, here's their wiki article about CSF/LFD configuration:
https://wiki.centos-webpanel.com/csflfd-firewall-configuration

Offline
*
Re: Firewall off in cwp panel
« Reply #9 on: October 16, 2025, 04:33:44 PM »
So, is very strange.

- lfd process is running

Code: [Select]
[root@s3 home]# ps -ef |grep lfd
root        1701       1  0 11:15 ?        00:00:26 lfd - sleeping

- cwp license pro is ok
- csf is enabled

However in cwp panel CSF is not enabled

i donīt know what happened :(

Offline
*****
Re: Firewall off in cwp panel
« Reply #10 on: October 16, 2025, 07:56:07 PM »
What OS are you running on the server?

Offline
*
Re: Firewall off in cwp panel
« Reply #11 on: Today at 06:59:28 AM »
Distro Name: AlmaLinux release 9.6

[root@s3 csf]# csf -v
csf: v15.00 (CentOS Web Panel)