QoS on OpenWRT with Vonage
These are the steps that I followed to install QoS on OpenWRT (reference the QoSHowto)
- ssh to your router (e.g. 192.168.1.1) and login as root
- ipkg install http://downloads.openwrt.org/people/nbd/qos/qos-scripts_0.9.1-1_mipsel.ipk
- cd /etc/config
- vim qos
- Added “5061″ to this line: option ports “22,53,5061″
- qos-start
- To check to see if it’s working: cat /proc/net/ip_conntrack |grep 192.168.1.192 (where 192.168.1.192 is the address of my Vonage router)
Output is
udp 17 174 xsrc=192.168.1.192 dst=69.59.252.36 sport=5061 dport=10000 xsrc=69.59.252.36 dst=66.169.7.152 sport=10000 dport=5061 [ASSURED] use=1 mark=1 l7proto=unknown
“mark=1″ indicates that the traffic is the highest priority.
More references: nbd’s QoS script and rudy’s QoS script