All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andreas Unterkircher <unki@netshadow.at>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] HOW TO REDUCE INTERNET TRAFFIC ONLY
Date: Tue, 07 Jun 2005 16:04:04 +0000	[thread overview]
Message-ID: <42A5C574.4040508@netshadow.at> (raw)
In-Reply-To: <42A5B3B8.5000406@inticomp.com>

I guess you are using NAT to get your clients out to the internet,
so on ppp0 you wan't see any internal address anymore.

You can give IMQ in BB mode a try. In this mode IMQ gets the
outgoing packets before they have passed the Postrouting chain
(where the NAT happens). Then you can match on internal IPs.

Hope this helps.

Cheers,
Andreas

s.az wrote:

> Hi,
>
> How i reduce the traffic of a computer to internet only. Not my lan
>
> I did try with this, but it's useless:
>
> tc qdisc add dev ppp0 root handle 1: htb
> tc class add dev ppp0 parent 1: classid 1:1 htb rate 128kbit burst 6k
> tc filter add dev ppp0 parent 1: protocol ip u32 match ip dst 
> 192.168.0.2 flowid 1:1
>
> Can u give me a hand ?
> _______________________________________________
> LARTC mailing list
> LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
>

_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

      reply	other threads:[~2005-06-07 16:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-07 14:48 [LARTC] HOW TO REDUCE INTERNET TRAFFIC ONLY s.az
2005-06-07 16:04 ` Andreas Unterkircher [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=42A5C574.4040508@netshadow.at \
    --to=unki@netshadow.at \
    --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.