IPFW+DUMMYNET UPLOAD PROBLEM

David S. Madole david at madole.net
Thu Oct 6 11:31:17 PDT 2005


From: "Daniel Dias Gonçalves" <daniel at dgnetwork.com.br>
>
>I have the following rules:
>
>$fwcmd add 600 pipe 602 src-ip 192.168.0.0/24 out
>$fwcmd add 601 pipe 603 dst-ip 192.168.0.0/24 in
>$fwcmd pipe 602 config mask src-ip 0x000000ff bw 128Kbit/s queue 
>10KBytes
>$fwcmd pipe 603 config mask dst-ip 0x000000ff bw 128Kbit/s queue 
>10KBytes
>
>And my test speed from ip 192.168.0.5 is:
>Down 123.66kbps
>Up 766.24kbps

Do you have additional rules that you haven't shown, such as a divert 
rule for NAT?

Perhaps because of NAT the source address is not what you think it is at 
rule 600 and you need to move that rule before your divert rule.

David



More information about the freebsd-hackers mailing list