Vithurshan Sivanathan
vithurshan/sys
Projects/projects/homelab-iot
INFRA / NETINF-04·2024 – 2025

Self-Hosted HomeLab & IoT Automation

Virtualized Private Cloud, Overlay Mesh & Failover

Self-hosted Proxmox virtualization cluster with Oracle Cloud failover, WireGuard VPN mesh, Cloudflare Tunnels for zero-port-forwarding ingress, and worldwide physical PC power-on via ESP32/ESP8266 and MQTT.

// Architecture Pipeline Flow

Cloudflare Edge
Oracle Cloud Failover
WireGuard Tunnel
Proxmox Host
ESP8266 + MQTT

01 // Problem Statement

Residential networks sit behind dynamic IPs, NAT/CGNAT, and unstable power—making reliable self-hosting tricky without exposing open ports.

02 // Architecture Overview

Outbound-only WireGuard and Cloudflare Tunnels bridge the Proxmox node to an Oracle Cloud ingress/failover node, while ESP8266 nodes manage physical power states.

03 // Key Engineering Decisions

  • >Avoided opening router ports entirely by routing all ingress through encrypted tunnels.
  • >Used MQTT for lightweight, decoupled hardware telemetry and remote power actuation.

04 // Implementation Highlights

  • >Built virtualized local compute infrastructure running multiple Proxmox VMs with automated failover to Oracle Cloud.
  • >Eliminated residential port forwarding and CGNAT exposure using WireGuard VPN and Cloudflare Tunnels.
  • >Engineered worldwide remote physical PC power-on control using ESP32/ESP8266 microcontrollers and MQTT messaging.
NEXT_UP: Full network topology IP plan, Proxmox VM layout, and failover scripts to be documented in detail.