Installing APF

APF is a firewall and for installing it on your server you need to have root ssh access to your server. Installation of APF is quite simple just follow the steps as given below:
Login to your server as root via ssh.
Create the folder from which you would like to install APF in my case it is /usr/APF you can create it using the mkdir command:
mkdir /usr/APF
and then change to that directory with:
cd /usr/APF
Next download APF, you can do this by providing the following command from your shell:
Now to extract the contents you can use:
tar -xvzf apf-current.tar.gz
Now get into the APF directory:
cd apf-0.9.5-1/ or whatever the latest version is
and run the install file:
You will receive a message saying APF has been installed.
Now we need to configure our firewall: pico /etc/apf/conf.apf
We like to use’s “block” list of top networks that have exhibited suspicious activity.
FIND the following and check whether they are same as bellow, if not add them


3 thoughts on “Installing APF

  1. I’ve found myself here several times before while looking various things. I appreciate the detailed articles you write, and in some cases this is the ONLY place I can even find them. Cheers

  2. I’m glad I discovered your article. Your writing is so thought-provoking. I’m sure I will think about this content for a while. Really good content.

  3. Fantastic goods from you, man. Installing APF Linux System Administration I’ve understand your stuff previous to and you are just too fantastic. I actually like what you have acquired here, really like what you are saying and the way in which you say it. You make it enjoyable and you still take care of to keep it sensible. I cant wait to read far more from you. This is actually a terrific Installing APF Linux System Administration informations.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s