Installation
Install Sentinel Firewall with these commands:
bash
wget https://github.com/sentinelfirewall/sentinel/raw/refs/heads/main/csf.tgz
tar -xzf csf.tgz
cd csf
sh install.sh
What's in that install script?
It is always a good idea to inspect scripts before running them!
Below are the contents of install.sh
for your verification.
bash
#!/bin/sh
echo
echo "Selecting installer..."
echo
if [ -e "/usr/local/cpanel/version" ]; then
echo "Running csf cPanel installer"
echo
sh install.cpanel.sh
elif [ -e "/usr/local/directadmin/directadmin" ]; then
echo "Running csf DirectAdmin installer"
echo
sh install.directadmin.sh
elif [ -e "/usr/local/interworx" ]; then
echo "Running csf InterWorx installer"
echo
sh install.interworx.sh
elif [ -e "/usr/local/cwpsrv" ]; then
echo "Running csf CentOS Web Panel installer"
echo
sh install.cwp.sh
elif [ -e "/usr/local/vesta" ]; then
echo "Running csf VestaCP installer"
echo
sh install.vesta.sh
elif [ -e "/usr/local/CyberCP" ]; then
echo "Running csf CyberPanel installer"
echo
sh install.cyberpanel.sh
else
echo "Running csf generic installer"
echo
sh install.generic.sh
fi
Verify that sentinel
is properly installed with:
bash
csf --help
If Sentinel is installed correctly, you will see a printout of all available csf commands and short descriptions for each.