Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Mar 2003 17:25:29 +0100
From:      "Markie" <markie@notwentytwo.freeserve.co.uk>
To:        "Ilia E. Chipitsine" <ilia@cgu.chel.su>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: how to aggregate rules using ipfw2 ?
Message-ID:  <001301c2f6d8$fbe36db0$f300a8c0@mrblossom>
References:  <20030330201632.R65324-100000@mail.cgu.chel.su>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi!

I remember having difficulty getting this to work when I first got IPFW2,
turns out it wouldn't accept it because there _has_ to be a space between
the { and }.

For example...

ipfw add allow ip from any to { 192.168.0.0/16 or 10.0.0.0/8 }

not

ipfw add allow ip from any to {192.168.0.0/16 or 10.0.0.0/8}

Markie

----- Original Message -----
From: "Ilia E. Chipitsine" <ilia@cgu.chel.su>
To: <questions@FreeBSD.ORG>
Cc: <ipfw@FreeBSD.ORG>
Sent: Sunday, March 30, 2003 3:18 PM
Subject: how to aggregate rules using ipfw2 ?


> Dear Sirs,
>
> how can I aggregate rules ...
>
> ipfw add allow ip from any to 192.168.0.0/16
> ipfw add allow ip from any to 10.0.0.0/8
>
> ... into the single rule, probably using { .. or .. } syntax?
> I read man page, tried few combination, but them don't work for me.
>
> Cheers,
> Ilia Chipitsine
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"freebsd-questions-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001301c2f6d8$fbe36db0$f300a8c0>