The Big Picture
How the whole home lab fits together, in one place. This is the "how does all of this actually work?" page — read it once and the rest of the manual makes sense. Verified against the live systems on the date in the footer.
The house in one diagram
┌────────────────────────────────────────────────────┐
INTERNET (cable) │ WAN SIDE │
─────────────────────▶ │ Mom's house: TP-Link Deco (public IP lives here) │
│ family devices (mom, sister) on 192.168.68.0/24 │
└───────────────┬────────────────────────────────────┘
│ cable into the WAN port
┌───────────────▼────────────────────────────────────┐
│ UNIFI DREAM MACHINE PRO 192.168.1.1 │
│ router • WiFi (3 APs) • DHCP • port forwards │
└───────────────┬────────────────────────────────────┘
│
┌───────────────▼────────────────────────────────────┐
│ USW-24-PoE SWITCH 192.168.1.207 │
│ (2×10GbE + gigabit) │
└──────┬─────────────────────────────────┬──────────┘
10G │ │ 1G
┌──────────────────────▼──────────────────┐ ┌──────────▼───────────┐
│ THE NAS — Dell R710 ("Home") │ │ THE COMPUTE BOX │
│ 192.168.1.70 • TrueNAS/HexOS │ │ 192.168.1.171 │
│ │ │ Ubuntu • Ryzen 5600X│
│ ~16 app charts + raw docker: │ │ │
│ Home Assistant, Immich, Emby, Music │ │ • Ollama LLMs (2× │
│ Assistant, Meals, NPM, StoatChat, │ │ AMD GPUs) │
│ AdGuard, Lancache, Docs site, Stoat, │ │ • Minecraft server (on demand)
│ Actual, Radicale, ntfy, Akaunting… │ │ • Odysseus (dev) │
└─────────────────────────────────────────┘ │ • Hermes = me (the agent)
└────────────────────────┘
ALSO ON THE SWITCH (macvlan, fixed IPs):
AdGuard DNS 192.168.1.5 • filters ads/tracking for the house
Lancache 192.168.1.71 • internet-wide file cache (game downloads!)
Lancache DNS 192.168.1.72 • the house's primary DNS answerer
The four layers
1. WAN side (someone else's problem, mostly). The public IP lives at Mom's house (the Deco). Traffic crosses a cable into the UDM's WAN port. The UDM is the only place between you and the internet. Anything coming in from the internet must be a deliberate port forward — the current list is on the Network page (Minecraft, NPM, Lancache proxy for the family).
2. The backbone (UDM + switch + WiFi). The UDM hands out IPs
(192.168.1.x) and answers "who is X?" via DNS. The 24-port PoE switch
carries everything (10GbE where it matters — NAS and box). Three UniFi APs
do WiFi. This layer is dumb by design: it just moves packets.
3. The two servers. Everything you can actually use lives here:
| The NAS (R710, 192.168.1.70) | The Compute Box (192.168.1.171) | |
|---|---|---|
| Jobs | storage + the family apps: photos, music, shows, home automation, the web services people log into | brute compute: LLMs on two GPUs, Minecraft, dev/testing, and me (the Hermes agent) |
| Why this split | It's the always-on, big-disk, low-power machine | It has the GPUs for AI and the CPU/RAM for games |
| If it dies | family apps stop, files still on disk | AI/games stop; files untouched |
4. The edges. Phones (you're on Tailnet with them), the 75" TCL TV (Shield box on HDMI 3) and the other family devices. They get an IP from the UDM and talk to the two servers.
How a request actually travels (the examples that matter)
A family member opens the Immich photo app.
phone → WiFi → UDM (routes) → NAS Immich :2283
A device asks "where is example.com?" (the DNS chain — the subtle one):
phone gets DNS 192.168.1.72 (Lancache DNS) from DHCP
→ Lancache DNS answers fast for the ~27 game-CDN domain lists it caches
→ everything else forwarded toward the internet
The UDM's own lookups go to AdGuard (192.168.1.5) → filter → 1.1.1.1
AdGuard is what makes the house "ad-free" — if ads come back,
check which DNS the device actually has (the [Network page](ref-network.md#verify-the-chain-by-hand) has the dig commands).
Your phone, away from home, opens the docs site (once the tailnet serve is set up — see below):
phone → Tailscale → compute box (100.103.219.124:443)
→ tailscale serve forwards → NAS 192.168.1.70:80 (Docs nginx)
You ask me something (this whole conversation):
you → (CLI / StoatChat / Discord bridge) → compute box 192.168.1.171
I run → shell on the box (my home)
I reach the NAS → SSH (dedicated user `hermes`, key-only, NOPASSWD sudo)
→ TrueNAS REST API over Tailscale (root-key, read-only by convention)
I talk to Home Assistant → REST + websocket over Tailscale (8123)
I talk to the UDM → its REST API with the Hermes API key
The three "glue" services holding it together
| Glue | What it does | Without it |
|---|---|---|
| Tailscale (both servers are nodes) | private overlay network: phones/devices reach the servers securely anywhere, no port forwards needed | everything is LAN-only |
| NPM (on the NAS, :30080) | the single HTTPS door through which things are exposed outward (currently: the only WAN forwards point at it) | no clean HTTPS at all |
| StoatChat (on the NAS, :8880) | the self-hosted chat that bridges phones ↔ me (the Stoat→Hermes bridge runs on the box) | no messaging to/with the agent |
Off-LAN access — current state
- Tailscale works from phone to NAS (HA 8123, NAS web 8443) — phone is a tailnet node.
- The NAS's tailscaled runs the userspace networking mode (in the chart), which is slower and flakier than the normal kernel mode — treat tailnet-to-NAS hiccups as known.
- The Docs site is today LAN-only. To put it on the tailnet (one-time,
run on the compute box):
bash sudo tailscale serve --https=443 http://192.168.1.70:80After that:https://lootgoblin.tailf5d5f8.ts.net/from anywhere. (If you also want the git gateway on the same domain: see the LAN service list in Services.)
Who runs what (the "for you and me" part)
| Thing | Who runs it |
|---|---|
| This website | Me, on the compute box: source in ~/homelab-docs, built with mkdocs-material, uploaded to the NAS API, served by the famdocs nginx container. You never have to touch it. |
| Home Assistant automations/dashboards | Me, through the HA API (read-only by convention; every write needs your approval). |
| UDM (firewall/forwards/DNS/DHCP) | Me, through the UDM API key (edits when you ask). |
| TrueNAS maintenance (scrubs, snapshots, app updates) | Me, read-only by convention; changes on request. |
| Minecraft, game installs, LLM experiments | You (or ask me); I can manage the Minecraft server and LLM endpoints on request. |
| The whole house's DNS/ad-block health | Me — I can dig through AdGuard on demand. |
If you only remember three things
- UDM = door, switch = hallway, NAS = the app house, box = the muscle.
- Tailscale = the secret hallway to everything, from anywhere.
- If in doubt: power-cycle the thing, and message me what broke + what you tried — this site plus my live system access is how I debug it.
Updated 2026-11-28 from live checks (NAS docker ps, box ss/systemd,
tailscale status, UDM udm.py). Inventory detail: Services.
Compute box deep-dive: Compute. Network deep-dive: Network.