From mboxrd@z Thu Jan 1 00:00:00 1970 From: rubens@etica.net Date: Wed, 17 Dec 2003 02:13:52 +0000 Subject: Re: [LARTC] 2 lans + internet + squid Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org You can make the inbound traffic from the external interface (ppp0) flow thru a IMQ interface, and shape the traffic as it egress from imq. http://lartc.org/howto/lartc.imq.html Rubens On Tue, 16 Dec 2003, Jose Luis Ocaranza wrote: > Hie, > > I=B4m working on this server : > -2 lans network (eth0-172.17.1.0 and eth1-172.16.1.0) > -1 ADSL internet conection trought eth2-ppp0 > -CBQ.Init script. > -Squid cache server. > I have some clases for users with diferent bandwith (64K, 128K, 256K). > Few days ago I realized that the bandwith limitation afects the downloads > speed not only from the internet, but also from the server itself. Let se= e.. if i > set an FTP conection to my server from a client machine, the download is > shaped to the bandwith assigned to the user. > What i need is to let the user download at full speed if the data comes f= rom > the server, but if it comes from the internet shapeit down. This is speci= ally > usefull for the squid service, so if the website is in the squid cache, t= he user > download is at full speed, but if it=B4s not the user download is shaped. > Any idea what can I touch ?? > I try aplying filter based on dst or src IP (server=B4s IP) and ports (sq= uid port), > with no result. > It could be posible marking packets with iptables that comes from the ppp0 > interface ? > Any sample configs !! > > Thx in advance, > > Jose Luis Ocaranza > Santiago del Estero > Argentina > _______________________________________________ > LARTC mailing list / LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ > _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/