From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Furniss Date: Sun, 22 May 2005 17:59:07 +0000 Subject: Re: [LARTC] newbie downloading not working Message-Id: <4290C86B.3070501@dsl.pipex.com> List-Id: References: <1116680028.10239.17.camel@pauloric.intranet> In-Reply-To: <1116680028.10239.17.camel@pauloric.intranet> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Paulo Ricardo Bruck wrote: > Hi guys > > Finally , after reading a lot of docs from larc/opalsoft/etc, I decided > to start learning some QoS > > First of all I'm trying to shape only download from a iptables+squid+qos > machine for 4 machines at LAN ( eth0) > > Can anyone help me , cause it is not working properly.. > > > ----------------------------------------------------------------- > #!/bin/bash > > # 128Kbps 192.168.0.1 > # <----- eth1 firewall eth0 > # internet-adsl-----+squid---------------4 desktops > # -----> +QoS 192.168.0.5 > # 450Kbps .11 > # .12 > # .20 > # If you want to shape traffic from the internet to squid then you need to use imq (www.linuximq.net) set in kernel config to hook after prerouting nat. The traffic to squid will still have your internet address not 192.168.0.1. Andy. _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc