wireguard-manager/templates/wg_client.ejs

11 lines
No EOL
313 B
Text

[Interface]
PrivateKey = <%= client.PrivateKey %>
Address = <%= client.allowedIps %>
DNS = 1.1.1.1
[Peer]
PublicKey = <%= server.publicKey %>
PresharedKey = <%= client.presharedKey %>
Endpoint = <%= server.endpoint %>:<%= server.listenPort %>
AllowedIPs = 0.0.0.0/0
PersistentKeepalive = <%= client.allowedIps %>