[2026-06-01] syncthing: add port 22000 forwarding docs
This commit is contained in:
@@ -33,6 +33,23 @@ TrueNAS (syncthing контейнер)
|
||||
- **Авторизация:** встроенная GUI Authentication Syncthing (не Caddy basic_auth)
|
||||
- **Локально на TrueNAS:** `http://localhost:8384`
|
||||
|
||||
## ⚠️ Проброс порта 22000 (открытие доступа из интернета)
|
||||
|
||||
Для прямого P2P-соединения Syncthing использует порт 22000 (TCP+UDP). Без него телефон на мобильном интернете не может соединиться с сервером — соединение идёт по WAN, а не через Caddy.
|
||||
|
||||
Проброс настраивается на OpenWrt (роутер):
|
||||
- **Forward WAN → 192.168.2.197:22000** (TCP+UDP)
|
||||
- Если доступа к OpenWrt нет — через iptables на TrueNAS:
|
||||
```bash
|
||||
sudo /sbin/iptables -t nat -A PREROUTING -i enp3s0 -p tcp --dport 22000 -j DNAT --to-destination 192.168.2.197:22000
|
||||
sudo /sbin/iptables -t nat -A PREROUTING -i enp3s0 -p udp --dport 22000 -j DNAT --to-destination 192.168.2.197:22000
|
||||
sudo /sbin/iptables -A FORWARD -p tcp --dport 22000 -j ACCEPT
|
||||
sudo /sbin/iptables -A FORWARD -p udp --dport 22000 -j ACCEPT
|
||||
```
|
||||
|
||||
После проброса на телефоне в настройках устройства Syncthing:
|
||||
- Поле **Addresses**: `quic://syncthing.mallexxx.duckdns.org:22000` (без tcp://, только QUIC — UDP-порт открыт, TCP может быть закрыт)
|
||||
|
||||
## Контейнер
|
||||
|
||||
**Compose:** `/mnt/RED_2TB/docker/syncthing/docker-compose.yml`
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
## Inbox Triage — 2026-06-01 (since 2026-06-01 12:01)
|
||||
## Inbox Triage — 2026-06-01 (since 2026-06-01T12:30:54)
|
||||
|
||||
### Nothing new
|
||||
Inbox quiet — nothing new.
|
||||
|
||||
_No new @mentions, no new task assignments, no new human comments on your open tasks, and no delegated state changes in the 38 minutes since the previous triage at 12:01. The only post-SINCE Asana activity was on tasks outside your scope (Alessandro/Costas iterating on "Chat Response" styling tasks assigned to Alessandro, Domen completing his own OOO task) and one Dax bot metrics post on Dominik's "macOS browser usage by OS version" AOR. Nothing requires your attention._
|
||||
_No new @mentions, no new task assignments, no new human comments on your open tasks, and no delegated-task state changes in the ~30 minutes since SINCE. The only post-SINCE Asana stories were on tasks outside your scope (Lukasz P. OOO confirmation; Alessandro iterating on a "Chat Response: Liquid Glass Button Disabled State Styling" task assigned to him). Nothing requires your attention._
|
||||
|
||||
Reference in New Issue
Block a user