From: rubens@etica.net
To: lartc@vger.kernel.org
Subject: Re: [LARTC] 2 lans + internet + squid
Date: Wed, 17 Dec 2003 02:13:52 +0000 [thread overview]
Message-ID: <marc-lartc-107167583807683@msgid-missing> (raw)
In-Reply-To: <marc-lartc-107161733519098@msgid-missing>
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´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/
>
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
prev parent reply other threads:[~2003-12-17 2:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-16 23:31 [LARTC] 2 lans + internet + squid Jose Luis Ocaranza
2003-12-17 0:06 ` Eric Leblond
2003-12-17 0:09 ` Roy
2003-12-17 2:13 ` rubens [this message]
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-107167583807683@msgid-missing \
--to=rubens@etica.net \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox