[FUG-BR] Pedido de ajuda com firewall em ipfw

jhgb em netscape.net jhgb em netscape.net
Quinta Setembro 6 12:32:26 BRT 2007


Desculpem o errinho: leiam tcp no lugar de udp...

[]s,
JH

-----Original Message-----
From: jhgb em netscape.net
To: freebsd em fug.com.br
Sent: Thu, 6 Sep 2007 12:29 pm
Subject: [FUG-BR] Pedido de ajuda com firewall em ipfw



Olá a todos.
Tenho uma instalação de FreeBSD 6.2 rodando belezinha exceto o
redirecionamento de portas.

Dados para análise:
-- Configuração do kernel:
options IPFIREWALL
options IPFIREWALL_VERBOSE
options IPFIREWALL_FORWARD
options IPFIREWALL_VERBOSE_LIMIT=100

-- No arquivo /etc/rc.conf
firewall_enable="YES"
firewall_type="open"
firewall_quiet="NO"

-- No arquivo /etc/natd.conf
interface rl0
dynamic yes
same_ports yes
use_sockets yes

# NAT para servidor web
redirect_port udp 192.168.0.9:80 200.xxx.xxx.xxx:80

Falta alguma coisa para que os pacotes endereçados à porta 80 do
firewall sejam redirecionado à porta 80 da máquina interna, rodando
Debian/GNU Linux?
Detalhe: no firewall anterior, usando Linux/IPTables, funcionava
redondinho.

Alguma luz?
________________________________________________________________________
Check Out the new free AIM(R) Mail -- Unlimited storage and
industry-leading spam and email virus protection.
-------------------------
Histórico: http://www.fug.com.br/historico/html/freebsd/
Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd


________________________________________________________________________
Check Out the new free AIM(R) Mail -- Unlimited storage and 
industry-leading spam and email virus protection.
=0


Mais detalhes sobre a lista de discussão freebsd