ovpn-certman/assets/templates/files/config.ovpn

30 lines
437 B
Plaintext
Raw Normal View History

2018-02-03 18:14:47 +01:00
{{ define "base" }}# Client configuration for {{ .User }}@{{ .Name }}
2018-02-01 09:31:06 +01:00
client
dev {{ .Dev }}
remote {{ .Host }} {{ .Port }} {{ .Proto }}
2018-02-01 09:31:06 +01:00
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>
2018-02-01 09:31:06 +01:00
<cert>
2018-02-03 18:14:47 +01:00
{{ .Cert | html }}</cert>
2018-02-01 09:31:06 +01:00
<key>
2018-02-03 18:14:47 +01:00
{{ .Key | html }}</key>
2018-02-01 09:31:06 +01:00
<tls-auth>
{{ .TA | html }}</tls-auth>
2018-02-01 09:31:06 +01:00
{{ end }}