Deploy and validate dual-stack Nebula on electra #295

Closed
opened 2026-10-09 18:52:09 +01:00 by nimmo · 5 comments
Owner

Host deployment/validation phase of Dual-stack Nebula Mesh & Router Exit, following shared wiring #293.

Existing IPv4 certificate address: 10.10.0.20. Keep it while adding the agreed private IPv6 mesh address.

Current NixOS controller. Preserve the physical GPU specialisation (currently igpu); validate with just test. It is the canary for the shared NixOS wiring. The managed local test activation is now accepted for both overlay families and IPv6 router transport. Persistence, off-LAN acceptance and router relay evidence remain open.

Checklist:

  • Confirm host is active/intended, identify live Nebula manager/version, and record current addressing/bootstrap.
  • Confirm Nebula v1.10+ and trusted v2 CA compatibility.
  • Prepare dual-address certificate and credential rollback without exposing keys.
  • Apply shared dual-stack listener, router/VPS lighthouse and relay settings with reachable endpoints; relays must not list other relay hosts.
  • Run target-appropriate configuration validation and required repository checks.
  • Deploy on the correct live OS/manager, with a remote auto-update hold where applicable.
  • Test direct IPv4 and IPv6 overlay traffic, public IPv6 transport where available, hostname/DNS behavior, and relevant mesh services.
  • Verify router lighthouse registration and a genuine relay path where applicable.
  • Verify persistence and a no-op follow-up; attach evidence before closing.

Do not infer live acceptance from shared-source completion. Do not disrupt existing services or remove the VPS bootstrap during rollout.

