Block particular site for specific devices.

Started by techeng27, March 03, 2019, 06:03:55 PM

Previous topic - Next topic
Hi All,

Okay so ive been doing some research and everyones anwser tend to be to block a website for an entire network.

What I want to do is block youtube.com for 2 of my devices on my guest network.

So I have 2 tablets my children use and I want to block youtube for those 2 devices ONLY.
I could do this on my last firewall and ive used OPNSense for quite a while but canot find any way to do this that isnt a 'network wide block'.

Im thinking my only option is to create a dns server on my guest network, and route all traffic from youtube to 127.0.0.1 or something similar, then, then specifiy that dns server IP in the 2 devices I want to block.

Hope that makes sense and hopefully someone has another idea thats quicker.

Thanks in advance!

Why not just use static DHCP assignments for those two devices, create an alias with both ips and then use this alias in a firewall rules as source?
Intel(R) Xeon(R) Silver 4116 CPU @ 2.10GHz (24 cores)
256 GB RAM, 300GB RAID1, 3x4 10G Chelsio T540-CO-SR

Quote from: hbc on March 03, 2019, 06:32:06 PM
Why not just use static DHCP assignments for those two devices, create an alias with both ips and then use this alias in a firewall rules as source?

I did try this but it didn't work... added YouTube.com and m.youtube.com as an alias, told the 2 devices (also in alias) to block any protocol to them.
E.g. block 》source (tablets) 》 protocol any 》destination (youtube).

However It doesn't work.

Hmmm,

did you try
?

Block http, https (443/tcp), QUIC (443/udp)
Intel(R) Xeon(R) Silver 4116 CPU @ 2.10GHz (24 cores)
256 GB RAM, 300GB RAID1, 3x4 10G Chelsio T540-CO-SR