Firewall and CSF Missing After CyberPanel 2.4.3 Update

You are correct, CSF and the interface is removed but you can reinstall it together with the interface by executing the following:

#backup current csf configuration
zip -r csf-backup.zip /etc/csf/

#Reinstall CSF
#The below line no longer works in 2.4.4
/usr/local/CyberCP/bin/python3 /usr/local/CyberCP/plogical/csf.py installCSF

#Alternate CSF install
bash <(curl -s https://sajetekengineering.com/wp-content/uploads/cyberpanel/install_csf_cyberpanel.sh) skip

#Fix for saving the configurations in 2.4.x
if ! grep -q "configservercsf" /usr/local/CyberCP/CyberCP/secMiddleware.py; then sed -i -E "s/if.*valueAlreadyChecked == 0/& and request.path != '\/configservercsf\/iframe\/'/g" /usr/local/CyberCP/CyberCP/secMiddleware.py; fi
find /usr/local/CyberCP/ -type d -name __pycache__ -exec rm -r {} \+ && systemctl restart lscpd && systemctl restart lsws

#Restore CSF configurations and restart CSF
unzip -o csf-backup.zip -d /
csf -r
4 Likes