8 Commits
Author SHA1 Message Date
mikeandClaude Sonnet 5 ae415b17b4 Document the sulaco DB copy and netatmocollect/fuw cron hand-off
Separate from the router README since it's not part of narcissus's
router role — it's a copy of the user's personal sulaco server's
databases plus two cron scripts moved over, kept here anyway since
it's simpler than a second repo.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-21 11:10:34 +02:00
mikeandClaude Sonnet 5 fde6e71625 Document SSH port move to 2234
Port 22 no longer listens; matches sulaco's existing convention.
Firewall policy on input is still accept, so this is obscurity only,
not a real access control — noted in the security section.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-21 11:09:12 +02:00
mikeandClaude Sonnet 5 c135f205fa Expand LAN to 10.0.0.0/22 with static/reserved/dynamic/spare zones
Splits the LAN into four /24 zones: 10.0.0.0/24 static (no DHCP, DNS
only), 10.0.1.0/24 fixed DHCP reservations by MAC, 10.0.2.0/24 dynamic
DHCP pool, 10.0.3.0/24 spare/unused. ipadm now derives the required
subnet from whether a host has a MAC, auto-assigns free IPs, and
auto-migrates a host's IP when its MAC is added/removed. Migrated the
existing archerc80 reservation from 10.0.0.2 to 10.0.1.2.

Also fixes a latent bug found while doing this: dnsmasq's SIGHUP
(`systemctl reload`) only re-reads /etc/hosts, not the conf-dir files
ipadm writes to, so config changes were silently not applied on
reload. ipadm now restarts dnsmasq instead.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-21 08:57:58 +02:00
mike 78beedeabc dnsmasq: enable log-dhcp permanently; document rogue-DHCP-server incident
Found and fixed a second, uncontrolled DHCP server on the LAN (a WiFi
router still in router mode instead of access-point mode) that was
intermittently handing out wrong DNS/IP config to clients. log-dhcp
was key to spotting it via the 'wrong server-ID' DHCPNAK pattern, so
keeping it enabled going forward; log-queries (diagnostic-only, noisy)
was removed again.
2026-08-19 07:44:01 +02:00
mike 8591223aca ipadm: Port-Forwarding hinzufügen (-pa/-pl/-pd) + nftables-Include verdrahten
- ipadm verwaltet jetzt auch WAN->LAN Port-Forwards, referenziert per
  Hostname aus der bestehenden Host-DB (folgt IP-Änderungen automatisch)
- ipadm -u generiert zusätzlich /etc/nftables.d/portforward.conf, validiert
  via 'nft -c -f' und reloadet nftables (Rollback bei ungültiger Config,
  wie beim dnsmasq-Teil)
- /etc/nftables.conf bindet dafür neu /etc/nftables.d/*.conf ein
- Host-Store-Locking-Logik in generischen LineStore[T] extrahiert, von
  Host- und PortForward-Store gemeinsam genutzt
2026-08-18 11:43:29 +02:00
mike cfb184eebe dnsmasq: Restart=on-failure gegen Boot-Race mit enp7s0 2026-08-18 11:23:23 +02:00
mike 49bad1fec1 Add ipadm: Go-Tool zur Verwaltung statischer DHCP/DNS-Hosts 2026-08-18 11:17:16 +02:00
mike dc1d490e26 Doku: Router-Setup (DHCP/DNS/NAT für enp7s0 10.0.0.0/24) 2026-08-18 11:02:02 +02:00