Complete request lifecycle through VPS → Pi Hub → Homelab
User accesses service via HTTPS from any device. DNS resolves to VPS public IP.
Request hits public VPS in Berlin. CrowdSec analyzes traffic for threats. Newt relay prepares to forward through tunnel.
Newt relay on VPS packages request and sends through encrypted Wireguard tunnel. VPS acts as "dumb pipe" - never sees decrypted content.
Raspberry Pi 5 receives encrypted traffic via Newt. Pangolin server terminates SSL, handles identity, and routes request to appropriate backend service on NAS.
Pi forwards decrypted request to NAS over local network. Docker network routes to target container based on domain/path.
Target container processes request. May access PostgreSQL databases, Redis cache, or BTRFS storage as needed.
Response travels back: NAS → Pi (re-encrypt) → Wireguard → VPS → Internet. Same encryption and security layers in reverse.