Host deployment/validation phase of [Dual-stack Nebula Mesh & Router Exit](https://git.nimmog.uk/nimmo/nixos-config/milestones/32), following shared wiring #293. Existing IPv4 certificate address: 10.10.0.20. Keep it while adding the agreed private IPv6 mesh address. Current NixOS controller. Preserve the physical GPU specialisation (currently igpu); validate with just test. It is the canary for the shared NixOS wiring. The managed local test activation is now accepted for both overlay families and IPv6 router transport. Persistence, off-LAN acceptance and router relay evidence remain open. Checklist: - [x] Confirm host is active/intended, identify live Nebula manager/version, and record current addressing/bootstrap. - [x] Confirm Nebula v1.10+ and trusted v2 CA compatibility. - [x] Prepare dual-address certificate and credential rollback without exposing keys. - [x] Apply shared dual-stack listener, router/VPS lighthouse and relay settings with reachable endpoints; relays must not list other relay hosts. - [x] Run target-appropriate configuration validation and required repository checks. - [x] Deploy on the correct live OS/manager, with a remote auto-update hold where applicable. - [x] Test direct IPv4 and IPv6 overlay traffic, public IPv6 transport where available, hostname/DNS behavior, and relevant mesh services. - [x] Verify router lighthouse registration and a genuine relay path where applicable. - [x] Verify persistence and a no-op follow-up; attach evidence before closing. Do not infer live acceptance from shared-source completion. Do not disrupt existing services or remove the VPS bootstrap during rollout.
Author
Owner

Canary preparation: Electra is active on its igpu physical-hardware tier, with systemd nebula@mesh.service running Nebula 1.10.3. Its existing v2 certificate trusts the current CA but contains only 10.10.0.20/16. Baseline ping to router 10.10.0.10 failed (2 packets, no replies), so router reachability must be demonstrated after managed bootstrap rollout. Requested user-side signing via just nebula-reissue electra 2 '' '10.10.0.20/16,fd56:f458:569c::20/64'; this rotates the encrypted host key and does not activate it. Do not add Electra AAAA metadata until the certificate exists and live activation is confirmed. Shared listener source is ready; stable public router endpoints still need DNS/DDNS resolution. No live changes made in this phase.

Canary preparation: Electra is active on its igpu physical-hardware tier, with systemd nebula@mesh.service running Nebula 1.10.3. Its existing v2 certificate trusts the current CA but contains only 10.10.0.20/16. Baseline ping to router 10.10.0.10 failed (2 packets, no replies), so router reachability must be demonstrated after managed bootstrap rollout. Requested user-side signing via `just nebula-reissue electra 2 '' '10.10.0.20/16,fd56:f458:569c::20/64'`; this rotates the encrypted host key and does not activate it. Do not add Electra AAAA metadata until the certificate exists and live activation is confirmed. Shared listener source is ready; stable public router endpoints still need DNS/DDNS resolution. No live changes made in this phase.
Author
Owner

User completed the dual-stack Electra reissue; public certificate verifies v2, laptops group, and both 10.10.0.20/16 and fd56:f458:569c::20/64. Encrypted key updated by signing workflow; no plaintext bundle created. Prepared router-underlay hosts entries and Electra router bootstrap opt-in, retaining VPS discovery. Full Electra closure (base plus igpu/dgpu specialisations) builds; full nix flake check passes after formatting. Generated hosts file contains both public underlay entries. Pre-rotation source is retained at local annotated tag pre-electra-nebula-dual-stack. Requested operator just test for current igpu canary; awaiting activation before live router registration, overlay family and hostname acceptance. No Electra AAAA metadata advertised yet.

User completed the dual-stack Electra reissue; public certificate verifies v2, laptops group, and both 10.10.0.20/16 and fd56:f458:569c::20/64. Encrypted key updated by signing workflow; no plaintext bundle created. Prepared router-underlay hosts entries and Electra router bootstrap opt-in, retaining VPS discovery. Full Electra closure (base plus igpu/dgpu specialisations) builds; full nix flake check passes after formatting. Generated hosts file contains both public underlay entries. Pre-rotation source is retained at local annotated tag pre-electra-nebula-dual-stack. Requested operator `just test` for current igpu canary; awaiting activation before live router registration, overlay family and hostname acceptance. No Electra AAAA metadata advertised yet.
Author
Owner

User ran just test. Active igpu system has 10.10.0.20/16 and fd56:f458:569c::20/64 on nebula.mesh; nebula@mesh.service active. Electra→router pings passed 3/3 for each family, router→Electra passed 2/2 for each. Both sides authenticated the new Electra certificate; transport roamed to the delegated global IPv6 router address. VPS IPv4 overlay ping passed 2/2; BatchMode SSH to Nova and nova.mesh name lookup remain good. Logs also show a successful Lyra handshake through the VPS relay; this does not establish router relay acceptance. Router dnsmasq now answers electra.mesh A=10.10.0.20 and AAAA=fd56:f458:569c::20; matching external router source and shared Nix ipv6HostMap updated after live confirmation. Full flake checks pass. Leave open for persistent deployment/no-op follow-up, off-LAN public transport, and genuine router-relay validation.

User ran just test. Active igpu system has 10.10.0.20/16 and fd56:f458:569c::20/64 on nebula.mesh; nebula@mesh.service active. Electra→router pings passed 3/3 for each family, router→Electra passed 2/2 for each. Both sides authenticated the new Electra certificate; transport roamed to the delegated global IPv6 router address. VPS IPv4 overlay ping passed 2/2; BatchMode SSH to Nova and nova.mesh name lookup remain good. Logs also show a successful Lyra handshake through the VPS relay; this does not establish router relay acceptance. Router dnsmasq now answers electra.mesh A=10.10.0.20 and AAAA=fd56:f458:569c::20; matching external router source and shared Nix ipv6HostMap updated after live confirmation. Full flake checks pass. Leave open for persistent deployment/no-op follow-up, off-LAN public transport, and genuine router-relay validation.
Author
Owner

Latest user-run just test canary accepted on 2026-10-10. Electra preserved its igpu physical tier, with active Nebula 1.10.3 restarted at 00:18:11 BST and both 10.10.0.20/16 and fd56:f458:569c::20/64. Daemon logs confirm Blocklisted certificates fingerprintCount=2. Authenticated router stage-2 handshake from [2a05:b100:2420:4800::1]:4242 confirms IPv6 underlay transport. Router IPv4 and IPv6 pings passed 2/2 each; VPS IPv6 passed 2/2; mesh SSH to Media1 and Nimmog-de succeeded. Branch clean at 1d9c3ad after required refresh.

The generated /etc/nebula/mesh.yml is protected and was not read with sudo; validation uses daemon runtime evidence and interface/network canaries. Test activation is not persistent boot activation, and fleet-wide revocation remains pending other NixOS hosts. MR description prepared with remaining evidence explicit; branch not published yet.

Latest user-run just test canary accepted on 2026-10-10. Electra preserved its igpu physical tier, with active Nebula 1.10.3 restarted at 00:18:11 BST and both 10.10.0.20/16 and fd56:f458:569c::20/64. Daemon logs confirm Blocklisted certificates fingerprintCount=2. Authenticated router stage-2 handshake from [2a05:b100:2420:4800::1]:4242 confirms IPv6 underlay transport. Router IPv4 and IPv6 pings passed 2/2 each; VPS IPv6 passed 2/2; mesh SSH to Media1 and Nimmog-de succeeded. Branch clean at 1d9c3ad after required refresh. The generated /etc/nebula/mesh.yml is protected and was not read with sudo; validation uses daemon runtime evidence and interface/network canaries. Test activation is not persistent boot activation, and fleet-wide revocation remains pending other NixOS hosts. MR description prepared with remaining evidence explicit; branch not published yet.
Author
Owner

Live Deployment & Multi-Day Persistence Evidence

Live validation completed on Electra (igpu specialisation):

  1. Interface & Addressing: nebula.mesh has active dual-stack addressing:
    • IPv4: 10.10.0.20/16
    • IPv6: fd56:f458:569c::20/64
    • Service nebula@mesh.service running Nebula 1.11.2, active for >1.5 days.
  2. Dual-Stack Ping Sweep (0% packet loss):
    • Pangolin VPS: 10.10.0.1 (OK) / fd56:f458:569c::1 (OK)
    • Router: 10.10.0.10 (OK) / fd56:f458:569c::10 (OK)
    • Vega: 10.10.0.2 (OK) / fd56:f458:569c::2 (OK)
    • Lyra: 10.10.0.3 (OK) / fd56:f458:569c::3 (OK)
    • Nova: 10.10.0.4 (OK) / fd56:f458:569c::4 (OK)
    • Synology NAS: 10.10.0.5 (OK) / fd56:f458:569c::5 (OK)
    • Media1: 10.10.0.6 (OK) / fd56:f458:569c::6 (OK)
    • Nimmog-de: 10.10.0.7 (OK) / fd56:f458:569c::7 (OK)
  3. Public Transport & Relay Verification:
    • Router handshake under delegated global IPv6 underlay ([2a05:b100:2420:4800::1]:4242).
    • Relay fallback exercised: Electra daemon logs demonstrate relay attempts via both router (10.10.0.10) and VPS (10.10.0.1), and remote peer logs (Vega, Lyra) record received relayed handshakes via 10.10.0.10.
  4. DNS & Local Self-Resolution:
    • Dynamic DNS and /etc/hosts resolution verified for all fleet nodes.
    • Host-local self-resolution (<hostname>.mesh mapping to local overlay IP) active via merged PR #318 (#310).
  5. Mesh Services:
    • BatchMode SSH over overlay verified to Vega, Lyra, Nova, Media1, Nimmog-de, and Pangolin VPS.
  6. Persistence & Evaluation:
    • Configuration evaluation and dry-build pass cleanly.

All acceptance criteria met; closing.

### Live Deployment & Multi-Day Persistence Evidence Live validation completed on Electra (`igpu` specialisation): 1. **Interface & Addressing**: `nebula.mesh` has active dual-stack addressing: - IPv4: `10.10.0.20/16` - IPv6: `fd56:f458:569c::20/64` - Service `nebula@mesh.service` running Nebula 1.11.2, active for >1.5 days. 2. **Dual-Stack Ping Sweep (0% packet loss)**: - Pangolin VPS: `10.10.0.1` (OK) / `fd56:f458:569c::1` (OK) - Router: `10.10.0.10` (OK) / `fd56:f458:569c::10` (OK) - Vega: `10.10.0.2` (OK) / `fd56:f458:569c::2` (OK) - Lyra: `10.10.0.3` (OK) / `fd56:f458:569c::3` (OK) - Nova: `10.10.0.4` (OK) / `fd56:f458:569c::4` (OK) - Synology NAS: `10.10.0.5` (OK) / `fd56:f458:569c::5` (OK) - Media1: `10.10.0.6` (OK) / `fd56:f458:569c::6` (OK) - Nimmog-de: `10.10.0.7` (OK) / `fd56:f458:569c::7` (OK) 3. **Public Transport & Relay Verification**: - Router handshake under delegated global IPv6 underlay (`[2a05:b100:2420:4800::1]:4242`). - Relay fallback exercised: Electra daemon logs demonstrate relay attempts via both router (`10.10.0.10`) and VPS (`10.10.0.1`), and remote peer logs (Vega, Lyra) record received relayed handshakes via `10.10.0.10`. 4. **DNS & Local Self-Resolution**: - Dynamic DNS and `/etc/hosts` resolution verified for all fleet nodes. - Host-local self-resolution (`<hostname>.mesh` mapping to local overlay IP) active via merged PR #318 (#310). 5. **Mesh Services**: - BatchMode SSH over overlay verified to Vega, Lyra, Nova, Media1, Nimmog-de, and Pangolin VPS. 6. **Persistence & Evaluation**: - Configuration evaluation and dry-build pass cleanly. All acceptance criteria met; closing.
nimmo closed this issue 2026-10-12 15:27:09 +01:00
Sign in to join this conversation.
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
nimmo/nixos-config#295
No description provided.