All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] HOW TO REDUCE INTERNET TRAFFIC ONLY
@ 2005-06-07 14:48 s.az
  2005-06-07 16:04 ` Andreas Unterkircher
  0 siblings, 1 reply; 2+ messages in thread
From: s.az @ 2005-06-07 14:48 UTC (permalink / raw)
  To: lartc

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [LARTC] HOW TO REDUCE INTERNET TRAFFIC ONLY
  2005-06-07 14:48 [LARTC] HOW TO REDUCE INTERNET TRAFFIC ONLY s.az
@ 2005-06-07 16:04 ` Andreas Unterkircher
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Unterkircher @ 2005-06-07 16:04 UTC (permalink / raw)
  To: lartc

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-06-07 16:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-07 14:48 [LARTC] HOW TO REDUCE INTERNET TRAFFIC ONLY s.az
2005-06-07 16:04 ` Andreas Unterkircher

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.