simple-captive-portal: add new package
authorEtienne Champetier <redacted>
Sun, 22 Jun 2025 12:06:36 +0000 (08:06 -0400)
committerEtienne Champetier <redacted>
Sun, 22 Jun 2025 22:15:04 +0000 (01:15 +0300)
commite0d761e79b1153a84633ca9a1de9644950148316
tree5747d803c4de438830866924de4f67641a4463a9
parent6f9b8675410f071c23410f79fd42d59568ea606e
simple-captive-portal: add new package

This package intercepts/blocks traffic from 'interface' and
redirects http requests to a splash page that you can personalize,
stored in '/etc/simple-captive-portal/'.
After clicking on 'connect' the MAC of the client is allowed,
for 'timeout' seconds (24h), allowing both IPv4 and IPv6.

If your guest interface defaults to input drop or reject (recommended),
make sure to allow tcp 8888-8889 on input (and also dns and dhcp).

Signed-off-by: Etienne Champetier <redacted>
net/simple-captive-portal/Makefile [new file with mode: 0644]
net/simple-captive-portal/README.md [new file with mode: 0644]
net/simple-captive-portal/files/etc/config/simple-captive-portal [new file with mode: 0644]
net/simple-captive-portal/files/etc/hotplug.d/net/00-simple-captive-portal [new file with mode: 0644]
net/simple-captive-portal/files/etc/init.d/simple-captive-portal [new file with mode: 0644]
net/simple-captive-portal/files/etc/simple-captive-portal/index.html [new file with mode: 0644]
net/simple-captive-portal/files/usr/share/simple-captive-portal/capabilities.json [new file with mode: 0644]
net/simple-captive-portal/files/usr/share/simple-captive-portal/portal.lua [new file with mode: 0644]
net/simple-captive-portal/files/usr/share/simple-captive-portal/redirect.lua [new file with mode: 0644]
git clone https://git.99rst.org/PROJECT