The platform

  • Unraid server: the main workhorse. It provides parity-protected storage and runs most self-hosted apps as Docker containers, plus a few VMs, including a Windows VM with GPU passthrough.
  • Proxmox mini PC: a separate hypervisor for VMs and LXC containers. It runs the attack lab, the SIEM, monitoring, and documentation tools.
  • UniFi network: gateway, managed PoE switch, and access points, segmented into VLANs and firewall zones (details).
  • Pi-hole for network-wide DNS, Nginx Proxy Manager for internal HTTPS hostnames, Portainer for multi-container stacks, and authentik for SSO (details).

Monitoring with Uptime Kuma

Monitor from somewhere independent. My first instance ran on Proxmox, so if Proxmox went down, the monitor went down with it and I’d never be told. I moved it to separate hardware from the things it watches, and planned an off-site instance to catch whole-network or power outages.

Make checks meaningful.

  • A media server monitor kept reporting “down” because the service returns 401 Unauthorized to anonymous requests. I pointed the check at the service’s unauthenticated health endpoint.
  • When I put apps behind SSO, their public hostname started returning the login page. I split those into two monitors: one for the app’s internal health endpoint and one for the full proxy and auth chain. That way a failure points to the right layer.
  • Nightly backups stop containers on purpose, so I added a recurring maintenance window. Planned downtime no longer fires alerts or counts against uptime.

A layer 2 lesson. One monitoring container was unreachable, with no entry in the network’s client list. Its IP config was correct, but ARP wasn’t being answered. The switch port wasn’t carrying the right VLAN. Tagging it fixed everything, and confirmed again that it’s worth checking from the bottom up.

NetBox as a source of truth

NetBox documents my network: devices, IP addresses, VLANs, and cabling. I deployed it more than once, and each attempt taught me something different.

  • Container DNS: On Docker’s default bridge network, containers can’t resolve each other by name, so NetBox couldn’t find its database or cache. I put them on a user-defined Docker network, which provides name resolution. That network now hosts a shared PostgreSQL instance other apps use too.
  • Docker inside LXC: Running the official compose stack inside a Proxmox LXC container required enabling nesting and keyctl. I also reserved the low part of the subnet for static addresses by moving the DHCP range up.
  • Locking myself out: Enabling VLAN-awareness on the Proxmox host’s bridge dropped untagged management traffic, which cut the host off from the network. I recovered at the physical console by editing the network config by hand, then reconfigured the bridge correctly. Now I always keep console access available before touching a remote host’s networking.

Self-hosted applications

  • Immich (photo backup). Replaces iCloud for photos. I picked a PostgreSQL image that matches the upstream project’s exact version and extension lineage, because mismatched versions are a common way these deployments break.
  • Syncthing. Keeps my notes vault synced between my laptop and the server in real time. I chose it over Nextcloud because its block-level sync suits many small, constantly changing files. I turned on staggered file versioning as a safety net, because deletions sync too.
  • Home Assistant runs as a VM on the server.
  • Media automation. A request-and-library pipeline built from several containers. The interesting parts are the shared path mapping, so containers agree on where files live, and putting apps that have weak built-in authentication behind SSO forward-auth.
  • Deployment approach. I use Unraid’s native templates for single-container apps and Portainer with Compose for multi-container stacks. That way each app is managed with the tool that fits it.

Policy-based VPN routing

My gateway sends outbound traffic through a commercial WireGuard VPN with policy-based routing, and a few things taught me how routing really works:

  • Routing is by IP, not by port. To let one container bypass the VPN without exempting its whole host, the container needs its own IP address, which then gets its own routing policy.
  • Verify, don’t assume. When the server’s traffic wasn’t going through the tunnel, I checked its actual public IP from the command line. That showed the policy was paused. I also checked for IPv6 leaks around an IPv4-only tunnel.
  • Backup tunnels can conflict. A second VPN config failed because both configs used the same tunnel address. The address is tied to the key on the provider’s side, so I couldn’t simply edit it.

Wazuh SIEM (in progress)

I deployed Wazuh as an all-in-one install (manager, indexer, and dashboard), first on VMware Workstation and then on a Proxmox VM sized for its OpenSearch indexer. Along the way I learned that built-in admin accounts are protected from changes in the UI and have to be managed with Wazuh’s CLI password tool.

Next: enroll an agent on an attack lab target, rerun my TWiki exploit, and document what Wazuh does and doesn’t detect. I’ll also forward my firewall’s logs into it, which is the gap my IDS investigation exposed.