Em 20/06/05, Gustavo De Nardin<[EMAIL PROTECTED]> escreveu:

> O kernel/ipfw foi compilado com 'IPFIREWALL_FORWARD' ? dmesg | grep
> 'ipfw2 initialized'...

SIM, O kernel foi compilado com IPFIREWALL_FORWARD e outras coisas.
Pois eu peguei a parte de firewall do kernel antigo pus no novo.

Mas estes links me ajudou bastante
> Além disso:
> <http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/71910>
> <http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/73129>
> <http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/73910>

Pois lá tem uma referencia ao IPFIREWALL_FORWARD_EXTENDED e daih fui
na conf e confirmei do que se trata:

# IPFIREWALL_FORWARD_EXTENDED enables full packet destination changing
# including redirecting packets to local IP addresses and ports.  All
# redirections apply to locally generated packets too.  Because of this
# great care is required when crafting the ruleset.

Então o que estava acontecendo que a regra de fwd usando 1 ip que está
no próprio free não funciona se não tiver esta opção
IPFIREWALL_FORWARD_EXTENDED compilada nele.

Agora já está funcionando blzinha e com a regra citada anteriormente.

Muito Obrigado Gustavo.

[]s
Joao Pedro

_______________________________________________
Freebsd mailing list
Freebsd@fug.com.br
http://mail.fug.com.br/mailman/listinfo/freebsd_fug.com.br

Responder a