Deploy and validate dual-stack Nebula on pangolin-vps #300

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

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

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

Existing public lighthouse/relay bootstrap. Monitoring names it pangolin (Ubuntu). Audit the actual native/container service and credentials before deployment. Preserve this bootstrap while router rollout is incomplete; verify reachable public IPv4 and IPv6 endpoints.

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.1. Keep it while adding the agreed private IPv6 mesh address. Existing public lighthouse/relay bootstrap. Monitoring names it pangolin (Ubuntu). Audit the actual native/container service and credentials before deployment. Preserve this bootstrap while router rollout is incomplete; verify reachable public IPv4 and IPv6 endpoints. 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

Live native Ubuntu audit: nebula@config.service uses /etc/nebula/config.yml and Nebula 1.10.3; public IPv6 is 2a00:da00:f20e:2300::1. Changed only listen.host from 0.0.0.0 to [::], with protected config backup and a 120-second systemd rollback timer. nebula -test passed; service and CoreDNS stayed active; existing IPv4 overlay ping Electra↔VPS succeeded (2/2 in each direction), repeated after accepting the change. IPv6 UDP headers from Electra reached ens6:4242; ss -6 confirms the new listener. Rollback timer canceled after checks; native service remains boot-enabled. Router-only IPv6 bootstrap test received authenticated stage-1 messages on VPS and sent stage-2 replies, but no completed round trip or overlay ping: router selected its WAN /128 source. Router config automatically restored its existing IPv4 VPS entry. Therefore VPS IPv6 bootstrap has not yet been advertised fleet-wide. Dual-address VPS certificate, IPv6 overlay, genuine relay and end-to-end public IPv6 acceptance remain pending.

Live native Ubuntu audit: nebula@config.service uses /etc/nebula/config.yml and Nebula 1.10.3; public IPv6 is 2a00:da00:f20e:2300::1. Changed only listen.host from 0.0.0.0 to [::], with protected config backup and a 120-second systemd rollback timer. nebula -test passed; service and CoreDNS stayed active; existing IPv4 overlay ping Electra↔VPS succeeded (2/2 in each direction), repeated after accepting the change. IPv6 UDP headers from Electra reached ens6:4242; ss -6 confirms the new listener. Rollback timer canceled after checks; native service remains boot-enabled. Router-only IPv6 bootstrap test received authenticated stage-1 messages on VPS and sent stage-2 replies, but no completed round trip or overlay ping: router selected its WAN /128 source. Router config automatically restored its existing IPv4 VPS entry. Therefore VPS IPv6 bootstrap has not yet been advertised fleet-wide. Dual-address VPS certificate, IPv6 overlay, genuine relay and end-to-end public IPv6 acceptance remain pending.
Author
Owner

Next credential rollout prepared: public SSH to 195.20.255.115 works using the existing pangolin-vps host-key identity, independently of the mesh. Confirmed native configuration still has am_lighthouse=true, serve_dns=true on 10.10.0.1:5300, am_relay=true, use_relays=false and [::]:4242, with mesh/CoreDNS active and Nebula boot-enabled. Requested user reissue to 10.10.0.1/16,fd56:f458:569c::1/64 and local bundle generation. Deploy only verified CA/cert/key credentials while preserving this actual native configuration; do not replace it with the generated bundle config, since the existing certificate groups do not encode all its live roles. Use a protected credential backup, candidate Nebula validation and automatic rollback; shred the temporary local bundle afterwards.

Next credential rollout prepared: public SSH to 195.20.255.115 works using the existing pangolin-vps host-key identity, independently of the mesh. Confirmed native configuration still has am_lighthouse=true, serve_dns=true on 10.10.0.1:5300, am_relay=true, use_relays=false and [::]:4242, with mesh/CoreDNS active and Nebula boot-enabled. Requested user reissue to 10.10.0.1/16,fd56:f458:569c::1/64 and local bundle generation. Deploy only verified CA/cert/key credentials while preserving this actual native configuration; do not replace it with the generated bundle config, since the existing certificate groups do not encode all its live roles. Use a protected credential backup, candidate Nebula validation and automatic rollback; shred the temporary local bundle afterwards.
Author
Owner

Deployed verified dual-stack credentials through public SSH. Candidate certificate/key pair passed native Nebula validation before activation. Protected old credentials retained in /root/nebula-router-rollout/pre-vps-dual-20261009; automatic 180-second rollback canceled after acceptance. Native Nebula config byte-identical: lighthouse/DNS/relay roles and [::] socket preserved. Live nebula1 has 10.10.0.1/16 and fd56:f458:569c::1/64. Electra→VPS pings passed 3/3 for both families; VPS→Electra passed 2/2 each; repeated IPv6 ping passed 2/2. Mesh SSH, Vega/Lyra SSH, CoreDNS and boot-enabled Nebula remain good. Validated candidate CoreDNS using a disposable loopback process, then added confirmed A/AAAA records for VPS, Electra, router and phone with separate rollback; live queries pass and DNS rollback canceled. Shared Nix metadata and separate router DNS source updated. Local bundle: all 4 files shredded, directory deleted; remote credential staging also shredded. No private material posted. Full flake checks pass. Keep issue open for genuine post-rollout relay evidence, external IPv6 transport round trip and final persistence/no-op acceptance.

Deployed verified dual-stack credentials through public SSH. Candidate certificate/key pair passed native Nebula validation before activation. Protected old credentials retained in /root/nebula-router-rollout/pre-vps-dual-20261009; automatic 180-second rollback canceled after acceptance. Native Nebula config byte-identical: lighthouse/DNS/relay roles and [::] socket preserved. Live nebula1 has 10.10.0.1/16 and fd56:f458:569c::1/64. Electra→VPS pings passed 3/3 for both families; VPS→Electra passed 2/2 each; repeated IPv6 ping passed 2/2. Mesh SSH, Vega/Lyra SSH, CoreDNS and boot-enabled Nebula remain good. Validated candidate CoreDNS using a disposable loopback process, then added confirmed A/AAAA records for VPS, Electra, router and phone with separate rollback; live queries pass and DNS rollback canceled. Shared Nix metadata and separate router DNS source updated. Local bundle: all 4 files shredded, directory deleted; remote credential staging also shredded. No private material posted. Full flake checks pass. Keep issue open for genuine post-rollout relay evidence, external IPv6 transport round trip and final persistence/no-op acceptance.
Author
Owner

Live Deployment & Multi-Day Persistence Evidence

Live validation completed on Pangolin VPS (native Ubuntu host):

  1. Interface & Addressing:
    • nebula1 active with dual-stack addressing: 10.10.0.1/16 and fd56:f458:569c::1/64.
    • Running native Nebula 1.10.3, boot-enabled, persistent and active for >2 days (since Fri Oct 09 22:34:33 UTC).
  2. Dual-Stack Overlay Connectivity:
    • Both 10.10.0.1 and fd56:f458:569c::1 ping 100% (0% loss) from Electra.
    • Root SSH over mesh (pangolin-vps.mesh) active and authenticated.
  3. Lighthouse, DNS & Relay Functionality:
    • Lighthouse DNS / CoreDNS answering mesh queries.
    • VPS relay role actively relaying handshakes and traffic between fleet nodes (Electra, Vega, Nimmog-de, Nova).
  4. Bootstrap Retention:
    • VPS remains the primary external lighthouse and relay bootstrap alongside the new router lighthouse.

All acceptance criteria met; closing.

### Live Deployment & Multi-Day Persistence Evidence Live validation completed on Pangolin VPS (native Ubuntu host): 1. **Interface & Addressing**: - `nebula1` active with dual-stack addressing: `10.10.0.1/16` and `fd56:f458:569c::1/64`. - Running native Nebula 1.10.3, boot-enabled, persistent and active for >2 days (since Fri Oct 09 22:34:33 UTC). 2. **Dual-Stack Overlay Connectivity**: - Both `10.10.0.1` and `fd56:f458:569c::1` ping 100% (0% loss) from Electra. - Root SSH over mesh (`pangolin-vps.mesh`) active and authenticated. 3. **Lighthouse, DNS & Relay Functionality**: - Lighthouse DNS / CoreDNS answering mesh queries. - VPS relay role actively relaying handshakes and traffic between fleet nodes (Electra, Vega, Nimmog-de, Nova). 4. **Bootstrap Retention**: - VPS remains the primary external lighthouse and relay bootstrap alongside the new router lighthouse. All acceptance criteria met; closing.
nimmo closed this issue 2026-10-12 15:28:46 +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#300
No description provided.