From mboxrd@z Thu Jan 1 00:00:00 1970 From: Oscar Mechanic Date: Thu, 10 Nov 2005 17:16:37 +0000 Subject: Re: [LARTC] throtling bandwidth Message-Id: <1131642997.7845.70.camel@OSCARLAPLIN> List-Id: References: <20051110155755.GA5954@tranquility.scriptkitchen.com> In-Reply-To: <20051110155755.GA5954@tranquility.scriptkitchen.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Sorry its ipt_quota iptables -I FORWARD 1 -s 192.16.0.1/24 -m quota --quota 6000 -j ACCEPT iptables -I FORWARD 2 -s 192.16.0.1/24 -j DENY All of 192.16.0.0 will be limited to 6M after which they get nothing more clever things are possible but I will leave it too you. quota Implements network quotas by decrementing a byte counter with each packet. --quota bytes The quota in bytes. On Thu, 2005-11-10 at 12:09 -0500, Payal Rathod wrote: > On Thu, Nov 10, 2005 at 04:06:50PM +0000, Oscar Mechanic wrote: > > Instead of restricting the speed use iptables ipt_account to restrict > > usage and the put in a script on cron to zero the counters. That way you > > get to budget and the users get best experience. > > > > Sorry didn't get what you meant. What exactly is ipt_account? Can you > give an example? > Thanks in advance. > With warm regards, > -Payal _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc