What's new

JFFS Script to fix Youtube - Help?

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

turboclag

New Around Here
This is my first time attempting to make a JFFS script. I am doing this because I cannot find any other way to block an entire range of IP addresses inside the Merlin firmware on my RT-AC66R.

Supposidly blocking these sets of IP addresses will eliminate your ISP (Time Warner) throttling your bandwidth at peak times.

I haven't been able to use YouTube consistantly in like a year, with a 50 mbit connection. Anyways I have made the script called firewall-start in the jffs/scripts folder, and have used putty to make it executable. This is the script.

#!/bin/sh

#script for fixing throttled youtube
iptables -I INPUT -s 173.194.55.0/24 -j DROP
iptables -I INPUT -s 206.111.0.0/16 -j DROP

That is all that there is in the file. Should this work? I have it in there and don't notice any difference, but not really sure how to test to see that it is working.

Thank you for any advice or help you can give. I would love to figure this out and get it out there for people using this router as the solution seems to work for most people.
 
Has anyone figured this out? I'm trying to block these same sets of IP addresses for my AT&T GigaPower connection as YouTube has been terribly slow lately. When I connect through VPN, YouTube is much faster and doesn't buffer.

I created a similar firewall-start script on my RT-AC3100 router running the latest 380.59 Merlin firmware but am not noticing any difference in speed on the YouTube videos.

#!/bin/sh

iptables -i eth0 -A INPUT -s 173.194.55.0/24 -j DROP
iptables -i eth0 -A INPUT -s 206.111.0.0/16 -j DROP
 
The INPUT chain is for traffic that ends on the router. For traffic that ends on the LAN, you must use the FORWARD chain.
 
The INPUT chain is for traffic that ends on the router. For traffic that ends on the LAN, you must use the FORWARD chain.
So I should change it to the following? I tried it and then did a service restart_firewall but am still getting slow YouTube speeds.

#!/bin/sh

iptables -i eth0 -A FOWARD -s 173.194.55.0/24 -j DROP
iptables -i eth0 -A FORWARD -s 206.111.0.0/16 -j DROP
 
So I should change it to the following? I tried it and then did a service restart_firewall but am still getting slow YouTube speeds.

#!/bin/sh

iptables -i eth0 -A FOWARD -s 173.194.55.0/24 -j DROP
iptables -i eth0 -A FORWARD -s 206.111.0.0/16 -j DROP

Personally, I don't see how such a set of rules could speed up Youtube performance.
 
Personally, I don't see how such a set of rules could speed up Youtube performance.
I ended up getting these IP ranges blocked on my local PC and it didn't help the speed at all. I'm going back to factory settings now.
 

Similar threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top