This awesome blog post at MitchRibar.com outlined a great way to improve YouTube’s sometimes crappy load times and performance. It works very well and I’m glad somebody took the time to share this knowledge on the internet.
His method is a local client only option, so if you have alot of computers like I do it may be a pain to set this up on every computer, phone, etc that you have. Instead, I decided to try and block it at my router which I happened to have flashed with DD-WRT.
Here’s how you do it!
- Log into your router’s admin interface
- Click on “Administration” and then select the “Commands” tab
- Paste the following lines into the commands text area:
iptables -I FORWARD -s 173.194.55.0/24 -j DROP
iptables -I FORWARD -s 206.111.0.0/16 -j DROP - Now click “Save Firewall”
- You should now notice a firewall section with these lines added, which looks like this:
Congratulations! You’ve now improved YouTube’s performance on your entire network. I did this on a DD-WRT enabled router; but this could be done on any device that runs iptables. Open-WRT, Tomato, Linux boxes, etc. If you have ipables, give it a try!