Pi-Hole: Use as a free parental filter? Yep, PiHole can help keep your kids away from that naughty content in addition to it’s principal use as a Linux network-level advertisement and Internet tracker blocking application. Yup PiHole still functions as your local DNS sinkhole, and optionally a DHCP server on your home network blocking traditional website advertisements as well as advertisements in unconventional places, such as smart TVs and mobile operating system advertisements. BUT it can also keep the kids away from all sorts of inappropriate adult content including porno.
Now before you leave it in the comments, it’s by no means fool proof. An inspired and industrious individual can find away around this. It also only works on the local network so cell phones which aren’t connected to wifi for example, aren’t blocked. However it’s free and it will stop most children.
You may have setup a TrueNAS: Pi-Hole Virtual Machine Install and are looking to add this to your setup. Or you may have installed Pihole on a Raspberry Pi by following the official PiHole install instructions.
In any case, once you have PiHole installed, you can begin setting it up as a parental filter to block site with pornographic content. Please note these instructions are for PiHole Version 5. Let’s get started with PiHole: Use as a Parental Filter.
Add a Blocklist or Adlist for Parental Filter
As I said, this is pretty simple. Lets start by logging into your PiHole web admin portal. Click “
Group Management" -> "Adlist" on the lefthand side.
You will now be on the adlist group management page which shows what lists are being used to block webpages.
We are going to be adding the blocklist created by mhhakim which is available on his page on github. Now lets enter the information for his blocklist in the address box at the top of the screen:
You can add a comment in the comment box if you’d like and when done, click the blue “Add” button.
The new list seemed to be working for me right away. You can test it out by browsing to a website on the blocklist (i.e. pornhub.com). If its not working you may need to run
pihole -g from the command line console of the system running pihole.
Alright. That’s it you’ve completed PiHole: Use as a Parental Filter. Now you’ve added one more barrier to keep those kids from illicit content. You can of course do this for other block or adlists you may want to use.