Install CSF Firewall
For non cpanel server, install perl modules
1 |
yum install -y perl perl-libwww-perl perl-Time-HiRes unzip bind-utils |
On Ubuntu
1 |
apt-get install libwww-perl |
Once we have requirments installed, install csf with
1 2 3 4 5 |
cd /usr/local/src wget https://download.configserver.com/csf.tgz tar -xzf csf.tgz cd csf sh install.sh |
1 |
sed -i "s/RESTRICT_SYSLOG = \"0\"/RESTRICT_SYSLOG = \"1\"/g" /etc/csf/csf.conf |
See csf