OPNsense Forum

English Forums => Web Proxy Filtering and Caching => Topic started by: road hazard on December 14, 2022, 03:20:13 pm

Title: Blocking a particular channel on YouTube
Post by: road hazard on December 14, 2022, 03:20:13 pm
I know this will sound silly but it's annoying to me and I'm wondering if OPNSense can help.

Sometimes I like to watch certain videos on YT as one-offs and don't want the algorithm feeding me more of the same so I'll open the app and won't sign into my account.

When I do that, on the main YouTube screen, there is a high probability they'll showcase a video from this girl called 'SSSniperwolf'. Just the sight of her makes me want to punch the screen. On my computer, I'm using a YouTube channel blocking app in my browser and no longer see her (THANK GOD!). But if I open the YT app (or SmartTubeNext) on my Android TV (and I'm not signed into my account), I almost always see her showcased on the screen.

So, is there a way to configure OPNSense to block -just her channel- and everything associated with it?
Title: Re: Blocking a particular channel on YouTube
Post by: lilsense on December 14, 2022, 04:38:04 pm
you can deploy PiHole (google it) to control the DNS and use the same method that you browsers app "youtube channel blocking" works and add it to the pihole so that no one from your network would get it.
Title: Re: Blocking a particular channel on YouTube
Post by: EdwinKM on December 14, 2022, 06:06:41 pm
you can deploy PiHole (google it) to control the DNS and use the same method that you browsers app "youtube channel blocking" works and add it to the pihole so that no one from your network would get it.
Please explain. All youtube adds are on the same domain. So it is all-or-nothing. Only client interception seems to work (at that point you can actually intercept the traffic because Https).
Title: Re: Blocking a particular channel on YouTube
Post by: lilsense on December 14, 2022, 08:17:36 pm
you can use the regex to inspect the url.
Title: Re: Blocking a particular channel on YouTube
Post by: EdwinKM on December 14, 2022, 08:50:26 pm
you can use the regex to inspect the url.
Are you sure, if the connection is HTTPS you would only see the domain. Or are i mistaken?