WireGuard
WireGuard servers are added on the Own server tab. The fields map one to one onto a standard wg0.conf:
| wg0.conf | Field in DubiDubi |
|---|---|
[Interface] PrivateKey | Client private key |
[Interface] Address | Tunnel address |
[Peer] PublicKey | Server public key |
[Peer] PresharedKey | Preshared key (optional) |
[Peer] Endpoint host | Server address |
[Peer] Endpoint port | Port |
Things to know
- Tunnel address is the client's address inside WireGuard, for example
10.0.0.2/32— not the server's address. Several addresses can be separated with commas. - The endpoint needs a port.
wg.example.comalone is not enough; the port field is required. - Latency is not measured. WireGuard listens on UDP, and the latency test uses TCP, so the server list shows a dash.
- IPv6 endpoints are not supported yet.
As JSON
A WireGuard server can also be pasted as an Xray outbound in JSON on the Link or key tab:
{
"protocol": "wireguard",
"settings": {
"secretKey": "<client private key>",
"address": ["10.0.0.2/32"],
"peers": [{ "publicKey": "<server public key>", "endpoint": "wg.example.com:51820" }]
}
}