Page 1 of 1

Disable upload and download, allow web browsing only.

Posted: Sun Jul 31, 2016 10:49 pm
by dragonmax
Limit upload and download speed without slowing browsing speed with iptables

Hello,
I was searching for a way in order to disable downloading and uploading without slowing down browsing speed with iptables (Just for fun and for testing). If this way worked please add it as a new feature in the upcoming version

iptables -I INPUT -p tcp --dport 80 -m length --length 900:65535 -j DROP

iptables -I OUTPUT -p tcp --dport 80 -m length --length 900:65535 -j DROP

iptables -I FORWARD -p tcp --dport 80 -m length --length 900:65535 -j DROP

please tell me if these rules worked for you and please tell me if you noticed anything slowing down or changed

Re: Disable upload and download, allow web browsing only.

Posted: Mon Aug 01, 2016 1:54 am
by Lantis
You can create the exact same effect using QOS.

Re: Disable upload and download, allow web browsing only.

Posted: Mon Aug 01, 2016 2:01 pm
by dragonmax
Qos will slow down web browsing :?

Re: Disable upload and download, allow web browsing only.

Posted: Mon Aug 01, 2016 4:49 pm
by Lantis
How will it do that?
Provide me proof and testing that someone should use your method rather than 2 simple QOS rules.

Re: Disable upload and download, allow web browsing only.

Posted: Mon Aug 01, 2016 6:12 pm
by dragonmax
I uploaded a file to the router and tried to download it via browser and download speed was to slow, also when I try to download files from internet I get 1kb/s but browsing is working normal :D

Re: Disable upload and download, allow web browsing only.

Posted: Sun Aug 14, 2016 2:14 pm
by b17gsr
I have my QOS configured to throttle Netflix and webpage access works a lot better.