Has anyone done this?
I know some people vpn to their home network to use their home pi.hole, but for network stability reasons, i don't think this is a good idea (i do have a pi.hole running on my home network tho).
It's also possible that someone may want an isolated device blocking ads/trackers/etc.
I know Android, by default, does some silly things with DNS, so that Google can maintain ad revenue. But we can subvert this by requiring a VPN with killswitch. But!, we don't need a VPN to be hosted by an external service -- we can run the VPN server on the Android device, and the VPN, since it's intercepting all requests, could also utilize pi.hole (on the same device), before finally sending the request out of the phone.
Has anyone done this?
Seems like it'd be a nice thing to package is to an APK, as well.
Information i've found so far:
Requires root:
- GitHub - DesktopECHO/Pi-hole-for-Android: Pi-hole/Unbound Raspbian APK Installer for Android 5.0+ devices (requires root)
- https://www.reddit.com/r/pihole/comments/nswh1r/successfully_installed_pihole_on_spare_android/
Related, but ultimately treating the android device as a server instead of the main device: