0
0
mirror of https://github.com/vx3r/wg-gen-web.git synced 2025-04-01 16:36:52 +00:00

Added support for friendly_name tag

This commit is contained in:
Fernando Garcia Fernandez 2023-10-07 09:34:33 +02:00
parent 4fd1e34f5f
commit c7d29eac1e

View File

@ -234,6 +234,7 @@ PostDown = {{ .Server.PostDown }}
{{ if .Enable -}}
# {{.Name}} / {{.Email}} / Updated: {{.Updated}} / Created: {{.Created}}
[Peer]
# friendly_name = {{.Name}}
PublicKey = {{ .PublicKey }}
PresharedKey = {{ .PresharedKey }}
AllowedIPs = {{ StringsJoin .Address ", " }}