R-Ts NetWorks

Server the Best

How to install APF firewall

How to install APF firewall

Go to the below path

cd /usr/local/src

Download the tar file using the below link:

wget http://www.rfxnetworks.com/downloads/apf-current.tar.gz

Untar the file using the below command.

tar -zxf apf-current.tar.gz

Go to APF folder now.

cd apf

Fire the below command to install APF firewall.


Now edit config file with your favorite editor.

pico /etc/apf/conf.apf

It will automatically take the running services but please check the port are enabled before exiting development mode.

Save the file and restart apf with following command :-

apf -r

If everything goes fine then re edit the conf.apf file and set dev mode off. It should look like following :-


Reload apf once again with below command.

apf -r



May 6, 2012 - Posted by | Installation, Security | ,

No comments yet.

Leave a Reply

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

WordPress.com Logo

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

Google+ photo

You are commenting using your Google+ 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 )


Connecting to %s

%d bloggers like this: