Comments:"How to stop TWC ISPs sucking at Youtube | Mitch's Space"
URL:http://mitchribar.com/2013/02/time-warner-cable-sucks-for-youtube-twitchtv/
I’ve had TWC for over a year and have been frustrated at the shockingly crap Youtube performance. I never had issues with other web browsing, downloads, or Netflix, so I simply shrugged it off and continued with life. A few days ago I came across this video and some discussions on Reddit which prompted me to explore further.
A few terminal commands later to reject certain IP addresses and I was back to blazingly fast Youtube streaming (and Twitch.tv). Doing this will cause the stream to take 1-2 seconds to start because of the IP rejection handling, but then you are greeted with a silky smooth, ultra fast experience.
Open up your terminal and run these commands (you will be prompted for the admin password):
sudo ipfw add reject src-ip 173.194.55.0/24 in
sudo ipfw add reject src-ip 206.111.0.0/16 in
You can check the rules were added by using this command:
sudo ipfw list
Rules can be removed by using each rule ID number from the ‘list’ command above:
sudo ipfw delete [ruleID]
Why do these commands create a better streaming experience? TWC is throttling downloads from servers (CDN) that host cached videos. By rejecting these IP address ranges you will force the video to be served to you directly. This harnesses the full download speed of your internet connection. Other people can dive into the complexity much better than I ever could, but that’s the overall theme.
If you’re not using a Mac, here’s some tips to make this work:
- Linux – instead of ipfw use iptables command
- Windows – check out this guide
- Multiple computers – configure the IP blocks via your router.
Did this trick work for you? Let me know in the comments below.
EDIT (Feb 25): Great discussion happening over at Hacker News that points to this not being TWC specific. Before posting I did test two other Verizon connections and found that they did not have Youtube issues, so I crafted the title. I feel that the title no longer specifically applies to TWC, and it’s been edited as such.