Dustin Larmeir's tech blog.
APF removal howto and script for CentOS/RedHat
If you have ever worked with APF you know that this firewall will need to be completely remove to avoid any issues. I have wrote a small script to clean this firewall out of any CentOS/RedHat system and it is available here : http://larmeir.com/downloads/apfremove.sh .
Below is the source of the script:
apf -f
#
/etc/init.d/iptables stop
#
rm -rf /etc/apf
#
rm -rf /etc/cron.daily/fw
#
rm -rf /usr/local/sbin/apf
#
rm /etc/init.d/apf
#
chkconfig –del apf
Hopefully this will come of some use for somone out there ![]()
| Print article | This entry was posted by dlarmeir on December 27, 2008 at 9:44 pm, and is filed under Past Blogs. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |