Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Apr 2003 20:15:33 -0400
From:      SKU <sku-dated-1051488869.cjallnpp@palomine.net>
To:        ipfw@freebsd.org
Subject:   Traffic Shaper Question
Message-ID:  <20030428001533.GA20138@palomine.net>

Next in thread | Raw E-Mail | Index | Archive | Help
Greetings,

I am trying to use the following script to shape my incoming/outgoing traffic but keep running into some issues.  Can anyone hit with me a clue bat to show me what I am doing wrong???

net.inet.ip.fw.one_pass: 1 -> 1
/sbin/ipfw pipe 1 config bw 250Kbits/s
/sbin/ipfw pipe 2 config bw 155Kbytes/s
/sbin/ipfw queue 1 config pipe 2 weight 1
ipfw: setsockopt(IP_DUMMYNET_CONFIGURE): Invalid argument
/sbin/ipfw queue 2 config pipe 2 weight 1
/sbin/ipfw queue 3 config pipe 1 weight 1
/sbin/ipfw queue 4 config pipe 1 weight 1
ipfw: setsockopt(IP_DUMMYNET_CONFIGURE): Invalid argument
/sbin/ipfw queue 5 config pipe 1 weight 10
/sbin/ipfw queue 6 config pipe 2 weight 10
/sbin/ipfw queue 7 config pipe 2 weight 1
ipfw: setsockopt(IP_DUMMYNET_CONFIGURE): Invalid argument
/sbin/ipfw queue 8 config pipe 1 weight 1
/sbin/ipfw queue 9 config pipe 1 weight 10
ipfw: setsockopt(IP_DUMMYNET_CONFIGURE): Invalid argument
/sbin/ipfw queue 10 config pipe 2 weight 10
ipfw: setsockopt(IP_DUMMYNET_CONFIGURE): Invalid argument
/sbin/ipfw add 105 queue 7 tcp from any 6800-6900 to any in
/sbin/ipfw add 105 queue 7 udp from any 6800-6900 to any in
/sbin/ipfw add 105 queue 8 tcp from any to any 6800-6900 out
/sbin/ipfw add 105 queue 8 udp from any to any 6800-6900 out
/sbin/ipfw add 105 queue 9 tcp from any to any 80 out
/sbin/ipfw add 105 queue 10 tcp from any 80 to any in
/sbin/ipfw add 105 queue 7 tcp from any to any 22 out
/sbin/ipfw add 105 queue 8 tcp from any 22 to any in
/sbin/ipfw add 105 queue 9 tcp from any to any 3389 out
/sbin/ipfw add 105 queue 10 tcp from any 3389 to any in

TIA,

SKU



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20030428001533.GA20138>