First off ssh to your server as root and type:
1 2 3 4 5 |
cd /usr/local/src wget http://rfxnetworks.com/downloads/apf-current.tar.gz tar -zxf apf-current.tar.gz cd apf-0.* ./install.sh |
The configuration file is:
1 |
pico -w /etc/apf/conf.apf |
Scroll down to the “Common ingress (inbound) TCP ports section.
1 2 3 4 5 6 |
IG_TCP_CPORTS(incoming)="21,22,25,53,80,110,143,443,2222" IG_UDP_CPORTS="53" EGF=1 EG_TCP_CPORTS(outgoing)="21,22,25,37,43,53,80,443,2222" EG_UDP_CPORTS="53" |