Server Synchronization
v1.0
·
Updated 2 weeks ago
Server Synchronization
The client synchronizes periodically with the GateControl server.
Config Polling
Every 5 minutes (default), the client checks if the WireGuard configuration has changed on the server:
- Client sends current config hash to the server
- Server compares with current hash
- No change: No action
- Change detected: New config is downloaded, tunnel is briefly disconnected and reconnected with new config
Heartbeat
The client periodically sends its status to the server:
- Connection status (connected/disconnected)
- Traffic statistics (RX/TX bytes)
- Uptime
The server updates the Last seen timestamp of the peer accordingly.