1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to throttle/QoS Youtube

Discussion in 'Tomato Firmware' started by siimo, Jan 3, 2008.

  1. siimo

    siimo LI Guru Member


    I have a small office with 10 people and only a 4meg DSL line for internet and want to basically limit youtube to 512kbps rather than blocking it completely.

    How would i do this with tomato? I have created a class with very low upload and 512K download on the QoS page but to assign it to IPs youtube has 100's of IP addresses so how do I do this?

    Can't find a Layer 7 entry for YouTube either should there be one?

    Thanks in advance
  2. netprince

    netprince LI Guru Member

    You might consider lowering the class for long running downloads instead of using layer7. For example, downloads get reclassified after downloading ~3 megs.

    Not sure which firmwares can do this, I use openwrt, it can be done there.
  3. lwf-

    lwf- Network Guru Member

    Tomato already takes care of that as long as QoS is active and set up right. The default settings make sure that connections on port 80 and 443 (web traffic that is) get low priority after 512 kb is transferred.
  4. rcordorica

    rcordorica Network Guru Member

    Use the httpvideo l7 filter.
  5. siimo

    siimo LI Guru Member

    Thanks for the Info.

    By the way this httpvideo L7 filter does it also include windows media streaming? or flash only.
  6. Reiper

    Reiper LI Guru Member

    Remember, Tomato doesn't classify based on downloads... It only classifies based on uploads!
  7. Devileyezz

    Devileyezz LI Guru Member

    This didn't work for me. I'm trying to block out sites like Youtube that have flash based videos.

    The 40 or so PCs are there for VoIP traffic. And youtube and all other types of tubes are getting irritating. How do I stop them? Or totally block those types?
  8. vexingv

    vexingv LI Guru Member

    Under access restrictions it seems that you can block all flash (swf) requests. However, that will catch a lot of things that are non-youtube with so many sites relying heavily on flash.

    And as someone else had said, Tomato is only able to manage and classify outbound QoS. The only inbound QoS available is to simply drop packets, which from what I've read on the forums isn't really effective as the packet has already arrived at your router.
  9. bigclaw

    bigclaw Network Guru Member

    The idea of upstream QoS, which is implemented in Tomato, is to give important packets high priority. In other words, if all VoIP traffic (or any other high-priority traffic) reaches you smoothly, would you mind if youtube saturates the rest of your bandwidth?

    If you wouldn't, you can try assigning a highest priority for VoIP and lowest for massive web traffic and see if that solves your problem. By delaying ACK packets of say, youtube, from going out, you implicitly will slow down the download too. This is what upstream QoS is about.

    If you absolutely want to have a hard limit for the youtube bandwidth, upstream QoS won't satisfy the requirement.

Share This Page