mirror of
https://github.com/ngoduykhanh/wireguard-ui.git
synced 2025-07-22 19:33:32 +03:00
add friendly_name param
This commit is contained in:
parent
2fdafd34ca
commit
dd8f4742e7
6 changed files with 27 additions and 7 deletions
|
@ -25,6 +25,7 @@ Table = {{ .globalSettings.Table }}
|
|||
# Notes:
|
||||
# {{ .Client.AdditionalNotes }}{{end}}
|
||||
[Peer]
|
||||
# friendly_name = {{ .Client.FriendlyName }}
|
||||
PublicKey = {{ .Client.PublicKey }}
|
||||
{{if .Client.PresharedKey}}PresharedKey = {{ .Client.PresharedKey }}{{end}}
|
||||
AllowedIPs = {{$first :=true}}{{range .Client.AllocatedIPs }}{{if $first}}{{$first = false}}{{else}},{{end}}{{.}}{{end}}{{range .Client.ExtraAllowedIPs }},{{.}}{{end}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue