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 move your MySQL database directory to a second Hard Drive
How to Fix wrong Date/Time on your server
How to install Rootcheck
November 25th, 2008 at 11:56 am
[...] the firewall [...]
December 12th, 2009 at 8:17 am
I admire the great post you share in your entries. I will bookmark your site and have my children check up in your blog often. I
April 16th, 2010 at 8:17 pm
Good site i like it