How to install APF (Advanced Policy Firewall)
CentOS June 13th. 2008, 5:02amHere’s how to install APF
$ cd /root/downloads
or any temporary folder where you store your files
$ wget http://www.r-fx.ca/downloads/apf-current.tar.gz
$ tar -xvzf apf-current.tar.gz
$ cd apf*
$ ./install.sh
You will receive a message saying it has been installed
edit /etc/apf/conf.apf
Check out http://www.webhostgear.com/61.html for tips on how to configure APF.
Note that for VPS you must edit the line MONOKERN=”0″ to MONOKERN=”1″ in /etc/apf/conf.apf
start the firewall by
$ /usr/local/sbin/apf -s
APF will be disabled after 5 minutes
If operating as desired, set devel=0 in /etc/apf/conf.apf
and then restart APF
To autostart APF on reboot, run this:
$ chkconfig –level 2345 apf on
Related Entries:
Privacy PolicyHow to install Rkhunter
How to Fix wrong Date/Time on your server
How to move your MySQL database directory to a second Hard Drive
How to install Rootcheck