Date: Sat, 28 Oct 2006 17:22:00 -0300 From: "Cesar Fazan" <listas@itm.net.br> To: "Odhiambo WASHINGTON" <odhiambo.raburu@wananchi.com>, <freebsd-ipfw@freebsd.org> Subject: Re: How do I do this with IPFW2? Message-ID: <1E0F9590A9E14B4A92C4ECBDD0659B5D@IRONMAN> In-Reply-To: <20061028121914.GA79793@ns2.wananchi.com> References: <20061028121914.GA79793@ns2.wananchi.com>
next in thread | previous in thread | raw e-mail | index | archive | help
What about use ipfw tables? ipfw table 1 add 62.8.64.0/19 ipfw table 1 add 196.200.32.0/20 ipfw add pipe 1 tcp from me to not table'(1)' 25 Cesar ----- Original Message ----- From: "Odhiambo WASHINGTON" <odhiambo.raburu@wananchi.com> To: <freebsd-ipfw@freebsd.org> Sent: Saturday, October 28, 2006 9:19 AM Subject: How do I do this with IPFW2? > > Here is my network definition, with two IP blocks. > > my_ip_blocks = "62.8.64.0/19 196.200.32.0/20" > > I'd like to do something like below: > > ipfw pipe 1 config bw 1024Kbit/s > ipfw add pipe 1 tcp from me to not $my_ip_blocks 25 > > > What I can't find is how to _correctly_ define my_ip_blocks > in the rule in a way ipfw2 will accept. > > > Thank you. > > -- > +======================================================================+ > |\ _,,,---,,_ | Odhiambo Washington <wash@wananchi.com> > Zzz /,`.-'`' -. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com > |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 > '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 > +======================================================================+ > > Beware of self-styled experts: an ex is a has-been, and a spurt is a > drip under pressure. > _______________________________________________ > 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: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1E0F9590A9E14B4A92C4ECBDD0659B5D>