can't limit uploading traffic
vladone
vladone at llwb135.servidoresdns.net
Wed Jul 6 10:42:49 GMT 2005
I have this script:
#!/bin/sh
cmd="/sbin/ipfw -q"
#external interface
oif="rl0"
#internal interface
pif="fxp1"
down_bw="100kbit/s"
up_bw="70kbit/s"
#flush rules
$cmd flush
$cmd pipe flush
$cmd pipe 2 config bw $up_bw
$cmd queue 1 config pipe 2 weight 20
$cmd add 100 queue 1 ip from any to any in via $pif
# divert prin natd
$cmd add 10500 divert natd ip from any to any via $oif
If I use: $cmd add 100 queue 1 ip from any to any in via $pif, get an
limit at half bandwith from total (aproximatively 40kbits/s).
If I use: $cmd add 100 queue 1 ip from any to any out xmit $oif, block
my traffic throught gateway.
If I use: $cmd add 100 queue 1 ip from any to any out via $oif , also
block my traffic.
How i can resolv this!
More information about the freebsd-ipfw
mailing list