Browse Source

Update remplate for easy integarion with https://github.com/MindFlavor/prometheus_wireguard_exporter

pull/224/head
Maksim Fominov 4 years ago
parent
commit
1f6e862171
No known key found for this signature in database GPG Key ID: 28301CE32B099C53
  1. 2
      src/lib/WireGuard.js

2
src/lib/WireGuard.js

@ -105,6 +105,8 @@ PostDown = ${WG_POST_DOWN}
# Client: ${client.name} (${clientId})
[Peer]
# friendly_name = ${client.name}
# (${clientId})
PublicKey = ${client.publicKey}
PresharedKey = ${client.preSharedKey}
AllowedIPs = ${client.address}/32`;

Loading…
Cancel
Save