[ previous ] [ next ] [ threads ]
 
 From:  David Moran <ibanez at sendep dot net>
 To:  m0n0wall at lists dot m0n0 dot ch
 Subject:  Traffic shaper troubles
 Date:  Mon, 14 Jun 2004 03:46:47 -0400 (EDT)
I'm trying to use m0n0's traffic shaper to limit all outbound traffic to
5kb execpt for http traffic and ssh. so far my rules are this

wan tcp 192.168.1.143   *       pipe 2(500k)
<--     port 22         port 22

wan tcp *               *       pipe 2(500k)
<-->    port 80         port 80

wan any 192.168.1.143   *       pipe 1(50k)
<--     any   any


50000   38  31388 allow ip from 192.168.1.1 to any
50001   24   2426 allow ip from any to 192.168.1.1
50002    0      0 pipe 2 udp from 192.168.1.143 27960-27962 to any dst-port 27960-27962 via vr0
50003    0      0 pipe 2 tcp from 192.168.1.143 22 to any dst-port 22 out via vr0
50004    0      0 pipe 2 tcp from any 80 to any dst-port 80 via vr0
50005  216  17530 pipe 1 ip from 192.168.1.143 to any out via vr0
65535 3578 849488 allow ip from any to any


now, i would think this would take any paket on ports 22/80 that are
outbound and send them through pipe2 and send all other packets to pipe1
but this is not the case. everything is ending up going through pipe 1


please help

-Sen