mafik / gatekeeper

DHCP & DNS server optimized for home gateways.
MIT License
72 stars 2 forks source link

OpenWRT package #49

Open mafik opened 10 months ago

mafik commented 10 months ago

OpenWRT is a fairly popular OS for homelabs. It would be pretty nice if Gatekeeper could be easily installed & executed there (say as a OpenWRT package).

mafik commented 10 months ago

Some work on this front already was submitted and I've managed to get Gatekeeper working on an OpenWRT-based RaspberryPI 3B access point. Unfortunately some manual commands were necessary to get it working. Ideally they should all be automated.

I'll list them here to avoid forgetting:

  1. Before startup (during installation) ensure that PACKAGE_kmod-nft-queue is present.
  2. On startup disable any DNS & DHCP providers (in my case it was dnsmasq & odhcpd but any other DNS/DHCP provider would also potentially create a conflict).
  3. On startup fetch LAN & WAN interface names from the OpenWRT UCI system.
  4. Test whether it runs ok on MIPS.

Once that's done a Gatekeeper package can be submitted to https://github.com/openwrt/packages