> ssh root@alpha.home.lan

The homelab

A self-hosted infrastructure on one second-hand HP EliteDesk mini PC. It started as a place to break things safely and now runs the DNS, VPN and media server my family uses every day, plus every lab I build for my BTS SIO SISR course.

machine
HP EliteDesk 705 G4 DM35 W mini PC, bought used
cpu
Ryzen 5 PRO 2400GE4 cores / 8 threads
memory
16 GB DDR42 × 8 GB, upgraded from 8 GB
storage
256 GB NVMe + 500 GB HDDLVM-thin for containers, HDD for media
hypervisor
Proxmox VE 9LXC first, Docker nested where useful
footprint
32 containers~15 W at idle

01 // rules

Three rules I hold myself to

Segment by default

Services live on internal bridges, not on the home LAN. The only way in is through the host firewall, so a forgotten port is never exposed by accident.

Names, not ports

Every service gets a *.home.lan name from Technitium and HTTPS from the reverse proxy. If I have to remember an IP and a port, it is not finished.

Written down or it didn't happen

Each build gets a write-up: the reasoning, the config, and the mistakes. If it only works because I remember a magic command, it does not count.

02 // topology

How it is wired

topology.svg
Homelab network topology The Proxmox host sits on the home LAN and routes its internal bridges: vmbr1 for homelab services, vmbr4 for the NexiCloud project. Port forwards on the host send DNS to Technitium, HTTP and HTTPS to Nginx Proxy Manager, and WireGuard to the VPN container. Internet 5G · public Wi-Fi LAN · 192.168.2.0/24 · vmbr0 ISP box fw UDP 51820 Home devices DHCP + DNS from Technitium Desktop · second lab 10.10.0.0/16 · woken by WoL alpha · Proxmox VE 9 · nftables vmbr0 192.168.2.100 · vmbr1 192.168.1.1 · vmbr4 172.16.1.1 DNAT :53 → gamma · :80/:443 → delta · :51820 → beta · masquerade out static route 10.10.0.0/16 vmbr1 · 192.168.1.0/24 · homelab beta · WireGuard.10 · tunnel 10.0.0.0/24 gamma · Technitium.11 · DNS · DHCP delta · NPM.12 · TLS · Host routing epsilon · bastion.113 · Tailscale zeta · Jellyfin.14 · media eta · iota · kappaForgejo · Prom. · Memos identity labs NIS + NFS .102/.103 · OpenLDAP + LAM .104 · Samba PDC .105 (SMB routed from LAN) vmbr4 · 172.16.1.0/24 · NexiCloud lb · HAProxy + Varnish web1·2·3 shop · LEMP MariaDB M→S Gitea · CI DNS ×2 · Ansible · Prometheus · backup
request path for https://*.home.lan routed link bridge / network zone

03 // inventory

What runs on it

pct list
Core services · vmbr1 4 CT
113 epsilon Bastion: Tailscale, admin tools core · on boot
Applications · vmbr1 4 CT
114 zeta Jellyfin media server, media disk bind-mounted service
115 eta Forgejo (Docker), private Git in progress
117 iota Prometheus + Proxmox exporter in progress
118 kappa Memos (Docker), quick notes in progress
Identity labs · vmbr1 4 CT
103 nis-client NIS + NFS client coursework
104 openldap OpenLDAP + LDAP Account Manager coursework
NexiCloud · vmbr4 18 CT

05 // next

On the bench under construction

in progress

Monitoring for the homelab

Prometheus is up on iota with the Proxmox exporter. Next: Grafana dashboards and alerts, reusing what I built for NexiCloud.

in progress

Forgejo

Private Git for my scripts and configs, with registration disabled and SSH on a separate port.

planned

Proxmox Backup Server

Incremental, deduplicated backups of every container, then an off-site copy to follow the 3-2-1 rule.

planned

SSO with Authentik

One login with MFA in front of every dashboard that has weak or no authentication of its own.

planned

Access lists on the proxy

Restrict admin UIs (Proxmox, NPM, Technitium) to the LAN and VPN, so a proxy-host mistake cannot expose them.

planned

Immich

A self-hosted photo library to replace Google Photos, on the HDD with LUKS encryption.