chore: build

This commit is contained in:
Xor290
2026-10-26 21:01:06 +01:00
parent 8e36acd812
commit 1eeca2b368
52 changed files with 1206 additions and 253 deletions
+15 -1
View File
@@ -23,8 +23,9 @@ Firewall rules for monitoring stack with Wazuh, Dozzle, Beszel, and VPN infrastr
| 51820 | UDP | Any | WireGuard VPN | ALLOW |
| 443 | TCP | 10.0.0.0/24 | Wazuh Dashboard (VPN) | ALLOW |
| 8080 | TCP | 10.0.0.0/24 | Dozzle logs (VPN) | ALLOW |
| 8090 | TCP | 10.0.0.0/24 | Beszel monitoring (VPN) | ALLOW |
| 8090 | TCP | 10.0.0.0/24 | Beszel dashboard (VPN only, never public) | ALLOW |
| 9000-9001 | TCP | 10.0.0.0/24 | S3/RustFS (VPN) | ALLOW |
| 10002 | TCP | 176.116.0.189, 93.185.167.134, 185.139.215.125, 5.252.20.74 (k3s-prod, hors VPN) | Beszel agents k3s — `/api/` uniquement, voir nginx.conf | ALLOW |
### Outbound Rules (OUTPUT)
- **Default:** ACCEPT (all traffic allowed)
@@ -138,6 +139,19 @@ Beszel agents installed on all infrastructure servers:
**Note:** vpn-uber agent is accessible **only from VPN** due to firewall rules.
### k3s cluster (reverse direction)
Unlike the servers above (Hub connects OUT to the agent), the k3s DaemonSet
agents connect OUT to the Hub instead — cluster nodes aren't on the VPN mesh
and there's no single stable "agent" endpoint per pod to dial into. Hub's
reverse-connection port (10002, see nginx.conf) is exposed publicly but
restricted to the 4 k3s-prod node IPs + `/api/` path only — the dashboard
itself (8090) is never touched by this and stays VPN-only.
| Server | Type | Direction | Port | Access |
|--------|------|-----------|------|--------|
| k3s-prod (4 nodes) | Kubernetes DaemonSet | Agent → Hub | 10002 (Hub side) | Hub's public IP, restricted to the 4 node IPs (see `omnex/ansible/inventory/host.ini`) |
---
## Troubleshooting