Cory Upchurch

Home / Homelab

The lab where things break before production does.

My homelab is a Dell PowerEdge server, a handful of small machines and three managed switches at home. I use it to learn, to run the services my household relies on, and to test changes before I make them at work.

Hypervisor
Proxmox VE on a dual-Xeon PowerEdge R530
Workloads
5 virtual machines and 6 LXC containers
Uplink
1 Gbps symmetric fiber
Remote access
Tailscale, through a Raspberry Pi 5 subnet router
Backups
Proxmox Backup Server and scheduled jobs to NFS
  1. Edge Fiber gateway1 Gbps up and down
  2. Switching 3 managed switchesplus a UniFi access point
  3. DNS Pi-holeDNS and DHCP for the house, in a container
  4. Access Raspberry Pi 5Tailscale subnet router
  5. Compute PowerEdge R530Proxmox VE: VMs and LXC containers UniFi controllerHome AssistantPi-holenginxMonitoringHomepageNetwork Optimizer
  6. AD lab Active Directory labOPNsense, a domain controller and a Windows 11 client
  7. Backup Proxmox Backup Serverplus scheduled jobs to NFS
  8. Monitoring Grafana and InfluxDBnetwork and host metrics
  9. Power UPSrides out short outages
The stack, from the internet edge down to power.

Why I run a lab

Reading about a technology and running it are different things. The lab is where I learn what a tool does when it's misconfigured, what an update breaks and how long a restore really takes.

It also pays off at work. I ran Proxmox, UniFi and scheduled backups at home before I helped plan the same kinds of changes in production, so I'd already hit the common mistakes on hardware where an outage only annoys my household.

Hardware

Nothing exotic. Most of it is used enterprise gear or small, low-power machines.

DeviceWhat it does
Dell PowerEdge R530 (dual Xeon)The main Proxmox host. Runs every VM and container in the lab.
Mini PCsSpare machines for testing builds without touching the main host.
3 managed switchesWired network for the lab and the house, and a place to practice switch configuration.
UniFi access pointWi-Fi, managed from the UniFi controller VM.
Raspberry Pi 5Tailscale subnet router for remote access to the lab.
UPSKeeps the network and server up through short power blips.
Cable tester, crimp kit and label makerI make my own patch cables, test every one, and label both ends.

What runs on it

Every workload is self-hosted and self-managed. If it breaks, I'm the one who fixes it.

WorkloadTypeWhat it doesRuns
UniFi controllerVMManages the UniFi access point and network gear.Always on
Home AssistantVMSmart-home devices controlled locally instead of through someone else's cloud.Always on
Pi-holeLXCDNS and DHCP for the house, with ad and tracker blocking.Always on
nginxLXCWeb server and reverse proxy for lab services.Always on
MonitoringLXCGrafana dashboards on InfluxDB for network and host metrics.Always on
Network OptimizerLXCRuns speed tests, checks the network and UniFi setup for inconsistencies, and draws 2D and 3D maps of the network.Always on
HomepageLXCA dashboard with a link and status for every service in the lab.Always on
Minecraft serverLXCGame server, started when friends want to play.On demand
OPNsense lab firewallVMFirewall and router for the Active Directory lab.Always on
Domain controllerVMWindows Server running Active Directory and DNS for the lab domain.Always on
Windows 11 clientVMDomain-joined workstation for testing logins and Group Policy.On demand

Network map

Redrawn from Network Optimizer's live 3D map, with every device name, MAC address and IP removed.

Home network map The internet connects over 1 Gbps fiber to a gateway, then a switch. That switch serves the Wi-Fi access point with about two dozen client devices, a Raspberry Pi 5 running Tailscale, and a desktop. A second switch connects the server's management port, a Proxmox Backup Server and the R530 Proxmox host. The host's virtual bridge connects the UniFi controller, Home Assistant, Pi-hole, nginx, monitoring, Homepage, Network Optimizer and an OPNsense lab firewall, which fronts an Active Directory lab with a domain controller and a Windows 11 client. Wi-Fi access point About two dozen phones, laptops, TVs, a printer and smart-home gear Internet, 1 Gbps fiber Fiber gateway Switch Switch Raspberry Pi 5 (Tailscale) Desktop Server management (iDRAC) Proxmox Backup Server R530 Proxmox host UniFi controller Home Assistant Pi-hole nginx Monitoring Homepage Network Optimizer OPNsense lab Domain controller Windows 11 (on demand) AD lab
Path from the internet to the lab Virtual machines and containers Client devices

Active Directory lab

OPNsense lab firewallroutes and filters the lab
Domain controllerWindows Server, AD DS, DNS
Windows 11 clientdomain-joined

Most businesses still run on Active Directory, so I built a small Windows domain to practice on. It has its own OPNsense firewall VM in front, a Windows Server domain controller and a Windows 11 workstation joined to the domain.

What I practice here:

  • Standing up a domain and the DNS it depends on
  • Organizing users, groups and computers into OUs
  • Writing and testing Group Policy before it would ever touch real users
  • Joining clients to the domain and troubleshooting logins

If I misconfigure a GPO here, the only person locked out is me.

Around the server

Remote access

  • Tailscale
  • Raspberry Pi 5 subnet router

I can reach the lab from anywhere over an encrypted, identity-based tailnet.

Backups

  • Proxmox Backup Server
  • Scheduled backups to an NFS target

VMs and containers are backed up on a schedule, the same habit I bring to production.

Retired

  • OPNsense as my home edge firewall
  • Uptime Kuma

OPNsense lives on as the AD lab's firewall VM. Retiring things cleanly is part of running a lab too.

Lessons learned

Check every link before blaming the box

After I moved to 1 Gbps symmetric fiber, my OPNsense firewall on a small Shuttle PC topped out at 930 Mbps both ways, while a device on the fiber gateway's multi-gig port saw over 1,100. I assumed the firewall was too slow.

It wasn't. A 1 GbE port can't carry much more than 940 Mbps of real data, and the line is provisioned above 1 Gbps. The firewall was at the ceiling of its ports the whole time. Read the full write-up.

Write it down

Every device, service and change goes into my lab notes. When something breaks months later, the notes are the difference between a five-minute fix and an evening of rediscovering how I set it up.

What's next

  • Bring back a dedicated firewall with 2.5 GbE ports, so I get both the full line speed and the control.
  • Segment the network so lab, home and IoT devices are separated.
  • Practice restores on a schedule, not just backups.
Back to the home page