Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions apps/netbird/routing-peer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,17 +107,16 @@ spec:
value: https://nb.doany.io
- name: NB_LOG_LEVEL
value: info
# 51820 ではなく 51822。元は wg-easy と併走していたときの回避で、
# あちらは撤去済み(2026-09-07)。戻す必然性が無いのでそのまま
# (STUN が外から通っているのでホールパンチは成立する)。
# WireGuard の口。下の hostPort と揃える。2026-10-18 までは wg-easy と併走していた頃の名残で 51822 だった。
# ルーターは DMZ で全部をノードに向けているので、番号を変えてもルーターは触らない(docs/router.md)。
- name: NB_WIREGUARD_PORT
value: "51822"
value: "51820"
ports:
# hostNetwork をやめたので、WireGuard の口は hostPort で出す。
# 無くても relay 経由で通信は成立するが、直接 P2P にならない。
- name: wireguard
containerPort: 51822
hostPort: 51822
containerPort: 51820
hostPort: 51820
protocol: UDP
securityContext:
capabilities:
Expand Down
2 changes: 1 addition & 1 deletion docs/router.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ DMZ の向け先を変えると、下の全部と AdGuard の split-horizon が
| 53 UDP・TCP / 853 TCP | AdGuard Home(DNS / DoT) | 開けている(下の「53 番は外にも開けている」) |
| 8443 UDP・TCP | LiveKit(Matrix の通話。apps/matrix/README.md) | 要る |
| 3478 UDP | NetBird の STUN(apps/netbird/) | 要る |
| 51822 UDP | NetBird の routing peer(WireGuard) | 要る |
| 51820 UDP | NetBird の routing peer(WireGuard) | 要る |
| 3129 TCP | 3proxy の TLS 口(apps/3proxy/) | 外から使うなら要る |
| 6443 TCP | Kubernetes の API(`ks.doany.io:6443`。recovery/README.md) | 要る(認証つき) |

Expand Down
2 changes: 1 addition & 1 deletion docs/talos.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ curl -X POST --data-binary @schematic.yaml https://factory.talos.dev/schematics
| --- | --- |
| `kube-system` | Cilium(privileged・hostNetwork・hostPath・SYS_ADMIN/NET_ADMIN・hostPort)。**Talos の側で例外にしてある** |
| `local-path-storage` | ヘルパー Pod の hostPath。[`talos/manifests/local-path.yaml`](../talos/manifests/local-path.yaml) がラベルを付ける |
| `netbird` | hostPort 3478(内蔵 STUN。UDP なのでゲートウェイを通せない)・51822、NET_ADMIN 等、hostPath |
| `netbird` | hostPort 3478(内蔵 STUN。UDP なのでゲートウェイを通せない)・51820、NET_ADMIN 等、hostPath |
| `denpa` | privileged・hostPath(`/dev/dvb`・`/dev/bus`・`/dev/dri`)、PT3 を付け直す DaemonSet([apps/pt3/](../apps/pt3/))。**ラベルは denpa リポジトリの `deploy/namespace.yaml`** にあり、gitops だけを grep すると抜けて見える |
| `adguardhome` | hostPort 53 / 853 |
| `matrix` | hostPort 8443(LiveKit) |
Expand Down
Loading