Title: Synet Gateway
Last Update: 02.05.25
The Synet Gateway is a secure bridge between external agents and Synet's decentralized IPv6 network. It handles secure WireGuard tunnels, dynamic/static IP allocation, and optional service registration assistance.
Its primary role:
Each Gateway ensures agents can join Synet safely, predictably, and independently.
Gateways are approved nodes — only trusted gateways can issue real Synet IPs (with root server cross-verification).
Area | Description |
---|---|
WireGuard Management | Create secure tunnels for connecting agents. |
Dynamic IP Assignment | Issue temporary IP addresses on connect. |
Static IP Reservation | Issue fixed IPs for registered services (via Synet Root Authority). |
Authentication | Validate agents before allowing network access (optional). |
Gateway Metrics | Monitor active clients, issued IPs, bandwidth (optional future feature). |
wg
, wg-quick
) — low-level tunnel management.flowchart TB
A[External Agent] --> B[WireGuard Tunnel Request]
B --> C[Synet Gateway]
C --> D[Issue Dynamic IP]
C --> E[Lookup Static IP from Synet Root]
D --> F[WireGuard Network]
E --> F
Endpoint | Method | Purpose |
---|---|---|
/connect |
POST | Request new WireGuard config and dynamic IP. |
/request-static-ip |
POST | Request pre-approved static IP (requires signed proof). |
/status |
GET | Retrieve session details (assigned IP, uptime). |
/disconnect |
POST | Disconnect and remove session. |
/connect
.Example dynamic assignment:
fd00:1::2000/112
Static IP example:
fd00:1::100/112
Agent calls:
POST /connect
{
"agent_pubkey": "base64..."
}
Gateway responds:
{
"private_key": "private_key_here",
"public_key": "gateway_public_key",
"client_ip": "fd00:1::2000/112",
"endpoint": "gateway.synet.network:51820"
}
Agent installs configuration and joins.