Network and Access Topology
- Type: Reference
- Status: Current
- Scope: Fleet network paths, naming, listeners, and access boundaries
- Canonical sources:
modules/networking/nebula.nix,modules/services/newt.nix, host firewall declarations, service listener options, and container network declarations- Last verified: Source commit
2fb8e9cba9ce0ca41b00f4c1c6e59c5336b3a023(2026-10-14); Newt client list corrected against the registered host compositions- Review triggers: Nebula address or lighthouse changes, DNS changes, listener/firewall changes, Pangolin/Newt routing changes, Docker-network changes, VPN changes, or service moves
This page describes how traffic crosses the fleet. The Service Catalogue owns individual endpoints and authentication; this page owns the route classes and their trust boundaries.
Topology at a glance
Public clients
|
| HTTPS / public DNS
v
Pangolin (external) <---- outbound Newt tunnels ---- Vega / Lyra
| |
| `-- loopback or private
`-- selected public routes Docker targets
Paseo clients ---- TLS to code.nimmog.uk:443 ---- public relay route
`-- Vega relay target
`-- registered daemons
public VPS (10.10.0.1 / fd56:f458:569c::1)
primary lighthouse + public relay
|
encrypted dual-stack overlay (10.10.0.0/16, fd56:f458:569c::/64)
+--------------+----------+-----------+------------+
| | | | |
laptops Vega CoreDNS Lyra Nova Router (10.10.0.10 /
(Electra/Lena) resolver GPU/media builder/host fd56:f458:569c::10)
|-- secondary lighthouse
|-- mesh relay
`-- IPv4/IPv6 exit node
|
external phone /
mesh exit traffic
Pangolin, the public VPS, public DNS, the NAS, and Proxmox are external dependencies. This repository configures the fleet side of their relationships but cannot prove the external side from Nix evaluation alone.
Nebula mesh
All registered hosts join the mesh Nebula network. The repository also
reserves names for external or staged members.
| Name | IPv4 overlay | IPv6 overlay | Repository status or role |
|---|---|---|---|
pangolin-vps |
10.10.0.1 |
fd56:f458:569c::1 |
External public lighthouse and relay |
vega |
10.10.0.2 |
fd56:f458:569c::2 |
Managed server, CoreDNS resolver (exit role retired) |
lyra |
10.10.0.3 |
fd56:f458:569c::3 |
Managed GPU/media server |
nova |
10.10.0.4 |
fd56:f458:569c::4 |
Staged NixOS target / remote builder |
mass-storage |
10.10.0.5 |
fd56:f458:569c::5 |
External NAS dependency |
media1 |
10.10.0.6 |
fd56:f458:569c::6 |
External member |
nimmog-de |
10.10.0.7 |
fd56:f458:569c::7 |
External member |
router |
10.10.0.10 |
fd56:f458:569c::10 |
Physical router: secondary lighthouse, relay, and dual-stack exit node |
electra |
10.10.0.20 |
fd56:f458:569c::20 |
Managed laptop (Framework 16) |
lena |
10.10.0.21 |
fd56:f458:569c::21 |
Managed laptop (IdeaPad) |
phone |
10.10.0.30 |
fd56:f458:569c::30 |
External mobile client |
The public VPS at 10.10.0.1 (fd56:f458:569c::1) is the primary public
lighthouse. Ordinary clients bootstrap through its public UDP endpoint and use
it as their relay when direct NAT traversal fails. The local network router
at 10.10.0.10 (fd56:f458:569c::10) serves as a secondary lighthouse and
relay for clients opted in through routerBootstrapAddresses, and acts as the
fleet's dual-stack default exit node (0.0.0.0/0 and ::/0). Vega's legacy
exit node role has been retired (exitNode.enable = false); it operates
purely as an overlay client and CoreDNS resolver.
Nebula has its own encrypted overlay firewall and the NixOS host firewall adds a second layer:
- Nebula outbound and inbound policy is presently permissive within the mesh. Tightening this with group rules remains planned work.
- Services intended only for the mesh normally bind to an overlay address and
open their port only on
nebula.meshin the NixOS firewall. - Binding to
0.0.0.0and usingnetworking.firewall.allowedTCPPortsis a broader exposure class: it permits the port on physical/LAN interfaces too. - A listener on loopback or a private Docker bridge is not reachable merely because the mesh firewall is permissive.
Host Nebula private keys are delivered from host-scoped SOPS files. The CA and host certificates are repository inputs; key material is not stored in the wiki.
Mesh naming and DNS
NixOS mesh members receive static /etc/hosts entries for both bare names and
name.mesh, covering both IPv4 and IPv6 (fd56:f458:569c::/64) addresses.
This makes managed-host lookup independent of a live DNS server and guarantees
local self-resolution.
Vega additionally runs CoreDNS on 10.10.0.2:53 and [fd56:f458:569c::2]:53
for non-NixOS clients and mesh-routed traffic. Static name.mesh zones are
generated from the central host map with both A and AAAA records. Other
.mesh queries forward to the public lighthouse's Nebula serve_dns on port
5300; ordinary DNS forwards to public recursive resolvers. Port 53 is
opened only on Vega's nebula.mesh interface.
Public application names such as wiki.nimmog.uk and code.nimmog.uk are a
separate DNS and ingress plane. The repository records the names applications
expect, but public DNS records and Pangolin route definitions live outside it.
Public ingress through Pangolin and Newt
Vega and Lyra run native Newt clients. Each makes an outbound connection
to https://pangolin.nimmog.uk using a host-scoped SOPS environment. Public
HTTPS terminates in the external Pangolin plane and is forwarded through the
corresponding tunnel to a configured upstream.
The upstream can have one of three shapes:
| Target class | Example | Consequence |
|---|---|---|
| Host loopback | BookStack 127.0.0.1:80, Paperless 127.0.0.1:28981 |
Service is reachable locally and through its tunnel, not directly from LAN or mesh |
| Dedicated Docker bridge gateway | FreshRSS on Vega's newt_default gateway 172.18.0.1:8082 |
Newt's container network can reach the host without a LAN-wide listener |
| Container name/private network | Vega's fallback Paseo relay on newt_default |
Traffic stays inside the selected Docker network |
The repository declares the Newt clients and many expected application URLs, but the Pangolin-side target list is external state. A working NixOS service therefore does not by itself prove that its public route is correct.
Lyra service exposure boundaries
Lyra's native services and administrative ports are constrained by the evaluated
host guard in scripts/check-service-exposure.nix:
- Immich: strictly bound to host loopback
127.0.0.1:2283and reached via Newt; direct access from physical LAN and Nebula is rejected. - Jellyfin: targets loopback
127.0.0.1:8096for Newt; host firewall openings on physical interfaces have been removed. - Tdarr: web (
8265) and server (8266) ports are opened onnebula.meshonly; direct connections on physical LAN interfaces are dropped by the firewall. Both local Tdarr nodes connect via loopbackhttp://127.0.0.1:8266. - Ollama: binds
0.0.0.0:11434with firewall openings strictly onnebula.mesh; physical LAN access is dropped. - Obsolete ports retired: global firewall openings for historical SWAG, wishlist, and Beszel inbound listeners (80, 443, 3280, 8888, 9999, 45876) have been removed.
Docker network boundaries
- Vega's
newt_defaultbridge uses host gateway172.18.0.1for selected Newt-to-host traffic. A separate172.22.0.0/16Whisparr bridge may reach Vega PostgreSQL at gateway172.22.0.1. - Lyra hosts containerized services under
/srv/stacksusing dedicated bridge networks; Stash is restricted to mesh access and Signal is loopback-only. - Docker group membership is treated as root-equivalent access and is an accepted convenience on these personal machines.
Docker networking is not a security boundary against a user with Docker daemon access. Service isolation still depends on listener choices, host firewall rules, application authentication, and the external ingress policy.
Administrative and client access
| Path | Scope |
|---|---|
| SSH on Electra and Lena | Port 22 opened only on nebula.mesh; password and root login disabled |
| SSH and Mosh on server hosts | Enabled by the server profile with host-wide firewall openings; SSH password and root login disabled |
| Laptop WireGuard profile | Electra and Lena have a manually activated NetworkManager full-tunnel profile; this is independent of Nebula |
| Router exit node | Provides dual-stack IPv4 NAT (0.0.0.0/0) and IPv6 routing (::/0) for Nebula unsafe-route clients (such as mobile phone). Vega's legacy exit role is retired |
| Service administration | Prefer the narrowest applicable path: local socket/loopback, then Nebula, then authenticated public ingress |
Declared exposure findings
These are configuration facts to feed the later Security Baseline, not claims of active compromise:
- The Nebula overlay policy currently accepts any inbound mesh traffic; NixOS interface firewall rules provide the service-by-service restriction.
- Lyra's administrative and media services are restricted to loopback (Immich,
Jellyfin via Newt) or
nebula.meshonly (Tdarr, Ollama); Wyoming speech remains open on physical interfaces for local network assistants. - Paseo daemons currently bind their hosts' Nebula addresses and open port
6767onnebula.mesh; their TLS relay registration is a separate path. - Server-profile SSH and Mosh openings are host-wide, whereas laptop SSH is mesh-only.
- Pangolin routes remain external operational dependencies not reviewable from this repository.
The Storage and Data Map documents how local, NAS, database, and backup traffic relate. Operational changes belong in Operations and Runbooks, and accepted trust-boundary choices are recorded in ADR-003. Return to the System Atlas.