Starting a feature request to spread PiHole to routers.
Many users of powerful routers run modified firmware such as Tomato, MerlinWRT, DD-WRT or OpenWRT. Many of the supported routers have enough processing power available to run piHole and some testing has been done (see here Run PiHole directly on Asus-Merlin/DD-WRT Router). These firmwares use Entware-NG as a packet manager and software can be installed easily via the opkg commands. Self developed installer scripts are available under the link above, yet keeping up with the changes made to PiHole is crazy.
As jonesaaronj stated in his last comment all we need is:
- A new installation target with the opt package dependencies needed
- A variable to globally control where everything is installed, /etc vs /opt/etc vs /vffs/opt/etc or whatever
- The configuration of the bridge which is really just a trivial one liner.
The webinterface can run on a different IP using a virtual interface on bridge0 and lighttp. This avoids confusion with the regular router web interface. The Pi would not be needed in this scenario.