gatekeeper icon indicating copy to clipboard operation
gatekeeper copied to clipboard

OpenWRT package

Open mafik opened this issue 1 year ago • 1 comments

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 avatar Sep 20 '23 16:09 mafik

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

mafik avatar Sep 20 '23 16:09 mafik