Files
wiki/TOOLS_dontuse_old.md
2026-04-12 21:55:33 +03:00

96 lines
3.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# TOOLS.md - Local Notes
Skills define _how_ tools work. This file is for _your_ specifics — the stuff that's unique to your setup.
## What Goes Here
Things like:
- Camera names and locations
- SSH hosts and aliases
- Preferred voices for TTS
- Speaker/room names
- Device nicknames
- Anything environment-specific
## Examples
```markdown
### Cameras
- living-room → Main area, 180° wide angle
- front-door → Entrance, motion-triggered
### SSH
- home-server → 192.168.1.100, user: admin
### TTS
- Preferred voice: "Nova" (warm, slightly British)
- Default speaker: Kitchen HomePod
```
## Why Separate?
Skills are shared. Your setup is yours. Keeping them apart means you can update skills without losing your notes, and share skills without leaking your infrastructure.
### SSH
- **mva154 (хост-машина)** → `slin@82.22.50.71`
- Ключ: `/home/node/.openclaw/ha_ssh_key`
- Docker-compose: `/home/slin/openclaw/docker-compose.yml`
- **Правила работы:**
- Любые действия — только после явного ОК от Славы
- Перед изменением файла — бэкап с датой: `filename.bak-YYYYMMDD-HHMMSS`
- После изменений — проверить `docker compose config` перед рестартом
### Релей-сервер (185.130.212.192)
- **SSH root:** `root@185.130.212.192`
- Пароль: `AR5f7_T-bA`
- FRPs: port 7000, token: `frp_vpnsrv_2026_secret`
- SSH туннель: port 3322 → vpn-srv:22
### VPN-сети
- **vpn-srv (Proxy VM):** `192.168.2.200`
- Ubuntu, Xray VLESS Reality, frp, iptables tproxy
- `transparent-proxy.sh` — скрипт tproxy в `/home/vpn/transparent-proxy.sh`
- **SSH:** `vpn@185.130.212.192 -p 3322` (FRP туннель)
- **Password:** `meNt85doC`
- **SSH-ключ:** `ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOhWOKFTQqFkSAgWhypxUQLLndoYDcZ5qM6e5soO/zKm stream-assistant`
- **ens18:** 192.168.4.2/24 + 192.168.2.200/24
- **ens19:** 192.168.4.1/24 (UP, Homenet_vpn шлюз)
- **Xray:** port 12345 tproxy → VLESS 43.245.226.231:53903 (Reality)
- **TV subnet:** 192.168.4.0/24 (Wi-Fi Homenet_vpn)
### VPN-сеть
- **vpn-srv (Proxy VM):** `192.168.2.200`
- Ubuntu, Xray VLESS Reality, frp, iptables tproxy
- `transparent-proxy.sh` — скрипт tproxy
- **Проблема:** frpc отключился 09.04, не переподключается
### FRP (Fast Reverse Proxy)
- **Схема:**
```
Стрим (frpc) ──→ 185.130.212.192:7000 (frps) ←── vpn-srv (frpc)
```
- **frps на релее:** port 7000, token `frp_vpnsrv_2026_secret`
- **vpn-srv remote_port:** 3322 (ssh → vpn-srv:22)
- **Стрим:** нужен свой remote_port, например 3333
### Сервисы на mva154
| URL | Порт контейнера | Описание |
|-----|----------------|----------|
| `/noisemap/` | `172.19.0.3:5555` | Карта шумового загрязнения FR24 |
| `/snowbike-rag/` | `172.19.0.3:5557` | Snowbike RAG поиск |
| `/snowbike/` | `172.19.0.3:5556` | База знаний сноубайков |
---
Add whatever helps you do your job. This is your cheat sheet.