GitHub
River City Cyber

Home Lab

PURPOSE

My home lab is where I learn and where I test new systems, services and automations before I rely on them. The network sits behind an OPNsense firewall with no inbound ports open, and a MikroTik switch splits it into three VLANs. Four machines share the work: an always-on small-form-factor server for core services, a Proxmox host I power on when needed, a Dell DL4300 for storage and backups, and a Mac mini for day-to-day development.

PRINCIPLES

I run and maintain the lab on a budget, guided by six principles:

  1. Least power needed
  2. Least access needed
  3. Full logging
  4. Automate where possible
  5. Document every step
  6. Smallest footprint possible

Together they keep the lab simple, secure and cheap to run. Power use and risk stay low while the services I depend on stay available. Wake-on-LAN lets hardware sleep until it's needed, and VPNs, PKI, MFA and intrusion prevention keep access smooth without loosening security.

NETWORK TOPOLOGY

Home lab network topology The internet connects to an OPNsense firewall with no inbound ports open; OPNsense is also a Tailscale node. OPNsense trunks to a MikroTik switch carrying three VLANs. VLAN 2, general traffic, holds personal devices. VLAN 3, the home lab, holds four machines: the Mac mini M2 development host, also a Tailscale node; an always-on i5 small-form-factor server running Ubuntu Server with the UniFi controller, Grafana, Prometheus and HashiCorp Vault; a custom Proxmox host, powered on when needed, running Plex, NetBox, Warpgate, Mattermost, Checkmk and Actual Budget; and a Dell DL4300 used for network storage and system backups. VLAN 4 holds work devices. Internet Tailscale remote access 路 outbound only OPNsense Firewall no open ports 路 Tailscale node 802.1Q trunk MikroTik Switch VLANs 2 路 3 路 4 VLAN 2 路 GENERAL Personal devices VLAN 3 路 HOME LAB Mac mini M2 dev host 路 Tailscale node Docker Tailscale VS Code Tabby i5 SFF Server Ubuntu 路 always on UniFi Controller Grafana Prometheus HashiCorp Vault Proxmox Host custom PC 路 on demand Plex NetBox Warpgate Mattermost Checkmk Actual Budget Dell DL4300 storage 路 backups Network storage System backups VLAN 4 路 WORK Work devices
Solid lines are physical links. Dashed orange marks Tailscale: OPNsense and the Mac mini are Tailscale nodes, and their tunnels open outbound, so remote access needs no port forwarding.

HARDWARE

Following the first principle, I keep as few servers running as possible. Watching resource utilization shows whether a machine is constrained or sitting idle. I aim for 80–90% RAM use at all times and around 90% CPU use at peak load.

ALWAYS-ON SFF SERVER

This server runs everything that must stay available around the clock. To save resources it has no hypervisor: services run in Docker containers or as system services on Ubuntu Server, which I chose for its simplicity, reliability and broad support.

Component Part
CPU Intel Core i5-7500, 3.4 GHz quad-core
Motherboard ASUS PRIME B250M-C/CSM, Micro ATX, LGA1151
RAM 16 GB DDR4-2400 CL17
Storage 256 GB 2.5" SATA SSD
  • UniFi Controller
  • Grafana
  • Prometheus
  • HashiCorp Vault

Tip: for any server running 24/7 with under 2 TB of storage, skip hard drives. NVMe is ideal, and even SATA SSDs noticeably cut power costs. Hard drives still make sense for bulk video storage, where cost per terabyte matters most.

PROXMOX HOST (ON DEMAND)

A custom-built PC running the Proxmox Type-1 hypervisor hosts services that only need to run some of the time, plus any VMs I spin up to develop and test new ideas. It stays powered off until I need it. Each VM and its allocated resources:

Hostname vCPUs RAM (GB) Storage (GB)
Plex Media 2 4 4,000
Mattermost 2 4 20
Warpgate 2 2 16
NetBox 2 8 32
Actual Budget 2 2 32
Checkmk 2 4 24
Total 12 24 4,124

DELL DL4300 · STORAGE & BACKUP

I originally designed this server as a secure training environment for UNF's National CCDC team. It now serves as the lab's network storage and dedicated system backup target.

MAC MINI M2

My everyday workstation for web development and the main way I reach the lab remotely, running Docker, VS Code, Tabby and Tailscale.