Re: [LARTC] Incoming trafic shaping (depending on src IP)

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Feb 20, 2001 at 11:47:25AM +0100, Spyou wrote:

> tc filter add dev ppp0 parent 1:0 protocol ip prio 100 u32 match ip src 
> <the SRC IP of my VPN> flowid 1:10
> 
> Okay, so, with this, packets comming trought ppp0 and from <the SRC IP of 
> my VPN> should be shaped at 64Kbit/s, right ?

This line shapes outgoing traffic with a source address of your VPN!

> Where's my error ? Is there something more simple (eg. with iptables and 
> packet marking ?)

Look into the ingress scheduler.

Regards,

bert

-- 
http://www.PowerDNS.com      Versatile DNS Services  
Trilab                       The Technology People   
'SYN! .. SYN|ACK! .. ACK!' - the mating call of the internet



[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux