Deploy and validate dual-stack Nebula on media1 #303

Closed
opened 2026-10-09 18:55:20 +01:00 by nimmo · 3 comments
Owner

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

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

Although its NixOS reference is superseded, live monitoring currently reports an online Debian host. Confirm it is still an intended mesh member before rollout. Do not deploy the legacy potential/media1 NixOS draft.

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.6. Keep it while adding the agreed private IPv6 mesh address. Although its NixOS reference is superseded, live monitoring currently reports an online Debian host. Confirm it is still an intended mesh member before rollout. Do not deploy the legacy potential/media1 NixOS draft. 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

Non-NixOS revocation pass completed for servers/router before proceeding with further host migrations. User provided authenticated root tmux shells on nimmog-de and media1. Both native /etc/nebula/config.yml files received the two retired fingerprints and disconnect_invalid=true; existing node CA/certificate/key, overlay addresses, bootstrap and firewall settings preserved. Validated with the installed /usr/local/bin/nebula -test before HUP reload of nebula@config.service. Processes remain active; local Electra IPv4 overlay canaries passed. Public config snapshots saved outside nixos-config under ~/Projects/router-nebula/hosts/{nimmog-de,media1}.yml.

Router, Nova, mass-storage and pangolin-vps existing persisted lists were rechecked, with daemon logs confirming Blocklisted certificates; VPS retained three unrelated revocations. No certificates reissued. Android remains pending: current upstream rawConfig YAML importer and renderer preserve arbitrary PKI blocklist fields, but installed app version and imported/runtime config still require user-side verification. Asked for an updated bundle using the existing phone certificate/key, not a certificate reissue. No further migration step started.

Non-NixOS revocation pass completed for servers/router before proceeding with further host migrations. User provided authenticated root tmux shells on nimmog-de and media1. Both native /etc/nebula/config.yml files received the two retired fingerprints and disconnect_invalid=true; existing node CA/certificate/key, overlay addresses, bootstrap and firewall settings preserved. Validated with the installed /usr/local/bin/nebula -test before HUP reload of nebula@config.service. Processes remain active; local Electra IPv4 overlay canaries passed. Public config snapshots saved outside nixos-config under ~/Projects/router-nebula/hosts/{nimmog-de,media1}.yml. Router, Nova, mass-storage and pangolin-vps existing persisted lists were rechecked, with daemon logs confirming Blocklisted certificates; VPS retained three unrelated revocations. No certificates reissued. Android remains pending: current upstream rawConfig YAML importer and renderer preserve arbitrary PKI blocklist fields, but installed app version and imported/runtime config still require user-side verification. Asked for an updated bundle using the existing phone certificate/key, not a certificate reissue. No further migration step started.
Author
Owner

Native Debian 13 deployment completed with installed Nebula 1.10.3 and nebula@config.service. New v2 certificate contains 10.10.0.6/16 and fd56:f458:569c::6/64, servers group, no unsafe route authority. Actual CA/certificate/key/config validated before activation. Root-only rollback backup retained at /root/nebula-router-rollout/pre-media1-dual-20261009; timed rollback cancelled after acceptance. Private staging and temporary local bundle shredded/deleted. Service active, boot-enabled, final config test passes and overlay SSH succeeds.

New native config preserves retired-host blocklist; adds [::] listener, static_map.network=ip, IPv6 mesh firewall and router/VPS lighthouse+relay bootstrap. Electra IPv4/IPv6 3/3 each; VPS IPv4/IPv6 connectivity passed (nimmog-de IPv6 2/2, Media1 both 2/2). Authenticated router handshake observed under IPv4 transport; no unsupported claim of public IPv6 transport or forced relay-only data acceptance. Newly confirmed AAAA records added to shared source, router dedicated mesh DNS hosts file and live VPS CoreDNS; isolated candidate and live A/AAAA tests passed. Source committed locally as 1d9c3ad, full flake check passed, upstream stdenv deprecation warnings assessed unrelated; not published.

