Community discussions

MikroTik App
 
9m2pju
just joined
Topic Author
Posts: 4
Joined: Wed Apr 03, 2024 12:05 am

How to properly block youtube for certain client?

Wed Apr 03, 2024 12:08 am

Hello
i have tried L7 filter with regexp but it did not work.
Can anybody shares how to do it?

Thanks.
 
tangent
Forum Guru
Forum Guru
Posts: 1421
Joined: Thu Jul 01, 2021 3:15 pm
Contact:

Re: How to properly block youtube for certain client?

Wed Apr 03, 2024 12:45 am

That hasn't worked since the Internet went HTTPS-everything and cloud-everything. There is no easy and reliable workaround short of middleboxes that dynamically forge TLS certificates.

Don't argue; search the forum. It's been discussed to death here several times before.
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 19626
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: How to properly block youtube for certain client?

Wed Apr 03, 2024 1:05 am

Dont make promises to clients you cannot keep. Unless the client wants to spend a shit ton of money on a very expensive router and and expensive subscriptions...........
 
K0NCTANT1N
Frequent Visitor
Frequent Visitor
Posts: 59
Joined: Thu Jun 08, 2023 9:35 pm

Re: How to properly block youtube for certain client?

Wed Apr 03, 2024 3:13 pm

 
tangent
Forum Guru
Forum Guru
Posts: 1421
Joined: Thu Jul 01, 2021 3:15 pm
Contact:

Re: How to properly block youtube for certain client?

Wed Apr 03, 2024 4:34 pm

That “example” becomes obsolete in the presence of ECH.

A better hope is to try and force all DNS to the router’s caching server, then selectively blackhole the unwanted domain names, but then you stumble on the problem of client-side DoH/DoT.

Again, this has all been discussed to death here before. There’s no need to recapitulate it all.
 
User avatar
rushlife
Member Candidate
Member Candidate
Posts: 246
Joined: Thu Nov 05, 2015 12:30 pm

Re: How to properly block youtube for certain client?

Wed Apr 03, 2024 5:55 pm

best imho

/queue simple add burst-limit=900M/900M burst-threshold=1M/1M burst-time=8s/8s max-limit=1M/1M name=yt-test target=192.168.xxx.xxx/32

oc need your input/edit


EDIT: meh, it's not working good a single bit

Who is online

Users browsing this forum: Cpruitt, NPoser, quinjo, Rafq, Seekport [Bot], stelaras, the2masters and 34 guests