From owner-freebsd-questions@FreeBSD.ORG Sat Oct 9 00:52:36 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8B53416A4CE for ; Sat, 9 Oct 2004 00:52:36 +0000 (GMT) Received: from smtp18.wxs.nl (smtp18.wxs.nl [195.121.6.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id A57F543D2F for ; Sat, 9 Oct 2004 00:52:35 +0000 (GMT) (envelope-from freebsd@akruijff.dds.nl) Received: from kruij557.speed.planet.nl (ipd50a97ba.speed.planet.nl [213.10.151.186])3questions@freebsd.org; Sat, 09 Oct 2004 02:52:34 +0200 (CEST) Received: from alex.lan (localhost [127.0.0.1]) by kruij557.speed.planet.nl (8.12.10/8.12.10) with ESMTP id i990qXKG073360; Sat, 09 Oct 2004 02:52:33 +0200 Received: (from akruijff@localhost) by alex.lan (8.12.10/8.12.10/Submit) id i990qXaq073359; Sat, 09 Oct 2004 02:52:33 +0200 Content-return: prohibited Date: Sat, 09 Oct 2004 02:52:33 +0200 From: Alex de Kruijff In-reply-to: <200410090358.40747.oim37@mail.ru> To: oim Message-id: <20041009005233.GD768@alex.lan> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Content-disposition: inline User-Agent: Mutt/1.4.2.1i References: <200410090358.40747.oim37@mail.ru> X-Authentication-warning: alex.lan: akruijff set sender to freebsd@akruijff.dds.nl using -f cc: questions@freebsd.org Subject: Re: How to limit traffic? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Oct 2004 00:52:36 -0000 On Sat, Oct 09, 2004 at 03:58:40AM +0700, oim wrote: > How can i limit traffic on Lan/Ethernet (rl0) on localhost ? > An example quota 1024 mb in month. You can do this by combining the firewall (ipfw rules) with the port ipa. I have a example of a combination of ipfw with ipa and mrtg (for graphs) on my website. It does include a bandwidth traffic shaper, and this needs one to recompile a new kernel. You don't need to do this. -- Alex Please copy the original recipients, otherwise I may not read your reply. WWW: http://www.kruijff.org/alex/FreeBSD/