hvpn-node3/templates/client.ini.tmpl

13 lines
317 B
Cheetah
Raw Permalink Normal View History

[Interface]
Address = {{ .Address }}
PrivateKey = {{ .PrivateKey }}
DNS = {{$dnss := .DNS}}{{range $index, $element := .DNS}}{{if $index}}, {{end}}{{$element.String}}{{end}}
MTU = {{ .MTU }}
[Peer]
PublicKey = {{ .Peer.PublicKey }}
Endpoint = {{ .Endpoint }}
AllowedIPs = 0.0.0.0/0, ::0/0
PersistentKeepalive = 25