소스 검색

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 년 전
부모
커밋
edf44af7cb
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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>