*** as of today, HestiaTeam is not providing any supporting yet for CSF, due to strong reasons behind there…
But there are ways to have it working within hestia UI…
ref: How to install CSF on Hestiacp web ui [config firewall] | Guest Blog Posting
Just run this below command as ROOT user from your linux terminal. (Tested with Hestia v1.7.3 * Ubuntu 20.x)
wget https://raw.githubusercontent.com/vvcares/hestia/master/hestia_csf_install.sh && bash hestia_csf_install.sh
The above command will do as below:
- Download the script from vvcares-github repo
- It will check if there is an existing CSF installation in ‘/etc/csf/’.
- If exists, it will proceed to Step#5
- If not exist, it will install fresh/new CSF firewall
- It will automatically add the hestiacp backend port into ‘CSF.CONF > TCP_IN’
- Create an additional folder called ‘csf folder’ inside ‘/usr/local/hestia/web/list/’
- Add the CSF link button into your ‘hestiacp panel > in main admin dashboard only’ & Exit.
It is important to note that CSF should not be your only line of defense for securing your server. You should also follow best practices for server security, such as keeping your server software up-to-date, using strong passwords, and limiting access to only necessary users and services.