All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Jose Luis Ocaranza" <jlocaranza@ocanet.com.ar>
To: lartc@vger.kernel.org
Subject: [LARTC] 2 lans + internet + squid
Date: Tue, 16 Dec 2003 23:31:08 +0000	[thread overview]
Message-ID: <marc-lartc-107161733519098@msgid-missing> (raw)

Hie,

I´m 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 see.. 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 from 
the server, but if it comes from the internet shapeit down. This is specially 
usefull for the squid service, so if the website is in the squid cache, the user 
download is at full speed, but if it´s not the user download is shaped.
Any idea what can I touch ??
I try aplying filter based on dst or src IP (server´s IP) and ports (squid 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/

             reply	other threads:[~2003-12-16 23:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-16 23:31 Jose Luis Ocaranza [this message]
2003-12-17  0:06 ` [LARTC] 2 lans + internet + squid Eric Leblond
2003-12-17  0:09 ` Roy
2003-12-17  2:13 ` rubens

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-lartc-107161733519098@msgid-missing \
    --to=jlocaranza@ocanet.com.ar \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.