Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Tutorials and FAQs
»
HowTo block Youtube.com while maintaining Google access
« previous
next »
Print
Pages: [
1
]
Author
Topic: HowTo block Youtube.com while maintaining Google access (Read 7313 times)
Noctur
Jr. Member
Posts: 79
Karma: 4
HowTo block Youtube.com while maintaining Google access
«
on:
February 21, 2018, 08:53:08 pm »
I have tried to block youtube for a while now and was unsuccessful because Youtube is now part of Google. Blocking Youtube has resulted in blocking access to Google services. It is important for me to allow use of Google services, i.e. docs, so I haven't been able to selectively block Youtube until now.
This seems to have worked for me. Youtube is not accessible but Google Docs are. Does anyone foresee an issue with the following approach?
Services >> Unbound DNS >> Overrides.
"+" to Add New
Domain:
www.youtube.com
IP Address: 127.0.0.1
Desc: Youtube Block
Save
I have tried to get around it by going to
www.youtube.de
and it is still blocked. I haven't tried facebook or twitter, but they seem to be other sites people frequently want to block.
Is there a way to make this subject to a schedule? TIA
Logged
overkill: Dell SFF i5, 16gb, 120gb SSD, 4x gb NICs
OPNsense 21.1.x
elektroinside
Hero Member
Posts: 574
Karma: 51
Re: HowTo block Youtube.com while maintaining Google access
«
Reply #1 on:
February 21, 2018, 09:05:36 pm »
You can do that with IDS/IPS. It's not that easy but it is a rock solid solution, difficult to avoid.
You could also use OpenDNS and configure a youtube block in your OpenDNS account, but that is easy to get around, so you'll also have to enforce your DNS related firewall rules...
Or both...
Or you could use a custom DNS server you host yourself, like Pi-hole.
Many ways to achieve efficient filtering, you have to pick one
Mind you that there are ways to avoid all of these filterings
«
Last Edit: February 21, 2018, 09:09:06 pm by elektroinside
»
Logged
OPNsense v18
| HW: Gigabyte Z370N-WIFI, i3-8100, 8GB RAM, 60GB SSD, | Controllers: 82575GB-quad, 82574, I221, I219-V | PPPoE: RDS Romania | Down: 980Mbit/s | Up: 500Mbit/s
Team Rebellion Member
Noctur
Jr. Member
Posts: 79
Karma: 4
Re: HowTo block Youtube.com while maintaining Google access
«
Reply #2 on:
February 21, 2018, 11:47:35 pm »
Yes. This setup works for me and only takes about 30 seconds to put in place. It will block casual attempts. TOR gets past it easily.
The down side is this blocks for all users 100% of the time. I don't see a way to selectively block users or set a block schedule.
Logged
overkill: Dell SFF i5, 16gb, 120gb SSD, 4x gb NICs
OPNsense 21.1.x
elektroinside
Hero Member
Posts: 574
Karma: 51
Re: HowTo block Youtube.com while maintaining Google access
«
Reply #3 on:
February 22, 2018, 08:44:37 am »
With IDS/IPS you could also select sources:
https://redmine.openinfosecfoundation.org/projects/suricata/wiki/Suricata_Rules
Logged
OPNsense v18
| HW: Gigabyte Z370N-WIFI, i3-8100, 8GB RAM, 60GB SSD, | Controllers: 82575GB-quad, 82574, I221, I219-V | PPPoE: RDS Romania | Down: 980Mbit/s | Up: 500Mbit/s
Team Rebellion Member
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Tutorials and FAQs
»
HowTo block Youtube.com while maintaining Google access