ConfigServer (CSF) is advanced open-source firewall for Linux. If you are like me, I don’t really care much for the native firewalld that’s included with RHEL7 releases, and I’ve used APF for years which is basically just a frontend for iptables.
systemctl stop firewalld
systemctl disable firewalld
systemctl mask firewalld
yum -y install iptables-services
touch /etc/sysconfig/iptables
touch /etc/sysconfig/ip6tables
systemctl start iptables
systemctl start ip6tablessystemctl enable iptables
systemctl enable ip6tables
yum -y install perl perl-libwww-perl net-tools wget perl-GDGraph perl-LWP-Protocol-https
cd /opt
wget https://download.configserver.com/csf.tgz
tar xzf csf.tgz
cd /opt/csf
sh install.sh
cd /etc/csf
rm -rf /opt/csf
perl /usr/local/csf/bin/csftest.pl
You now have a working CSF installation on your server. You should now know the basics on how to configure it. A good place to start is the config file, located at /etc/csf/csf.conf
For more information, please read the full README file available from the vendor’s website.
Tweet
Erik
Wednesday, September 14, 2016
linux administration - tips, notes and projects
No Comment