Four WireGuard networks and internal names (ADR 0006) #1

Merged
oliver.maklott merged 3 commits from wireguard-networks into main 2026-11-29 04:00:50 +01:00

Milestone 3: admin (anchor), services (IdP), monitoring and backup networks, each with its own interface, port and range; only the admin hub forwards, by peer role. CoreDNS on the anchor answers internal_zone through the tunnel (no public records for internal names). The IdP becomes the services hub; hypervisors join every network they have a member document in. Schemas, examples, docs and scenarios follow the new layout.

Pins belowtoxic.networking 0.4.0 and belowtoxic.openbao 0.7.0. infractl comes from its wireguard-networks branch until 0.5.0 is released; the pin moves to v0.5.0 before merge.

🤖 Generated with Claude Code

https://claude.ai/code/session_01PVUe4g65L7UnUVqHmQp7kG

Milestone 3: admin (anchor), services (IdP), monitoring and backup networks, each with its own interface, port and range; only the admin hub forwards, by peer role. CoreDNS on the anchor answers `internal_zone` through the tunnel (no public records for internal names). The IdP becomes the services hub; hypervisors join every network they have a member document in. Schemas, examples, docs and scenarios follow the new layout. Pins belowtoxic.networking 0.4.0 and belowtoxic.openbao 0.7.0. infractl comes from its `wireguard-networks` branch until 0.5.0 is released; the pin moves to v0.5.0 before merge. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01PVUe4g65L7UnUVqHmQp7kG
Four WireGuard networks and internal names (ADR 0006)
All checks were successful
ci / test (pull_request) Successful in 10s
ci / lint (pull_request) Successful in 23s
ci / molecule (pull_request) Has been skipped
587754dd6a
ADR 0006: admin (the anchor), services (the IdP), monitoring and backup
(their hubs in later milestones), each with its own interface, port and
range; only the admin hub forwards, by peer role (phones: SSH and web,
not OpenBao's API; nothing opens a connection to a client).

* Intent: wireguard/<network>/<member>.yml, global.yml wireguard.<network>
  (all four ranges reserved), internal_zone; member role (operator,
  mobile). Schemas, examples (a phone, the services hub) and docs.
* playbooks/group_vars/all.yml: the per-network table (wireguard_networks).
* anchor.yml: the admin network, nftables by role, CoreDNS on the hub's
  tunnel addresses answering internal_zone (members, OpenBao's name) -
  no public DNS records for internal names any more.
* idp.yml: with wireguard.services, the IdP is its hub (key on the data
  partition, recorded in the local intent, UDP port in both firewalls).
* hypervisor.yml: a site of every network it has a member document in.
* Scenarios: the new layout; the anchor scenario checks CoreDNS through the
  tunnel and that it listens on the hub's addresses only; the identity
  scenario runs the services hub.
* belowtoxic.networking 0.4.0 (planner, coredns), belowtoxic.openbao 0.7.0
  (infra_wireguard per network). infractl from its wireguard-networks
  branch until 0.5.0 is released.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PVUe4g65L7UnUVqHmQp7kG
Pin infractl v0.5.0
Some checks failed
ci / test (pull_request) Successful in 8s
ci / lint (pull_request) Successful in 2m45s
ci / molecule (pull_request) Failing after 27m31s
e4724a56b4
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PVUe4g65L7UnUVqHmQp7kG
site scenario: the WireGuard rule names its network now
All checks were successful
ci / lint (pull_request) Successful in 34s
ci / test (pull_request) Successful in 9s
ci / molecule (pull_request) Successful in 24m26s
ci / test (push) Successful in 7s
ci / lint (push) Successful in 23s
ci / molecule (push) Successful in 21m31s
e026bf7c91
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PVUe4g65L7UnUVqHmQp7kG
oliver.maklott deleted branch wireguard-networks 2026-11-29 04:00:50 +01:00
Sign in to join this conversation.
No reviewers
No labels
test:kvm
No milestone
No project
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
belowtoxic-ansible/infrastructure!1
No description provided.