Network-wide parental controls via Raspberry Pi and Pi-Hole
Everything below is pre-populated, but completely configurable.
Language-based URL filtering
- Blocked words and phrases (blocked_words.txt)
- Credit https://github.com/RobertJGabriel/Google-profanity-words/ for this eye-opening text file
Blacklisting wildcarded domains
- Custom block wildcarded domain names (blocked_domains.txt)
Forced redirection to YouTube Restricted mode
Forced redirection to Google SafeSearch
Blacklisting of 400+ other search engines
- Courtesy of https://github.com/NaveenDA/
Thank you https://github.com/jaykepeters for original script!
. . .
Slightly Vague Install Instructions:
- Make sure you have Pi-Hole up and running as local DNS server
- Devices pointing to router
- Router pointing to Pi-Hole
- Clone this repo and cd into it
- chmod +x ./safesearch.sh
- ./safesearch.sh enable
To update after any modifications of the block files:
- ./safesearch.sh reload
To remove all the configurations:
- ./safesearch.sh disable
I am running this on a Pi4b and Google/Nest Wifi network.
Written for the Pi-Hole version below but will update if any future updates break my setup.
pihole -v Pi-hole version is v5.3.1 (Latest: v5.5.1) AdminLTE version is v5.5.1 (Latest: v5.8.1) Current FTL version is v5.8.1.