1
0
Fork 0
mirror of synced 2024-11-17 14:35:35 -05:00
ovpn-admin/client.conf.tpl
Vitaliy Snurnitsin 9f4c4e2c5c Initial
2020-05-15 02:13:33 +03:00

26 lines
401 B
Smarty

remote {{ .Host }} {{ .Port }} tcp
verb 4
client
nobind
dev tun
cipher AES-128-CBC
key-direction 1
#redirect-gateway def1
tls-client
remote-cert-tls server
# for update resolv.conf on ubuntu
#script-security 2 system
#up /etc/openvpn/update-resolv-conf
#down /etc/openvpn/update-resolv-conf
<cert>
{{ .Cert -}}
</cert>
<key>
{{ .Key -}}
</key>
<ca>
{{ .CA -}}
</ca>
<tls-auth>
{{ .TLS -}}
</tls-auth>