- All 4 machines reachable: TrueNAS .22, Docker .30, Proxmox .40 - Router: port forwarding 80/443→.30 active, DHCP static bindings, isolate-private DISABLED (was blocking WiFi→LAN) - Docker machine: 13 containers running (added Authentik, Monitoring, netboot.xyz vs original 7) - Proxmox: CT100 forgejo + CT102 mcp (CT101/CT103 removed) - MCP: 9 servers in CT102 + active in ~/.claude.json via npx/uvx - Next: NPM subdomains + Let's Encrypt SSL - skills: added router CLI gotchas (correct ip static syntax, Telnet vs SSH, isolate-private fix)
2.9 KiB
2.9 KiB
Skill: Home Cluster Docker Deployment Policy
Purpose
Rules for deploying services in the home AI cluster at 192.168.170.0/24.
Rules
All Docker-based services → 192.168.170.30 (Docker Engine machine).
Proxmox LXC containers (192.168.170.40) → native binaries and runtimes only.
Connecting to Router (Keenetic Peak 192.168.170.1)
Use Telnet, not SSH — SSH gets blocked by anti-bruteforce after repeated failed attempts.
expect -c "
spawn telnet 192.168.170.1
expect 'Login:'
send 'admin\r'
expect 'Password:'
send '<REDACTED>\r'
expect '(config)>'
send '<your command>\r'
expect '(config)>'
send 'system configuration save\r'
expect '(config)>'
send 'exit\r'
expect eof
"
Key Router Commands
# Port forwarding (correct syntax for this firmware)
ip static tcp GigabitEthernet0/Vlan2 <ext_port> <internal_ip>
# Static DHCP
ip dhcp host <mac:xx:xx:xx:xx:xx:xx> <ip>
# Disable WiFi isolation (fixes WiFi→LAN communication)
no isolate-private
# Add to hotspot allow-list
ip hotspot host <mac> permit
ip hotspot host <mac> conform
# Save
system configuration save
IMPORTANT: ip nat destination tcp 80 IP 80 is WRONG syntax on this firmware.
Correct: ip static tcp GigabitEthernet0/Vlan2 80 192.168.170.30
Adding a New Docker Service
- SSH to
root@192.168.170.30 mkdir -p /opt/stacks/<name>- Write
docker-compose.yml(and.env) cd /opt/stacks/<name> && docker compose up -d- Check ports:
docker ps --format '{{.Names}}: {{.Ports}}' - Update
locations/home-cluster-192-168-170.md
Adding a New LXC Container (Proxmox)
Only when NOT using Docker. All containers go on ssd storage:
pct create <VMID> local:vztmpl/debian-12-standard_12.12-1_amd64.tar.zst \
--hostname <name> --storage ssd --rootfs ssd:<GB> \
--memory <MB> --cores <N> \
--net0 name=eth0,bridge=vmbr0,ip=192.168.170.<X>/24,gw=192.168.170.1 \
--nameserver 192.168.170.1 --unprivileged 1 --features nesting=1
pct start <VMID>
pct exec <VMID> -- bash -c 'echo root:<REDACTED> | chpasswd'
IP Reservations
| IP | Role | MAC |
|---|---|---|
| 192.168.170.1 | Keenetic router | — |
| 192.168.170.10 | Machine 1 AI PC | TBD |
| 192.168.170.22 | Machine 4 TrueNAS | 6c:92:bf:3b:f7:1f |
| 192.168.170.30 | Machine 3 Docker Engine | 14:b3:1f:2b:ab:a1 |
| 192.168.170.40 | Machine 2 Proxmox | 6c:4b:90:21:43:cc |
| 192.168.170.41 | CT100 Forgejo | (virtual, static in Proxmox) |
| 192.168.170.43 | CT102 MCP Hub | (virtual, static in Proxmox) |
Common Gotchas
isolate-privateenabled → WiFi clients can't reach wired LAN → fix:no isolate-private- SSH to router gets blocked after ~5 failed auth attempts (15 min lockout) → use Telnet port 23
- Proxmox must be in
known hostbefore adding toip hotspot - Docker image
lscr.io/linuxserver/netbootxyzdoesn't support amd64 → useghcr.io/netbootxyz/netbootxyz