QoS on OpenWRT with Vonage

These are the steps that I followed to install QoS on OpenWRT (reference the QoSHowto)

  1. ssh to your router (e.g. 192.168.1.1) and login as root
  2. ipkg install http://downloads.openwrt.org/people/nbd/qos/qos-scripts_0.9.1-1_mipsel.ipk
  3. cd /etc/config
  4. vim qos
  5. Added “5061″ to this line: option ports “22,53,5061″
  6. qos-start
  7. 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

No comments yet. Be the first.

Leave a reply

You must be logged in to post a comment.