On Wed, 2006-11-01 at 14:31 -0300, Bruno Henrique de Oliveira wrote:
> Bem,
> 
> Meu arquivo "/etc/ipfw.rules" está assim:
> 
> -------------------------------------------------------------------------------------------
> ipfw -q -f flush
> 
> ipfw="ipfw -q add"
> eth0="rl0"
> 
> $ipfw 00005 allow all from any to any via $eth0
> $ipfw 00010 allow all from any to any via lo0
> --------------------------------------------------------------------------------------------
> 
> Quando executo o comando "sh /etc/rc.firewall", mostra a mensagem:
> 
> --------------------------------------------------------------------------------------------
> Flushed all rules.
> Line 1: bad commando 'ipfw'
Como eu tinha dito nao era erro na incicializacao e sim na regra


deixe as assim

add 00005 allow all from any to any via $eth0
add 00010 allow all from any to any via lo0
> --------------------------------------------------------------------------------------------
-- 
"Linux is for people who hate Windows,
BSD is for people who love UNIX"
Freebsd-BR User #88
---
Giancarlo Rubio

-------------------------
Histórico: http://www.fug.com.br/historico/html/freebsd/
Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd

Responder a