ESDS Knowledge Base

10
Jan

How to remove (uninstall) the APF firewall on Linux server?

Installing-CSF-Firewall

Below mentioned are the procedures and commands to get the APF firewall script removed from your machine with LINUX operating system.

# / Etc / rc.d / init.d / apf stop

Now remove the files from the APF:

# Rm-Rf / etc / apf

# Rm-Rf / etc / rc.d / init.d / apf

Rm-rf / var / log / apf_log

Rm-rf / var / log / apfados_log

Rm-rf / usr / local / sbin / apf

Disable the reading of it:

# / Sbin / chkconfig-level 345 apf off

Open the file below and remove references to the APF cron:

# Nano / etc / cron.daily / fw / etc / rc.d / init.d / apf restart>> / dev / null 2> & 1

There, the APF firewall script now is no longer active on your linux dedicated servers.

Please Note: If you are looking for Rich Data Center Web Hosting, Cloud Services, Dedicated Hosting, Colocation or Software Services in India at Affordable Costs, Visit our website at WWW.ESDS.CO.IN.

Leave a Reply