From mboxrd@z Thu Jan 1 00:00:00 1970 From: bert hubert ahu@ds9a.nl Date: Tue, 20 Feb 2001 13:40:18 +0000 Subject: [LARTC] Incoming trafic shaping (depending on src IP) Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org
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