/ Homelab GPU Setup Guide

🖥️ Connect Your Homelab GPU

Register your GPU server with TradeVoice AI in 4 steps.

1Install cloudflared on your homelab

curl -L https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64 \
  -o /usr/local/bin/cloudflared && chmod +x /usr/local/bin/cloudflared

2Create a Cloudflare tunnel

cloudflared tunnel login
cloudflared tunnel create my-homelab-gpu

Copy the Tunnel ID from the output (format: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx)

3Register in your McLab profile

Go to Profile → Register Your Homelab Tunnel and fill in the form. After clicking Register, you'll see the exact command to run in step 4.

💡 LLM API Key is optional — enter it if your LLM service requires authentication (e.g. llamacpp --api-key or Caddy proxy key).

4Add ingress rule to your tunnel config

After registration, the success message shows the exact command. It looks like this:

# Add to ~/.cloudflared/config.yml
cat >> ~/.cloudflared/config.yml << 'EOF'
  - hostname: YOUR_LABEL-ollama.mclab.vip
    service: http://localhost:11434
EOF

sudo systemctl restart cloudflared

Port reference: ollama=11434, llamacpp=8080, lmstudio=1234, vllm=9000

← Back to Profile