On 2003.03.30 20:18:53 +0600, Ilia E. Chipitsine wrote:
> 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.
ipfw add allow ip from any to { 192.168.0.0/16 or 10.0.0.0/8 }
should do the trick.
--
Simon L. Nielsen
pgp00000.pgp
Description: PGP signature
