chore: update device-agent submodule + docker-compose + portfolio docs
This commit is contained in:
@@ -220,6 +220,15 @@ Device health polled every 10 seconds:
|
||||
└─────────────────────────────────────────┘
|
||||
```
|
||||
|
||||
### Server-Side Config Sync
|
||||
|
||||
Config changes (firewall rules, AllowedIPs, DNS, endpoint) are detected via SHA256 hash comparison:
|
||||
|
||||
- Server computes `config_hash = SHA256(tunnelFields) + ":" + SHA256(forwards)`
|
||||
- Agent compares with previous hash → if different → tunnel rebuilds automatically
|
||||
- Works over both HTTP heartbeat (30s) and gRPC (immediate)
|
||||
- Agent never caches config — server loads fresh from DB each heartbeat
|
||||
|
||||
### QR Code Setup
|
||||
|
||||
Generate QR codes for mobile WireGuard clients:
|
||||
|
||||
Reference in New Issue
Block a user