Friends,
I would like to block all pornography on my network, what would be the best method?
ELDONCITO
Use some DNS filter list, eg https://www.opendns.com/setupguide/#familyshield
You can try using the CloudFlare DNS for Families to block both malware and adult sites. More info here: https://developers.cloudflare.com/1.1.1.1/1.1.1.1-for-families/
You may also want to enforce DNS by redirecting all DNS queries to your router or specific destination.
Switch it off!
Or disconnect it from the internet.
The best way is by dns server like AdGuardHome and redirect dns traffic on your router for network address or address list that you need filter.
Regards.
But note that browser makers are implementing ways around that right now. The new browser versions will all use DoH by default and render such redirects ineffective.
Current versions already implement DoH so users already can voluntarily set this up and avoid your filter.
And of course users also can setup a VPN and work around such local measures.