I managed to install the CSF GUI (online web interface) on my VestaCP. I’m going to put up a tutorial soon on how to add this, it was quite simple after a bottle of wine!
Tested on Debian, Ubuntu, and CentOS…
THIS SCRIPT IS FOR Vesta 0.9.8-15 – 0.9.8-21
CSF updated their design in version 9.20 – you need to re-download this in order to see it. Mobile view is always enabled despite what the CSF config shows (resize your browser to see the functions).
IT IS ALWAYS A GOOD IDEA TO BACKUP EVERYTHING. BACKUP CSF + VESTA
- This will install the most recent version of CSF. If you have CSF installed it will attempt to install/update to the most recent version. If you already have the latest version it will attempt to install it but you will not lose any CSF configuration changes.
- This will also overwrite the file /usr/local/vesta/web/templates/admin/panel.html (a VestaCP template file)
- This script does not install any CSF configuration settings. I would not disable testing mode until you have added VestaCP’s port into the configuration of CSF.
- This script does not remove or disable fail2ban or iptables used by Vesta
Simply re-running the script again after a VestaCP update will update CSF and add the link back.
wget https://raw.githubusercontent.com/sam927752/vestacp-csf/master/install.sh -O ./Install.sh
chmod 777 ./Install.sh
Hope your enjoy Csf on vestaCp help you to protect your server.