Can someone tell me about a good way to troubleshoot pipes/queues or point me in the rigtt direction. I'm trying to restrict outgoing ftp traffic and create some pipes for VOIP. dummynet and pipe rules load fine ( and are in the kernel ) but seem to have no effect. I did read the manual pages 20 times over. I tried adding pipes before doing "config bw" on them, but that didn't make any difference.
thanx a lot in advance.


something like this :

        # APPLIES TO INCOMING PACKETS (DOWNLOADS)

        ${fwcmd} pipe 1 config bw 1300Kbit/s
        ${fwcmd} pipe 3 config bw 100Kbit/s

        ${fwcmd} queue 1 config weight 5 pipe 1
        ${fwcmd} add queue 1 ip from any to 192.168.1.4
        ${fwcmd} queue 2 config weight 5 pipe 1
        ${fwcmd} add queue 2 ip from any to 192.168.1.3
        ${fwcmd} queue 3 config weight 10 pipe 3
        ${fwcmd} add queue 3 udp from any to 192.168.1.2

        # APPLIES TO OUTGOING PACKETS (UPLOADS)

        ${fwcmd} pipe 2 config bw 1000Kbit/s
        ${fwcmd} pipe 4 config bw 100Kbit/s

        ${fwcmd} queue 4 config weight 5 pipe 2
        ${fwcmd} add queue 4 ip from 192.168.1.4 to any
        ${fwcmd} queue 5 config weight 5 pipe 2
        ${fwcmd} add queue 5 ip from 192.168.1.3 to any
        ${fwcmd} queue 6 config weight 10 pipe 4
        ${fwcmd} add queue 6 udp from 192.168.1.2 to any

        
        THIS IS FOR OUTGOING FTP        

${fwcmd} add pipe 7 tcp from 216.254.116.226 21 to any out via ${oif}
${fwcmd} pipe 7 config bw 3Kbit/s




_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to