From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Jose Luis Ocaranza" Date: Tue, 16 Dec 2003 23:31:08 +0000 Subject: [LARTC] 2 lans + internet + squid Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org 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=20 speed not only from the internet, but also from the server itself. Let see.= . if i=20 set an FTP conection to my server from a client machine, the download is=20 shaped to the bandwith assigned to the user. What i need is to let the user download at full speed if the data comes fro= m=20 the server, but if it comes from the internet shapeit down. This is special= ly=20 usefull for the squid service, so if the website is in the squid cache, the= user=20 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 (squi= d port),=20 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/