Skip to content

4guilera/Homelab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 

Repository files navigation

My Homelab

Here's the repo for my cybersecurity and cloud-focused homelab. This is the central repo that documents the infrastructure and individual projects I have worked on.

I have two proxmox nodes running on mini PC's. One node runs offensive lab environments and the other runs a defensive stack. Everything is built with IaC in mind so it can be easily torn down and rebuilt.

Architecture

flowchart TD
    NET["Internet"] --> CF["Cloudflare ZT<br/>pve.apt-get-paul.com"]
    CF --> UDR["UniFi UDR7<br/>192.168.1.1"]
    UDR --> SW["USW Lite 8 PoE<br/>gigabit switch"]

    SW --> N1
    SW --> NAS
    SW --> N2

    subgraph VLAN20["VLAN 20 — Lab — 10.0.20.0/24"]
        subgraph N1["pve-node1 · .10 — blue / SIEM"]
            SPL["Splunk · .20"]
            PORT["Portainer · .3"]
            CFD["cloudflared · .7"]
        end
        subgraph NAS["TrueNAS · .5 — NFS / ZFS"]
            QD["QDevice · .6"]
        end
        subgraph N2["pve-node2 · .11 — red / range"]
            PROV["provisioner · .50"]
            DC["DC01 · .60"]
            WS["WS01 · .61"]
            TGT["target01 · .62"]
            KALI["kali · .63"]
        end
    end

    DC -. "forwarders" .-> SPL
    WS -. "forwarders" .-> SPL

    classDef infra fill:#F1EFE8,stroke:#5F5E5A,color:#2C2C2A;
    classDef blue fill:#E6F1FB,stroke:#185FA5,color:#0C447C;
    classDef red fill:#FCEBEB,stroke:#A32D2D,color:#791F1F;
    classDef store fill:#E1F5EE,stroke:#0F6E56,color:#04342C;

    class NET,CF,UDR,SW infra;
    class SPL,PORT,CFD blue;
    class PROV,DC,WS,TGT,KALI red;
    class QD store;

    style N1 fill:#F5F9FE,stroke:#185FA5;
    style N2 fill:#FDF4F4,stroke:#A32D2D;
    style NAS fill:#F0FAF6,stroke:#0F6E56;
    style VLAN20 fill:#FBFAF7,stroke:#888780,stroke-dasharray:4 3;

Loading

Everything on VLAN 20 (Lab) — 10.0.20.0/24

Hardware

Device Specs Role
MINISFORUM AI X1 Pro Ryzen AI 9 HX 470, 32GB DDR5, 1TB SSD pve-node1 (blue/infra)
Geekom A5 Pro Ryzen 7 5800H, 32GB DDR4, 512GB SSD pve-node2 (red/range)
UGreen DXP4800 Pro Intel i3-1315U, 8GB RAM, ZFS TrueNAS SCALE (NFS storage)
UniFi UDR7 Router, VLAN management
USW Lite 8 PoE Gigabit Switch

Projects

Each project has its own repo with detailed docs. Listed in build order.

Status: Operational

The purple team range — a four-VM Active Directory environment deployed entirely as infrastructure-as-code. Packer builds Windows templates with unattended installs. OpenTofu clones them into a live range. Cloud-init handles the Linux VMs. Next step is Ansible for AD promotion, domain join, and Sysmon deployment.

Packer OpenTofu Ansible Proxmox Windows Server Active Directory


Status: Operational

Sigma rules repo with GitHub Actions CI to lint and validate detections on every commit. Rules tested against sample log datasets before they hit the SIEM.

Sigma GitHub Actions CI/CD YAML


purple-team-playbook

Status: planned

Per-technique writeups following the purple team loop: pick an ATT&CK technique, execute with Atomic Red Team, observe telemetry, write a detection, validate. Each writeup maps back to MITRE ATT&CK with coverage tracking.

ATT&CK Atomic Red Team Sigma Detection Engineering


Status: Operational

A full network-forensics investigation of a DNS command-and-control channel.


Network

VLAN Name Subnet Purpose
1 Default 192.168.1.0/24 Management fallback
10 Trusted Personal devices
20 Lab 10.0.20.0/24 Proxmox cluster, range, storage
30 IoT Smart home devices
40 Guest Guest WiFi
50 Mgmt Network management

Cluster

Two-node Proxmox VE 9.2 cluster with a QDevice quorum tie-breaker running on TrueNAS. Survives a single-node failure. Shared NFS storage for templates, ISOs, and backups.

Admin access is through paul@pve with TOTP 2FA. IaC automation uses a dedicated iac@pve API token with a least-privilege role — no shared credentials.

What's next

  • Purple team technique writeups
  • Network isolation for range VMs (dedicated bridge)

About

Central repo for my homelab, links out to current and future projects

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors