Zero-Trust Cyber Defense Perimeter
One guiding principle: “Never trust, always verify.” The Homelab and MaxStack infrastructure is protected by five defense layers, from the Cloudflare edge down to ed25519 hardware keys on every bare-metal server.
Five-Layer Defense-in-Depth
100% end-to-end encryptedAll public web traffic is routed through the Cloudflare edge. The origin server (Aegis Prime) accepts only connections presenting a Cloudflare TLS client certificate, which makes it immune to direct IP scanning attacks.
A peer-to-peer full-mesh network encrypted with Curve25519. Nodes (Hyperion Sovereign, Aegis Prime, Vanguard Shield, Orion Workstation) communicate directly over UDP without opening any ports on the home modem.
All SSH accounts accept ed25519 hardware keys only; password authentication is fully disabled. Fail2ban automatically drops offending IPs at the UFW firewall after three anomalous connection attempts.
Dedicated LXC 101 runs AdGuard Home as the DNS server for every device and container on the internal network, blocking more than 85,000 tracking, advertising, and malware domains.
Centralized authentication for the Homelab Portal, with TOTP multi-factor authentication (RFC 6238), role-based access control (RBAC), and hardened sessions using HttpOnly strict cookies.
Real-Time Security Threat Audit Feed
| Time | Defense Source | Event | Protected Target | Action Taken | Result |
|---|---|---|---|---|---|
| 13:38:12 | Cloudflare WAF | SQL Injection Probe Blocked (Rule 100018) | lab.trucnguyen.dev | DROP 403 | BLOCKED |
| 13:24:45 | Fail2ban Aegis Prime | SSH Brute Force attempt (IP 194.26.29.x) | aegis-prime:2222 | BANNED (24h) | BANNED |
| 12:50:02 | AdGuard DNS Ward | Telemetry Tracker Queried (app-measurement.com) | 192.168.1.100 (Orion) | SINKHOLE 0.0.0.0 | BLOCKED |
| 11:15:30 | Tailscale Control | Key Rotation Handshake Completed (WireGuard) | Hyperion Sovereign ↔ Aegis | AUTHORIZED | VERIFIED |
| 09:04:19 | SSL Monitor | Let's Encrypt Wildcard Certificate Verified (Valid 88 days) | *.trucnguyen.dev | VALIDATED | ACTIVE |
All certificates are issued automatically through Let's Encrypt wildcard & Cloudflare Origin CA using ECDSA P-384. TLS 1.0/1.1 and legacy cipher suites are disabled.
Hardware-backed ed25519 signature keys for authentication. The default SSH port 22 is closed, and SSH access is restricted to the Tailscale VPN mesh.
The VNPT modem (bridge mode) and Xiaomi AX3000T router expose no NAT port forwards (zero open WAN ports). Every connection into the homelab goes through an encrypted tunnel.