aAPT
dDebian
fFFmpeg
jJava
mMercurial: Usage
oOCaml
pPostgreSQL

Home Applications Wireguard

Wireguard Endpoint (Windows)

Creating tunnel

1. Install windows client (same as for peer installation). Don't create any tunnels.

2. Generate private key:

wg genkey

3. Optionally find out public key (for peer configuration):

wg pubkey
PRIVATE_KEY + [Enter] + [Ctrl+Z]

4. Create configuration file (e.g. C:\Program Files\WireGuard\Data\endpoint.conf, substitute pretty name instead of endpoint):

[Interface]
PrivateKey = SERVER_PRIVATE_KEY
ListenPort = 51821
Address = 10.10.1.1/24

[Peer]
PublicKey = CLIENT_PUBLIC_KEY
AllowedIPs = 10.10.1.2/32

5. Register tunnel (it will be restored automatically after reboot):

wireguard /installtunnelservice "C:\Program Files\WireGuard\Data\endpoint.conf"

Removing tunnel

wireguard /uninstalltunnelservice endpoint

See also

Peer configuration (Windows)