hvpn-node3/templates/client.ini.tmpl

13 lines
320 B
Cheetah
Raw Normal View History

[Interface]
Address = {{ .Address }}/24
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