homelab diagram
%%{init: {'theme': 'dark', 'themeVariables': { 'lineColor': '#eceff1', 'textColor': '#eceff1', 'mainBkg': '#263238', 'nodeBorder': '#eceff1' }}}%%
flowchart TD
%% --- Styles (Dark Mode Optimized) ---
%% Cloud: Deep Blue background, Light Blue Border
classDef cloud fill:#01579b,stroke:#4fc3f7,stroke-width:2px,color:#e1f5fe
%% Home: Deep Green background, Light Green Border
classDef home fill:#1b5e20,stroke:#66bb6a,stroke-width:2px,color:#e8f5e9
%% Devices: Dark Grey background, White Border, White Text
classDef device fill:#37474f,stroke:#eceff1,stroke-width:2px,rx:5,ry:5,color:#ffffff
%% Services: Transparent/Darker background, Dotted Border
classDef service fill:#263238,stroke:#90a4ae,stroke-width:1px,stroke-dasharray: 5 5,color:#b0bec5
%% --- External World ---
Internet((Internet))
style Internet fill:#ffffff,stroke:#333,color:#000
%% --- Oracle Cloud Infrastructure ---
subgraph OracleCloud [Oracle Cloud - Free Tier]
direction TB
subgraph PhoenixBox [Phoenix - Intel VM]
class PhoenixBox device
Phoenix(Phoenix<br/>Ubuntu 24.04<br/>10.0.0.93)
classstyle Phoenix devicefill:#37474f,stroke:none
subgraph PhoenixSvcs [Services]
P_Traefik[Traefik Proxy<br/>'The Front Door']
P_WG[WireGuardWG HubInterface<br/>10.8.0.1]
P_Kuma[Uptime Kuma]
end
end
subgraph DobbyBox [Dobby - ARM VM]
class DobbyBox device
Dobby(Dobby<br/>Ubuntu 24.04<br/>10.0.0.100)
classstyle Dobby devicefill:#37474f,stroke:none
subgraph DobbySvcs [Services]
D_Wing[Pterodactyl Wing]
D_MC[Minecraft Server]
end
end
end
%% --- Home Network ---
subgraph HomeNet [Home Network - Deltona<br/>192.168.120.0/22]
direction TB
Unifi[Unifi Router<br/>Gateway]
class Unifi device
subgraph FireboltBox [Firebolt - Ubuntu Server]
class FireboltBox device
Firebolt(Firebolt<br/>GameNode3<br/>192.168.123.4)
classstyle Firebolt devicefill:#37474f,stroke:none
subgraph FireboltSvcs [Services]
F_Traefik[Traefik<br/>Internal Router]
F_Auth[Authentik]
F_Media[Plex / Arrs]
F_WG[WG PeerInterface<br/>10.8.0.5]
subgraph FireboltApps [Apps]
F_Media[Plex / Arrs / Enshrouded?]
F_Duplicati[Duplicati]
end
end
end
subgraph NorbertBox [Norbert - Unraid 7.x]
class NorbertBox device
Norbert(Norbert<br/>GameNode1<br/>192.168.123.3)
classstyle Norbert devicefill:#37474f,stroke:none
subgraph NorbertSvcs [Services]
N_Storage[Media Storage]
N_Wing[Pterodactyl Ark Bot]
N_WG[WG PeerInterface<br/>10.8.0.2]
subgraph HASSVMNorbertApps [Apps]
N_Ark[Ark Survival]
N_Hass[Home Assistant VM]
HASS[HASS OS<br/>Zigbee/ZWave]
H_WG[WG Peer<br/>10.8.0.3]
end
end
end
end
%% --- ConnectionsWEB TRAFFIC FLOW (The Fix) ---
%% Web1. TrafficInternet Flowto Front Door
Internet == HTTPS:443HTTPS ==> P_Traefik
%% 2. Front Door routes to Local WireGuard Interface
P_Traefik --> TCPP_WG
Passthrough%% 3. The Tunnel (The Hop)
P_WG ==>|Encr. Tunnel<br/>WG10.8.0.x| TunnelF_WG
%% 4. Inside the House (Routing to Destination)
F_WG --> F_Traefik
F_Traefik --> F_Auth & F_Media & F_AuthF_Duplicati
%% Game--- TrafficGAME FlowTRAFFIC FLOW ---
%% Cloud Games (Direct)
Internet -- GameMinecraft PortsPort --> DobbyD_MC
%% Home Games (Port Forwarding)
Internet -- Game Ports --> Unifi
Unifi -- Port ForwardFwd --> FireboltN_Ark
&Unifi Norbert-- Port Fwd --> F_Media
%% --- Internal Management ---
%% WireGuard BackplaneMesh connections
P_WG <==>|Tunnel| F_WG
P_WG <==-.->|Tunnel| N_WG
P_WG <==>|Tunnel| H_WG
%% Storage Linksaccess
FireboltFireboltApps -.->|SMBNFS/SMB| / NFS| NorbertN_Storage
%% Apply Styles
class OracleCloud cloud
class HomeNet home
class P_Traefik,F_Traefik,P_WG,F_WG,N_WG service