This repository has been archived on 2026-07-09. You can view files and clone it, but cannot push or open issues or pull requests.
agent-knowledge-base-archived/locations/home-cluster-192-168-170.md

3.9 KiB
Raw Blame History

Home Cluster — 192.168.170.x

Last updated: 2026-06-23

Topology

Host IP User Access Role
Keenetic Peak 192.168.170.1 admin Telnet only (HTTP API broken) Router/DNS/VPN
TrueNAS 192.168.170.22 truenas_admin SSH password (0000) NAS/ZFS/NFS
Docker host 192.168.170.30 root SSH key id_ed25519 84 Docker services
Proxmox 192.168.170.40 root sshpass -p cityweek Hypervisor
CT100 Forgejo 192.168.170.41 — via pct exec 100 on Proxmox Git server
CT102 MCP Hub 192.168.170.43 — via pct exec 102 on Proxmox MCP servers
CT200 VPN GW 192.168.170.254 — via pct exec 200 on Proxmox AmneziaWG + vpn-ui
qore AI 192.168.170.70 root SSH key id_ed25519 Ollama+ComfyUI

SSH Notes

  • Docker host, qore: ssh -i ~/.ssh/id_ed25519 root@<ip>
  • Proxmox: sshpass -p "cityweek" ssh -o StrictHostKeyChecking=no root@192.168.170.40
  • TrueNAS: sshpass -p "0000" ssh -o StrictHostKeyChecking=no truenas_admin@192.168.170.22
  • CT100/102/200: no direct SSH — use pct exec <vmid> -- bash -c '...' from Proxmox
  • Keenetic: telnet 192.168.170.1 (user: admin, pass: cityweek)

Git Remote

Forgejo SSH (always):

git remote set-url origin git@192.168.170.41:post/network.git

SSH config: ~/.ssh/config → Host 192.168.170.41, IdentityFile ~/.ssh/id_ed25519

DO NOT use HTTP with password in URL — breaks Forgejo token auth and is insecure.

Services

See services.md for full URL list.

Monitoring dashboard: http://192.168.170.30:3001 (Grafana, admin/cityweek)

CT200 VPN Gateway (192.168.170.254)

Web UI: http://192.168.170.254:8088 — admin / bSNMx7H9OlQ3XiAI Access: sshpass -p cityweek ssh root@192.168.170.40 "pct exec 200 -- bash -c '...'"

Services on CT200

  • amnezia-vpn.service — AmneziaWG tunnel (awg0)
  • vpn-ui.service — Flask :8088
  • dnsmasq.service — DNS + nftset population
  • vpn-watchdog.timer — auto-reconnect every 60s

VPN Servers

Name Endpoint Status
awgPeak 45.12.135.156:41934 ✅ active
nuxtcloud 31.76.18.238:32312 reserve

Critical Rules

  • VPN restart: ALWAYS use systemctl restart amnezia-vpn.service (never awg-quick directly)
  • dnsmasq nftset: NO 4, prefix — use inet#vpn_filter#set_name (libnftables 1.0.6 bug)
  • IDN domains: convert to Punycode (рф → xn--p1ai) before writing to dnsmasq config
  • No .bak files in /etc/dnsmasq.d/ — dnsmasq loads them and fails to start
  • Custom rules persist: vpn-domains.conf regenerated from DB on every reload/restart

Direct (no VPN) domains

.ru, .рф (xn--p1ai), .su, vk.com, yandex.com → vpn_exclude_ips (direct)

Site-to-Site VPN: 192.168.170.x ↔ 192.168.255.x

Tunnel between Keenetic Peak (home) and Keenetic Hero 4G+ (wifi/mobile network).

192.168.170.0/24               192.168.255.0/24
Keenetic Peak                  Keenetic Hero 4G+
Wireguard2 172.16.16.1 ←────→ Wireguard1 172.16.16.2
security-level: private         security-level: public + ip nat

Fix applied (2026-06-23)

  • Keenetic-170 Wireguard2: security-level private (was public — blocked incoming traffic)
  • WiFi router Wireguard1: security-level public + ip nat Wireguard1 (NAT masquerades client IPs as 172.16.16.2)
  • Result: ALL cluster nodes reachable from WiFi network at ~25–300ms

Telnet commands to restore if broken

On Keenetic-170 (192.168.170.1):

interface Wireguard2
  security-level private
exit
system configuration save

On WiFi router (192.168.255.1):

ip nat Wireguard1
interface Wireguard1
  security-level public
exit
system configuration save

TrueNAS SCALE Notes

OS filesystem is immutable (read-only ZFS snapshot). Binaries must be installed to /mnt/datapool/ (writable ZFS pool). See: problems/truenas-scale-read-only-os-filesystem.md