CSF Problem, Firewall always off automaticly

Hello, recently i install CSF Via panel, and setting firewall csf on, i’ts back to off if i open csf setting again, how to fix it

https://prnt.sc/pitvtv

Can you try uninstalling and then using the new version?

To backup the current one and copy the new script to the server.
mv /usr/local/CyberCP/plogical/csf.py /usr/local/CyberCP/plogical/csf.py-bak
wget -O /usr/local/CyberCP/plogical/csf.py https://github.com/usmannasir/cyberpanel/raw/1.8.0/plogical/csf.py

Then the cache needs to be cleared.

update cache
wget -O /usr/local/CyberCP/upgrade.sh https://github.com/usmannasir/cyberpanel/raw/1.8.0/upgrade.sh
chmod +x /usr/local/CyberCP/upgrade.sh

Then run this and give it a few minutes to clear cache and restart cyberpanel daemon
bash /usr/local/CyberCP/upgrade.sh

Then try the CSF installer again.

The first time the page loads it might now show active as it has to restart the services during install so refresh page after its done and it should show enabled by default.