ipfw in freebsd 4.7

Simon L. Nielsen simon at nitro.dk
Mon Apr 21 09:17:32 PDT 2003


On 2003.04.21 23:03:03 +0700, vlad wrote:

>       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

Are you sure that using ipfw2? See the manpage for information about
ipfw2 on FreeBSD 4.

Other than that you should also add spaces before/after the brackets.
E.g. : { not a.b.c.d/nn or not e.f.g.h/yy }

-- 
Simon L. Nielsen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ipfw/attachments/20030421/a883cc4a/attachment.bin


More information about the freebsd-ipfw mailing list