How to install CSF on Hestia CP

2.6
(5)

CSF is a firewall bundle. An alternative to firewallD & Fail2ban (part of stock Hestia CP install).

For those who prefer the former above the latter – here is a simple tutorial how to enable the CSF & Hestia CP integration.

Prerequisites:

Disabled firewallD via Hestia CP

CSF Install steps:

# cd /usr/src
# rm -fv csf.tgz
# wget https://download.configserver.com/csf.tgz 
# tar -xzf csf.tgz
cd csf
sh install.sh
sh install.hestia.sh

CSF to Hestia CP integration sed snippet:

find . -type f -exec sed -i 's/VESTA/HESTIA/g' {} + && 
find . -type f -exec sed -i 's/Vesta/Hestia/g' {} + && 
find . -type f -exec sed -i 's/vesta/hestia/g' {} + && 
rename 's/VESTA/HESTIA/' * && 
rename 's/vesta/hestia/' *

CSF Autoupdates are working flawlessly.

2,356

How useful was this post?

Click on a star to rate it!

Average rating 2.6 / 5. Vote count: 5

No votes so far! Be the first to rate this post.

Scroll to Top