Back to projects

Homelab &
Private AI.

An Oracle Cloud server, a Proxmox cluster at home and a GPU machine, all joined over Tailscale. Public traffic comes in through Cloudflare to the cloud server and crosses the mesh to the services at home. The language models run on my own GPU, and nothing at home has an open port.

OCI Ampere A1 edge P2P Tailscale mesh PVE Proxmox homelab GPU Local AI compute

How It's Connected

My home router has no open ports, and the OCI server only accepts Tailscale connections, so a port scan finds nothing on either. Public requests come in through Cloudflare Tunnels to the OCI server, which passes them over the encrypted mesh to services at home. The GPU machine is reachable through a Tailscale subnet route, so Open WebUI on OCI can send it requests without the GPU ever being exposed to the internet.

Internet
Cloudflare DDoS · DNS
OCI Edge Open WebUI · Traefik
Tailscale WireGuard P2P
GPU Node LM Studio · Qwen 3
OCI Ampere A1
Edge & Frontend
  • Open WebUI · :web-ui
  • Traefik · reverse proxy
  • Cloudflare Tunnels
  • CrowdSec IPS
Tailscale
WireGuard P2P
Proxmox VE
Homelab Core
  • Authentik · SSO / OIDC
  • Qdrant · vector DB
  • n8n · automation
  • Ollama · fallback inference
  • Grafana · Loki · Promtail
Subnet
Routing
GPU Compute
Inference Node
  • LM Studio · runtime
  • Qwen 3 · 27B / 35B
  • Tailscale subnet route

Running the Models Myself

I use Open WebUI on the OCI server for everything LLM-related. Requests go over Tailscale to LM Studio on the GPU machine at home, so my prompts never go through a third-party AI service.

Primary Inference · GPU Node
LM Studio

Runs Qwen 3 (27B and 35B) on the GPU and serves them through an OpenAI-compatible API. Open WebUI reaches it over Tailscale.

LM Studio Qwen 3 27B Qwen 3 35B
Frontend · OCI
Open WebUI

The chat interface I actually use, running in Docker on the OCI server. It talks to LM Studio the same way it would talk to any OpenAI-compatible provider.

Open WebUI Docker
Vector Memory · Proxmox
Qdrant & pgvector

Qdrant does the semantic search for RAG. Postgres with pgvector keeps embeddings next to regular data, which helps when a query needs both keyword and semantic matching.

Qdrant pgvector
Automation · Proxmox
n8n

Runs the automations: multi-step LLM workflows and hooks from the AI stack into other services, without writing glue code for each one.

n8n
Fallback Inference · Proxmox
Ollama

A fallback on the Proxmox cluster for small models and jobs that don't need the GPU, like embeddings and quick one-off requests.

Ollama
Observability · Proxmox
Grafana Stack

Promtail sends logs from every service to Loki, and Grafana shows service health and inference metrics. The Cowrie honeypot's logs went the same way while it was running.

Grafana Loki Promtail

Core Services

Everything else in the lab runs on the same Proxmox cluster as the AI services: DNS, storage, VMs and a few game servers kept apart from the rest.

Network & Discovery
AdGuard Home
Blocks ads and trackers for the whole network and gives every device DNS-over-HTTPS.
Traefik
Handles TLS with a wildcard *.tmkel.com certificate, issued through Cloudflare DNS-01 challenges.
Custom Dashboard
A plain HTML page with links to every internal service.
Storage & Virtualisation
Proxmox VE
A cluster of different machines running LXC containers and KVM virtual machines.
ZFS Arrays
ZFS storage with automatic snapshots.
Syncthing
Keeps files in sync between lab storage and my other devices directly, with no cloud in between.
Game Servers
Pterodactyl Panel
Runs the game servers in containers, kept separate from the main mesh.
Cloudflare Tunnels
Players connect through Cloudflare Tunnels with an IP allowlist, so these don't need open ports either.

Hardening the Lab

No Open Ports
The home router doesn't forward a single port. Everything comes in through Cloudflare Tunnels or Tailscale.
Identity & MFA
Authentik handles logins for the whole stack. Internal services sit behind it over OIDC or SAML, and every login needs a security key or a TOTP code.
WAF & Geoblocking
Cloudflare WAF rules block high-risk networks and regions before they reach the OCI server, which leaves less noise for CrowdSec.

Letting Attackers In

For a while a Cowrie SSH honeypot ran next to everything else and logged real attackers. Its logs went to Loki through Promtail like any other service, and Grafana showed the brute-force waves, the passwords being tried and what attackers ran once they got in.

homelab :: mesh_status
$tailscale status
oci-edgedirectonline
proxmox-pvedirectonline
gpu-computesubnetonline
$curl :inference/api/v0/models
{"data": [{"id": "qwen3-27b", "state": "loaded"}]}

The full results are on the SSH Honeypot Research page: where attackers came from, which passwords they reused and what they did after logging in.