29 lines
437 B
Text
29 lines
437 B
Text
{{ define "base" }}# Client configuration for {{ .User }}@{{ .Name }}
|
|
client
|
|
dev {{ .Dev }}
|
|
remote {{ .Host }} {{ .Port }} {{ .Proto }}
|
|
resolv-retry infinite
|
|
nobind
|
|
persist-key
|
|
persist-tun
|
|
|
|
cipher AES-256-CBC
|
|
auth SHA512
|
|
ns-cert-type server
|
|
key-direction 1
|
|
tls-version-min 1.2
|
|
;comp-lzo
|
|
verb 3
|
|
|
|
<ca>
|
|
{{ .CA | html }}</ca>
|
|
|
|
<cert>
|
|
{{ .Cert | html }}</cert>
|
|
|
|
<key>
|
|
{{ .Key | html }}</key>
|
|
|
|
<tls-auth>
|
|
{{ .TA | html }}</tls-auth>
|
|
{{ end }}
|