Post Reply  Post Thread 
APF Installation
Author Message
Shital
Junior Member
**


Posts: 5
Group: Registered
Joined: Jul 2007
Status: Offline
Reputation: 0
Thank 0
0 was given thank in 0 posts
Post: #1
APF Installation

APF Installation
============

cd /root/
wget http://www.rfxnetworks.com/downloads/apf...nt.tar.gz; tar -xvzf apf-current.tar.gz; cd apf-*/; ./install.sh

Configuration Steps
===============

vi /etc/apf/conf.apf

For Cpanel Server
=============

Common ingress (inbound) ports

# Common ingress (inbound) TCP ports -3000_3500 = passive port range for Pure FTPD
IG_TCP_CPORTS="21,22,25,53,80,110,143,443,2082,2083, 2086,2087, 2095, 2096,3000_3500"

# Common ingress (inbound) UDP ports
IG_UDP_CPORTS="53"

Common egress (outbound) ports
# Egress filtering [0 = Disabled / 1 = Enabled]
EGF="1"

# Common egress (outbound) TCP ports
EG_TCP_CPORTS="21,25,80,443,43,2089"

# Common egress (outbound) UDP ports
EG_UDP_CPORTS="20,21,53"

Now start the firewall
=================

/usr/local/sbin/apf -s

If apf starts properly then we have to change the option for DEV

vi /etc/apf/conf.apf

FIND : DEVEL_MODE="1"
CHANGE TO : DEVEL_MODE="0"

Save and quit.

Restart APF



ADD TO DEL.ICIO.US  ADD TO DIGG  ADD TO FURL  ADD TO NEWSVINE  ADD TO NETSCAPE 
ADD TO TECHNORATI FAVORITES  Technorati ADD TO SQUIDOO  ADD TO WINDOWS LIVE  ADD TO YAHOO MYWEB  ADD TO ASK 
ADD TO REDDIT  ADD TO STUMBLEUPON  ADD TO GOOGLE   

02-02-2008 08:32 PM
Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  eAccelerator Installation Nilesh 0 181 07-17-2007 03:24 PM
Last Post: Nilesh
  Apache 2 Installation & Upgrade Nilesh 0 235 07-15-2007 08:50 AM
Last Post: Nilesh

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump: