Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Sep 2002 08:52:08 -0700
From:      Luigi Rizzo <rizzo@icir.org>
To:        Gene Bomgardner <gene@bomgardner.net>
Cc:        FreeBSD-questions@FreeBSD.ORG, freeBSD-net@FreeBSD.ORG
Subject:   Re: ipfw add rule format
Message-ID:  <20020907085208.A47545@iguana.icir.org>
In-Reply-To: <3D79D10C.24961.30386E@localhost>; from gene@bomgardner.net on Sat, Sep 07, 2002 at 10:12:28AM -0500
References:  <3D79D10C.24961.30386E@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Sep 07, 2002 at 10:12:28AM -0500, Gene Bomgardner wrote:
> Hi. I finally realized that the reason the gateway isn't passing data 
> is probably because of a missing divert rule in the firewall. I tried :
> 
> ipfw 5000 add divert natd all from any to any via rl0

you are swapping the command and rule number, it should be

	ipfw add 5000 divert natd all from any to any via rl0

cheers
luigi

> however, ipfw responds "missing 'to'"
> 
> Any idea where the 'to' belongs? The manpage isn't very helpful in 
> this case.
> 
> Thanks.
> 
> God's Blessings,
> Gene
> 
> To everything there is a season, and a time to every 
> purpose under heaven.    Ecl 3:1 - 
> and more recently, The Byrds
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-net" in the body of the message

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020907085208.A47545>