Jelajahi Sumber

refactor: use old verify method

Do not use the brand new, recommended by the docs, way of verifying your
certificate. Instead use the old way because older clients give error
when they process the config.
Mustafa Arici 8 tahun lalu
induk
melakukan
edf44af7cb
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      template/client.ovpn.tmpl

+ 1 - 1
template/client.ovpn.tmpl

@@ -5,13 +5,13 @@ dev tun
 proto udp
 remote {{ .Hostname }} {{ .Port }}
 resolv-retry infinite
-remote-cert-tls server
 ns-cert-type server
 nobind
 persist-key
 persist-tun
 comp-lzo
 verb 3
+auth-nocache
 
 <ca>
 {{ .CA }}</ca>