Date: Wed, 6 Jun 2007 13:48:31 +0300 From: "Abdullah Ibn Hamad Al-Marri" <almarrie@gmail.com> To: Freminlins <freminlins@gmail.com> Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: ipfw - limit other networks Message-ID: <499c70c0706060348kbd4b9ap8508f5cd32a33e82@mail.gmail.com> In-Reply-To: <eeef1a4c0706060315i2bac1443w2acb0e29dd46652f@mail.gmail.com> References: <eeef1a4c0706060315i2bac1443w2acb0e29dd46652f@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 6/6/07, Freminlins <freminlins@gmail.com> wrote: > Hi, > > I am trying to limit the number of connections from "foreign" networks to a > server. I don't want to limit bandwidth, just the number of connections. > Let's say I have a network 192.168.1.0/24. I want to allow 192.168.2.0/24 to > have at most 50 connections. I want to allow 192.168.3.0/24 to have 20 > connections. And so on. Is this even possible? Some applications can do this > but I would prefer to do this at the network level. > > I can limit connections on a per IP basis easily, but that isn't what I am > looking for. > > > Cheers, > Frem. Hello Frem, You may need to check pf instead of ipfw. -- Regards, -Abdullah Ibn Hamad Al-Marri Arab Portal http://www.WeArab.Net/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?499c70c0706060348kbd4b9ap8508f5cd32a33e82>