Skip to content

Network: topology, addressing & routing

Technical reference for the owner. Verified against the live systems (udm.py status/devices/ports, networkconf, tailscale) on the date in the footer. If a value here disagrees with udm.py output, trust udm.py and update this page.

Physical topology

 ISP (cable)
  └─ TP-Link Deco (Mom's house — Buildings 1 & 2, flat 192.168.68.0/24 DHCP)
       │  (cable run)
       ▼  [straight into the WAN port — no router reset at the far end]
  UniFi Dream Machine Pro   = 192.168.1.1  (LAN gateway, 192.168.1.0/24)
       ├─ USW-24-PoE switch  = 192.168.1.207  (3 ports up: 1G + 2×10G)
       │     ├─ R710 NAS (HexOS/TrueNAS)   = 192.168.1.70   [enp7s0f0 = 10G]
       │     ├─ Ubuntu compute box          = 192.168.1.171  (R9700 + 6950XT)
       │     ├─ AdGuard Home                = 192.168.1.5
       │     ├─ Lancache (monolithic)       = 192.168.1.71
       │     └─ Lancache DNS                = 192.168.1.72
       ├─ UniFi APs (UAPA693, UAL6, USL24PB ...)
       └─ client devices  (DHCP 192.168.1.6 .. 192.168.1.254)

The extended-family / double-NAT fact

  • The public IP sits at Mom's house (the Deco), not at the UDM.
  • The UDM's WAN-side interface is on the Deco's LAN and holds 192.168.68.61. The UDM itself is the 192.168.1.0/24 gateway for the user's building.
  • Result: devices behind the UDM are double-NATed; the family on the Deco side is not. The family can still reach the UDM's WAN port directly over the Deco LAN (that's how the 192.168.68.61:3128 Lancache proxy works).
  • Nothing from the internet can reach you without a deliberate port forward (see table below) — and those forwards land on the Deco's public side.

IP addressing plan

Address Role Notes
192.168.68.0/24 Mom's Deco LAN (buildings 1-2) flat DHCP
192.168.68.61 UDM WAN interface on Deco LAN MAC d0:21:f9:75:ae:87
192.168.1.1 UDM Pro (LAN gateway) ip_subnet 192.168.1.1/24
192.168.1.5 AdGuard Home (DNS :53) chart, macvlan
192.168.1.70 R710 NAS / TrueNAS (enp7s0f0, 10G) web+API :8443, tailscale :8443
192.168.1.71 Lancache (HTTP(S) proxy :80/:443) metrics :8080/:8081
192.168.1.72 Lancache DNS current DHCP primary DNS
192.168.1.171 Ubuntu compute box (enp8s0) Hermes/LLMs/Minecraft
192.168.1.207 USW-24-PoE switch
192.168.1.6–.254 DHCP pool for new clients lease 86400s

DHCP & DNS chain (as wired now)

From the UDM networkconf (verified): - Pool: 192.168.1.6 → 192.168.1.254, gateway offered = auto (192.168.1.1). - LAN DHCP DNS is enabled: primary 192.168.1.72 (Lancache DNS), secondary 1.1.1.1 (Cloudflare direct). - WAN-upstream DNS (what the UDM forwards to for its own/managed lookups): wan_dns1 = 192.168.1.5 (AdGuard), preference manual.

So a client's resolution path is:

client → 192.168.1.72 (Lancache DNS)  ──adverts/forward──▶ internet
      ↘ (secondary) 1.1.1.1
UDM managed lookups → 192.168.1.5 (AdGuard) → upstream (1.1.1.1 / 8.8.8.8)

AdGuard (:5) is still alive and filtering (verified dig @192.168.1.5 doubleclick.net → 0.0.0.0). If ad-block stops working, check whether a client is actually on DHCP DNS .72/.5 or stuck on a hardcoded 1.1.1.1.

Verify the chain by hand

dig @192.168.1.1  doubleclick.net +short   # filtered → expect 0.0.0.0/blank
dig @192.168.1.5  doubleclick.net +short   # AdGuard direct
dig @192.168.1.72 example.com   +short      # Lancache DNS resolves

Port forwards (WAN side, UDM-managed)

These publish from the Deco's public side into the internal network. Confirmed live via udm.py ports:

Name WAN port → internal Service
Minecraft 25565 tcp+udp 192.168.1.171:25565 game server
NPM-HTTPS 443 tcp 192.168.1.70:30443 NPM (HTTPS)
HTTP 80 tcp+udp 192.168.1.70:30080 NPM (HTTP)
lancache 3128 tcp 192.168.1.71:80 family proxy

Note: the LAN docs site (http://192.168.1.70/) is also reachable off-LAN as http://100.103.219.124:8443 (served from the compute box over the tailnet — see Tailscale section). 30080/30443 are NPM's internal host ports; the UDM forwards public :80/:443 onto them.

Internal service ports (on 192.168.1.70, the NAS)

Reachable from any LAN device. (Most apps are charts; a few are raw docker.)

Port Service Reach
80 Family docs site (nginx famdocs) LAN only
8443 TrueNAS web UI and v2 API LAN + Tailscale
8123 Home Assistant LAN + Tailscale
2283 Immich LAN
5352 Music Assistant LAN
30080 NPM UI (HTTP) LAN (+WAN :80)
30443 NPM (HTTPS) LAN (+WAN :443)
30111 Mealie LAN
8096 Emby (hostnet, 302 = auth) LAN
3128 / 80 / 443 Lancache (on .71) LAN (+WAN 3128)
8010 Akaunting LAN
8033 SparklePad LAN

Tailscale (off-LAN access)

Host MagicDNS name Tailscale IP State
R710 NAS truenas-scale 100.94.9.51 ⚠️ logged out / offline as of 2026-11-30 — needs browser re-auth (see below)
compute box lootgoblin 100.103.219.124 online

Docs site over Tailscale: http://100.103.219.124:8443/ — the same site as http://192.168.1.70/, served from the compute box (systemd user service homelab-docs-serve running ~/.hermes/tools/homelab-docs/docs_clean_server.py, bound to the tailnet IP). Same clean URLs as the NAS (that small handler is what makes /page resolve; plain python -m http.server would not). Tailnet-only; not visible on the LAN, not on the public internet, no port forwards. Plain HTTP inside the encrypted WireGuard tunnel (a phone behind a corporate proxy that sniffs plain HTTP is the only thing it's exposed to).

Over Tailscale you reach https://100.94.9.51:8443 (NAS web/API) and http://100.94.9.51:8123 (HA, plain HTTP there — TLS is handled by NPM, not this endpoint) once the NAS node is back online.

NAS re-auth (owner, one time):

ssh hermes@192.168.1.70
sudo docker exec ix-tailscale-tailscale-1 tailscale up --accept-dns=false --hostname=truenas-scale

Open the URL it prints, approve. After that, a NAS-side tailscale serve 80 (already pre-configured in 2026-11-30) would add https://truenas-scale.tailf5d5f8.ts.net/ as a second docs endpoint.

Quick "is it the network?" checklist

  1. udm.py status — internet: True? WAN online?
  2. Is the affected device on 192.168.1.0/24 or stuck on .68/24? (wrong net = wrong building/VLAN)
  3. Which DNS is it using? (dig the filters you expect).
  4. Is it a family-side reachability issue (go through Deco) or internet-side (needs a forward)?
  5. Restart the switch port / AP for that device before chasing the router.

Updated 2026-11-27 from live udm.py, UDM networkconf, and tailscale ip.