Hello folks! I found a script on an Australian forum for adding a large range of ports to IPCop's wondershaper. It had errors such as location and it inserted a space that is not supposed to be there in /var/ipcop/shaping/config right after the priority and before the comma so I fixed them and now it works perfectly.
My motivation for using this is that my VOIP service Ooma, uses VPN for tunneling sip over and has three or so predefined udp ports and one tcp port but none of those carry the bulk during a phone call. When on a call, a random udp port between 10000 and 20000 is assigned for that call and it carries almost all of the bandwidth as seen by running iftop. 10000 entries is a lot to do one at a time in the web gui by hand.
With the script it prompted me for the beginning port, the ending port, and what type (udp, tcp, etc) and the priority explaining that 10 is high, 20 is medium and 30 is low.
My resultant conf file is about 156KB and the web gui really doesn't take that long to load and all the ports can be seen along with the priority I assigned.
I really shy away from using the level 7 kernel patching unless I am convinced otherwise but that's a separate subject. Here is the link:
http://downloads.raqcop.com/cobalt_ipco ... .sh.tar.gz
And the readme:
http://downloads.raqcop.com/cobalt_ipco ... me_qos.txt