Iptable and CSF can be installed via source. Follow the below steps,
-==-=-=-=--==-
Become root,
Check the current version of iptable using the command,
#iptables -V
Now, download IPtable from source. Here, I am going to install iptable version iptables v1.4.12.2.
# wget -O /usr/src/iptables-1.4.12.2.tar.bz2 https://docs.puppetmaster.openhostsupport.com/softwares/iptables-1.4.12.2.tar.bz2 --no-check-certificate
# cd /usr/src/
#tar -jxf iptables-1.4.12.2.tar.bz2
#cd iptables-1.4.12.2
#./configure --prefix=/newiptables
#make
#make install
#mv /sbin/iptables /newiptables/iptables.OLD
#mv /sbin/iptables-restore /newiptables/iptables-restore.OLD
#mv /sbin/iptables-save /newiptables/iptables-save.OLD
#ln -s /newptables/sbin/iptables /sbin/iptables
#ln -s /newiptables/sbin/iptables-restore /sbin/iptables-restore
#ln -s /newiptables/sbin/iptables-save /sbin/iptables-save
Now, check the Iptable version from the below command,
-==-=-=-
iptables -V
=--==--==-
To install csf, follow the below steps,
#wget -O /usr/src/csf.tgz https://docs.puppetmaster.openhostsupport.com/softwares/csf.tgz --no-check-certificate
#cd /usr/src
#tar -zvxf csf.tgz
#cd csf
#sh install.sh
Test csf is insalled using the below command,
=-=--=-=
#perl /etc/csf/csftest.pl
=-=--=
-==-=-=-=--==-
Become root,
Check the current version of iptable using the command,
#iptables -V
Now, download IPtable from source. Here, I am going to install iptable version iptables v1.4.12.2.
# wget -O /usr/src/iptables-1.4.12.2.tar.bz2 https://docs.puppetmaster.openhostsupport.com/softwares/iptables-1.4.12.2.tar.bz2 --no-check-certificate
# cd /usr/src/
#tar -jxf iptables-1.4.12.2.tar.bz2
#cd iptables-1.4.12.2
#./configure --prefix=/newiptables
#make
#make install
#mv /sbin/iptables /newiptables/iptables.OLD
#mv /sbin/iptables-restore /newiptables/iptables-restore.OLD
#mv /sbin/iptables-save /newiptables/iptables-save.OLD
#ln -s /newptables/sbin/iptables /sbin/iptables
#ln -s /newiptables/sbin/iptables-restore /sbin/iptables-restore
#ln -s /newiptables/sbin/iptables-save /sbin/iptables-save
Now, check the Iptable version from the below command,
-==-=-=-
iptables -V
=--==--==-
To install csf, follow the below steps,
#wget -O /usr/src/csf.tgz https://docs.puppetmaster.openhostsupport.com/softwares/csf.tgz --no-check-certificate
#cd /usr/src
#tar -zvxf csf.tgz
#cd csf
#sh install.sh
Test csf is insalled using the below command,
=-=--=-=
#perl /etc/csf/csftest.pl
=-=--=