router-ui: web management page for ports, devices, traffic, speedtest

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
rope 2026-08-15 12:15:54 +01:00
parent 3030d20034
commit 2f1e14495b
10 changed files with 1396 additions and 41 deletions

17
devices.toml Normal file
View file

@ -0,0 +1,17 @@
# devices.toml — LAN device registry for the router (services/router.nix)
#
# Written by the router UI (router.nordhammer.it), safe to edit by hand.
# Fields:
# mac — device MAC, lowercase hex with colons (required)
# name — DHCP hostname / label (required)
# ip — static reservation. Omit for a normal pool lease.
# Must be OUTSIDE the DHCP pool 10.0.0.100-250.
# blocked — true drops all traffic from this MAC on the LAN interface.
# Omitted rather than written as false, which is what the UI does.
# note — free text, shown in the UI only
[[device]]
mac = "f0:a7:31:6c:50:4b"
name = "camera-bedroom"
ip = "10.0.0.39"
note = "go2rtc / RTSP source"