Disable and Uninstall APF Firewall Script

Posted on in Categories , , , , , last updated June 24, 2008

Q. How do I uninstall and disable APF Firewall script under CentOS / Red Hat Enterprise Linux without breaking anything else?

A. You can easily disable and uninstall APF firewall script under any Linux distributions. Simply type the following command as root user.

Linux Remove APF firewall

Type the following commands:

WARNING! These examples open your computer to everyone on the internet by disabling iptables firewall protection if executed.

# service iptables stop
# chkconfig apf off
# /bin/rm -rfv /etc/apf
# /bin/rm -fv /etc/cron.daily/fw
# /bin/rm -fv /etc/init.d/apf
# iptables -L -n

Leave a Comment