Skip to content

Custom regex filter list for use with Pi-hole.

Notifications You must be signed in to change notification settings

WaLLy3K/pihole-regex

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 

Repository files navigation

Pi-hole regex filters

This is a custom (unofficial) regex.list file for use with Pi-hole version 4 or above.

Please be aware that running the install or reset commands will remove any custom wildcards that you have specified to be blocked; so don't forget to make a note of these before continuing.

Installation Instructions

  1. Open up Putty (or your choice of SSH client) and login to your device
  2. Run the following commands:
sudo curl https://raw.githubusercontent.com/mmotti/pihole-regex/master/regex.list -o /etc/pihole/regex.list
sudo killall -SIGHUP pihole-FTL

Removal Instructions

  1. Open up Putty (or your choice of SSH client) and login to your device
  2. Run the following commands:
sudo bash -c "> /etc/pihole/regex.list"
sudo killall -SIGHUP pihole-FTL

Testing the regex filter

See if you can access https://ad.pi-hole.net/

Then check the query log in the Pi-hole admin console for your blocked domain. It should show as Pi-holed (wildcard).

alt test

About

Custom regex filter list for use with Pi-hole.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published