Wire reusable dual-stack mesh and router exit configuration #293
Labels
No labels
area:authentication
area:flake-utilities
area:performance
area:tbd
host:chaos
host:cosmos
host:electra
host:fleet
host:lena
host:lyra
host:mass-storage
host:media1
host:nimmog-de
host:nova
host:pangolin
host:pangolin-vps
host:phone
host:router
host:vega
investigation
phase:cutover
phase:deploy
phase:mcp
phase:module
phase:packaging
phase:prep
phase:validation
priority:high
priority:medium
project:attic-postgres-lyra-rollout
project:auto-update-reliability
project:auto-update-remediation
project:declarative-purity-cleanup
project:external-review
project:fleet-boundary-cleanup
project:host-facts-refactor
project:lyra-nixos-deploy
project:lyra-service-stack-migration
project:nebula-mesh-network
project:nix-idioms-hygiene
project:nixos-build-deployment-pipeline
project:security-hardening
project:service-stack-migration
project:vega-sillytavern-cutover
project:wiki-rebuild
repo:numtide/flake-utils
repo:numtide/nix-auth
repo:numtide/nixos-passthru-cache
repo:numtide/nix-relay
service:auto-update
service:gitlab
service:hermes
service:mem0
service:nix
service:sillytavern
service:slskd
service:synthseek
service:tdarr
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
nimmo/nixos-config#293
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Shared source/configuration deliverable for milestone Dual-stack Nebula Mesh & Router Exit. Per-host deployment and acceptance belong in separate host issues; do not treat source wiring as proof of fleet rollout.
Scope:
Checklist:
Existing live evidence: the router has both overlay addresses; the phone has connected over IPv6 on Wi-Fi and IPv4 on cellular. Phone DNS, Electra/Nova SSH, and IPv4 internet routing through the router are accepted; #294 is closed. Public IPv6 bootstrap and phone IPv6 internet egress remain tracked in #306. Existing fleet clients do not automatically register with the router lighthouse: optional router bootstrap configuration is prepared for per-host rollout. Shared NixOS wiring is validated in local commit
60eb26c; Vega will deploy through its normal pull-only NixOS auto-update after the changes reach main; live acceptance remains pending that deployment. Router host work: #292. Branch feat/router-nebula is published at1d9c3advia MR #307, with milestone 32 and fleet/project/validation labels. CI and automated review are pending; merge and remaining fleet acceptance have not occurred.User clarified the IPv6 requirement: both public IPv6 transport and IPv6 addressing inside the mesh. Keep existing IPv4 addressing while adding private IPv6 mesh addressing. The address plan is documented in README and the shared recipes, with a randomly generated ULA /64. Existing CA and phone certificate are already v2; no CA replacement is required on this evidence. Verify live client versions before rollout.
Recipe preparation supports comma-separated explicit certificate networks, preserves all addresses on reissue, and optionally replaces the address list for migration. IPv6-equipped bundles include IPv6 mesh firewall policy, dual-stack listeners, and dual-family hostname resolution. Actual IPv4-only and dual-stack lighthouse/client/mobile bundle branches pass Nebula configuration tests using disposable credentials. Router's installed binary validates a dual-address certificate and the IPv6 firewall renders the expected echo-request rule.
Remaining integration includes host-by-host certificate provisioning, IPv6 hostname/DNS records, IPv6-capable NixOS listeners/configuration, reachable stable IPv6 lighthouse bootstrap endpoints, and genuine IPv4+IPv6 connectivity/relay canaries. Router service and WAN ingress remain disabled pending real credentials. IPv4 mobile full-tunnel routes remain as configured; IPv6 mesh addressing and IPv6 internet exit routing are separate capabilities.
Integrate router mesh roles and validate client fallbackto Wire reusable dual-stack mesh and router exit configurationShared NixOS wiring now prepared: dual-stack listen.host=[::], static_map.network=ip, confirmed router/phone IPv4 and IPv6 hosts metadata, and CoreDNS AAAA records. routerBootstrapAddresses opts each host into router discovery/relay alongside VPS without baking dynamic public endpoints into fleet defaults. Removed phantom Vega lighthouse metadata; lighthouses do not register via other lighthouses, and relay nodes do not list other relays. Vega exitNode remains disabled in source while its resolver is retained.
Validation: full nix flake check passes. Evaluated ordinary client, router opt-in, lighthouse, and relay configurations. Ran the actual generated CoreDNS configuration on a temporary loopback port on Vega and verified router/phone AAAA plus Electra A queries; test process removed afterward. Existing upstream platform deprecation warnings reviewed.
Source wiring is distinct from live deployment. Public endpoint/DDNS work remains #306/#292; per-host certificate and activation issues remain open. Awaiting authenticated Vega activation; no publication/merge claimed.
Per user preference, moved the one-shot router setup source from nebula/openwrt/ and both Nebula regression tests into /home/nimmo/Projects/router-nebula (openwrt/ and tests/). Added a local README and private-key/bundle exclusions; no Git/Forgejo repository has been created yet. Tests accept the nixos-config repository path and continue to exercise its shared provisioning/bundle recipes rather than duplicating them. Both regression suites, ShellCheck, and shell syntax validation pass from the new location. Public certificates, encrypted secrets, shared Just recipes and NixOS wiring remain in nixos-config. README ownership references updated; the router's live installed configuration is unaffected.
MR #307 is merged into main with the full dual-stack wiring, paired credentials, retirement blocklists and reviewed provisioning/export fixes. The final code review reports Ready to merge; final CI at documentation-only head
50a3e7cpassed. That final head's advisory review was waiting for a runner; main has no required status/approval gates. User explicitly authorized merge after valid findings were addressed.The reissue/old-certificate distinction is documented and Vega's superseded exit fingerprint retirement is now explicit in #297. Do not treat this merge as fleet-wide revocation or live deployment acceptance: Vega/Lyra/Lena activation, persistence/no-op checks, service/relay evidence and IPv6 internet follow-ups remain in milestone 32. Host and retirement issues remain open.
Closing the completed shared-source deliverable after the open-issue audit. Every checklist item is complete, and MR #307 is merged into main. Its final review/CI and merge evidence are recorded in the existing issue comments. Current source contains the dual-stack configuration, paired credential handling, router/phone bundle support, and retired-identity blocklists.
This closure covers source wiring only. Host deployment/relay/persistence acceptance remains in #292, #295–#305; public router IPv6 bootstrap and phone IPv6 egress remain in #306; the additional resolver/self-resolution work remains in #310.