Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Apr 2003 09:14:44 -0700
From:      Luigi Rizzo <rizzo@icir.org>
To:        vlad <vlad@sas.nsk.su>
Cc:        freebsd-ipfw@freebsd.org
Subject:   Re: ipfw in freebsd 4.7
Message-ID:  <20030421091444.A23150@xorpc.icir.org>
In-Reply-To: <7354444376.20030421230303@sas.nsk.su>; from vlad@sas.nsk.su on Mon, Apr 21, 2003 at 11:03:03PM +0700
References:  <7354444376.20030421230303@sas.nsk.su>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
you are trying to use an IPFW2 option. You need to put
"options IPFW2" in your kernel config file, and rebuild
/sbin/ipfw with "make -DIPFW2" (and also upgrade kernel and
sources to a recent RELENG_4 because there were several
bugfix since 4.7)

	cheers
	luigi

On Mon, Apr 21, 2003 at 11:03:03PM +0700, vlad wrote:
> Hello!
> 
>       I have FreeBSD 4.7 installed.
>       I need to add this rule into firewall:
> ipfw add divert 10000 ip from  {not a.b.c.d/nn or not e.f.g.h/yy} to
> i.j.k.l/zz via ed0
> 
> but ipfw answers me:
> host '{' is unknown.
> I readed man page about grouping carefull, but cannot add this rule
> into firewall table.
> 
> Can anyone explain this ipfw behavior?
> I cannot split this rule into two separated...
> waiting yours solution.
> 
> Please, make copy of your answer to my email.
> -- 
> Best regards,
>  vlad                          mailto:vlad@sas.nsk.su
> 
> 
> _______________________________________________
> freebsd-ipfw@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw
> To unsubscribe, send any mail to "freebsd-ipfw-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20030421091444.A23150>