Page 1 of 1

QoS for a single website only?

Posted: Fri Apr 05, 2024 3:23 pm
by JakoJanez
I searched the forum, but I cant find information whether it's possible to enable QoS for a single website only?

Re: QoS for a single website only?

Posted: Fri Apr 05, 2024 5:43 pm
by Lantis
That’s not really how QoS works, and enabling it for a website involves knowing the IP address of it which may be dynamic or part of a content distribution network making it not possible or impractical.

Maybe taking a step back, why do you want to do this? What are your goals?
There might be a better way to achieve things.

Re: QoS for a single website only?

Posted: Sat Apr 06, 2024 10:29 am
by JakoJanez
Just want to limit streaming sites (youtube/netflix) to throttle during the day when there is a lot of traffic.
So I would need like a custom dns on the LAN, something like piHole and then QoS the ip of the Raspberry?

Re: QoS for a single website only?

Posted: Sat Apr 06, 2024 7:22 pm
by Lantis
With Gargoyle QoS that won’t be simple.
There are lists available of every YouTube IP and they are in the tens of thousands, and they change frequently.
You would need to customise Gargoyle to support ipsets and then script an automatic update of those ipsets.

Thinking about this a different way, maybe you are better off making rules for ports 80/443 where the amount of data for a connection exceeds 2MB? That way normal traffic should be ok but streamed content won’t.
This will apply to more than just YouTube though so testing is required for the best outcome.

Re: QoS for a single website only?

Posted: Sun Apr 07, 2024 3:21 am
by JakoJanez
Damn, that's a good idea. Will have to look into this further.
Thanks! :)