blueice
October 21st, 2004, 13:15
Hi,
i have a web server and i want to make this configuration:
1. every IP connected to port 80 use max 300kbit BW
2. total outcoming BW on port 80 is 10Mbit.
I have make this configuration:
$fwcmd pipe 1 config bw 5Mbit/s queue 1000Kbytes
$fwcmd add pipe 1 tcp from 69.66.55.44 80 to any
$fwcmd pipe 2 config bw 300Kbit/s queue 1000Kbytes mask dst-ip 0xffffffff
$fwcmd add pipe 2 tcp from 69.66.55.44 80 to any
Every one of this configs can put the right limit (if i put one limit per time).
But if i put both this codes in the firewall script only the first is working.
Can everyone help me how i can put the 2 limits together?
Thanks a lot.
Regards,
Christos
i have a web server and i want to make this configuration:
1. every IP connected to port 80 use max 300kbit BW
2. total outcoming BW on port 80 is 10Mbit.
I have make this configuration:
$fwcmd pipe 1 config bw 5Mbit/s queue 1000Kbytes
$fwcmd add pipe 1 tcp from 69.66.55.44 80 to any
$fwcmd pipe 2 config bw 300Kbit/s queue 1000Kbytes mask dst-ip 0xffffffff
$fwcmd add pipe 2 tcp from 69.66.55.44 80 to any
Every one of this configs can put the right limit (if i put one limit per time).
But if i put both this codes in the firewall script only the first is working.
Can everyone help me how i can put the 2 limits together?
Thanks a lot.
Regards,
Christos