Página 1 de 1

How-To: Configurando APF Firewall

Publicado: 09 Jul 2006, 00:42
por SilveraR
Siempre es muy buena idea tener un firewall en nuestro servidor, en este caso, usted aprenderá cómo configurar APF Firewall.

Página del software: http://www.rfxnetworks.com/apf.php

Instalando APF Firewall:

cd /usr/local/src
wget http://rfxnetworks.com/downloads/apf-current.tar.gz
tar -zxf apf-current.tar.gz
cd apf-0.*
./install.sh

Editando APF-Firewall:

pico -w /etc/apf/conf.apf

Busque la parte "Common ingress (inbound) TCP ". Ahora usted necesita buscar la correcta configuración para su panel.

-----cPanel -----
IG_TCP_CPORTS="20,21,22,25,26,53,80,110,143,443,46 5,993,995,2082, 2083,2086,2087,2095,2096"
IG_UDP_CPORTS="21,53,873"

EGF="1"
EG_TCP_CPORTS="21,22,25,26,27,37,43,53,80,110,113, 443,465,873,208 9"
EG_UDP_CPORTS="20,21,37,53,873"



----Ensim -----
IG_TCP_CPORTS="21,22,25,53,80,110,143,443,19638"
IG_UDP_CPORTS="53"

EGF="1"
EG_TCP_CPORTS="21,22,25,53,80,110,443"
EG_UDP_CPORTS="20,21,53"



----Plesk -----

IG_TCP_CPORTS="20,21,22,25,53,80,110,143,443,465,9 93,995,8443"
IG_UDP_CPORTS="37,53,873"

EGF="1"
EG_TCP_CPORTS="20,21,22,25,53,37,43,80,113,443,465 ,873"
EG_UDP_CPORTS="53,873"

Finalizando:

Salve el archivo y inicie APF Firewall:

apf -s

Cómo reiniciar APF Firewall: apf -r
Fuente: http://www.eth0.us/apf
Traducción por SilveraR