IPFW+DUMMYNET UPLOAD PROBLEM

Glenn Dawson glenn at antimatter.net
Thu Oct 6 09:32:15 PDT 2005


At 08:38 PM 10/5/2005, Daniel Dias Gonçalves wrote:
>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
>
>Which the problem?

Are you doing NAT on the same machine?  If so, 
the rule that matches outbound packets should use 
the public IP instead of the private one.

-Glenn


>--
>Daniel Dias Gonçalves
>DGNET Network Solutions
>daniel at dgnetwork.com.br
>(37) 99824809
>_______________________________________________
>freebsd-hackers at freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
>To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"



More information about the freebsd-hackers mailing list