User clarified non-NixOS OS /etc/hosts must not be managed. Rollout-added router-underlay entries were removed while preserving pre-existing/unrelated entries. Final native configs use both literal public router endpoints instead. Connectivity retested successfully after correction. Public configs remain in ~/Projects/router-nebula/hosts/. Further host-specific service/transport/relay acceptance stays tracked; certificate reissuance is complete.

Native Debian 13 deployment completed with installed Nebula 1.10.3 and nebula@config.service. New v2 certificate contains 10.10.0.6/16 and fd56:f458:569c::6/64, servers group, no unsafe route authority. Actual CA/certificate/key/config validated before activation. Root-only rollback backup retained at /root/nebula-router-rollout/pre-media1-dual-20261009; timed rollback cancelled after acceptance. Private staging and temporary local bundle shredded/deleted. Service active, boot-enabled, final config test passes and overlay SSH succeeds. New native config preserves retired-host blocklist; adds [::] listener, static_map.network=ip, IPv6 mesh firewall and router/VPS lighthouse+relay bootstrap. Electra IPv4/IPv6 3/3 each; VPS IPv4/IPv6 connectivity passed (nimmog-de IPv6 2/2, Media1 both 2/2). Authenticated router handshake observed under IPv4 transport; no unsupported claim of public IPv6 transport or forced relay-only data acceptance. Newly confirmed AAAA records added to shared source, router dedicated mesh DNS hosts file and live VPS CoreDNS; isolated candidate and live A/AAAA tests passed. Source committed locally as 1d9c3ad, full flake check passed, upstream stdenv deprecation warnings assessed unrelated; not published. User clarified non-NixOS OS /etc/hosts must not be managed. Rollout-added router-underlay entries were removed while preserving pre-existing/unrelated entries. Final native configs use both literal public router endpoints instead. Connectivity retested successfully after correction. Public configs remain in ~/Projects/router-nebula/hosts/. Further host-specific service/transport/relay acceptance stays tracked; certificate reissuance is complete.
Author
Owner

Live Deployment & Multi-Day Persistence Evidence

Live validation completed on media1 (native Debian 13 host):

  1. Interface & Addressing:
    • nebula1 active with dual-stack addresses: 10.10.0.6/16 and fd56:f458:569c::6/64.
    • Running native Nebula 1.10.3, boot-enabled, persistent and active for >2 days (since Fri Oct 09 23:52:02 BST).
  2. Dual-Stack Mesh Connectivity:
    • Both 10.10.0.6 and fd56:f458:569c::6 ping 100% (0% loss) from Electra.
    • Mesh SSH (media1 / media1.mesh) active and authenticated.
  3. Relay & Lighthouse Evidence:
    • Router and VPS lighthouse registration established with literal endpoints.
    • Relayed communications via VPS relay (10.10.0.1) recorded in live logs.
  4. Configuration Integrity:
    • Retired-host certificates blocklist enforced.
    • Non-NixOS OS /etc/hosts policy maintained.

All acceptance criteria met; closing.

### Live Deployment & Multi-Day Persistence Evidence Live validation completed on media1 (native Debian 13 host): 1. **Interface & Addressing**: - `nebula1` active with dual-stack addresses: `10.10.0.6/16` and `fd56:f458:569c::6/64`. - Running native Nebula 1.10.3, boot-enabled, persistent and active for >2 days (since Fri Oct 09 23:52:02 BST). 2. **Dual-Stack Mesh Connectivity**: - Both `10.10.0.6` and `fd56:f458:569c::6` ping 100% (0% loss) from Electra. - Mesh SSH (`media1` / `media1.mesh`) active and authenticated. 3. **Relay & Lighthouse Evidence**: - Router and VPS lighthouse registration established with literal endpoints. - Relayed communications via VPS relay (`10.10.0.1`) recorded in live logs. 4. **Configuration Integrity**: - Retired-host certificates blocklist enforced. - Non-NixOS OS `/etc/hosts` policy maintained. All acceptance criteria met; closing.
nimmo closed this issue 2026-10-12 15:29:48 +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#303
No description provided.