O
O
Orc2018-06-03 11:53:55
openvpn
Orc, 2018-06-03 11:53:55

How to fix VPNFace Lite connection error?

Cloud VPS, Ubuntu 16.04 - 64-bit Minimal, clean (tried clean on Debian), ports 1194 and 8808 allowed.
Installation by vpnface-lite.readthedocs.io was successful, the web service interface started on port 8808 without problems, but when the client tries to connect, OpenVPN GUI on Windows 10 x64 gives an error:
...
Sun Jun 03 15:03:24 2018 UDP link local: (not bound)
Sun Jun 03 15:03:24 2018 UDP link remote: [AF_INET]xxxx:1194
Sun Jun 03 15:03:24 2018 MANAGEMENT: >STATE:1528013004,WAIT,,,,,,
Sun Jun 03 15:04:24 2018 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Sun Jun 03 15:04:24 2018 TLS Error: TLS handshake failed...
...
Client config : [email protected]
...
client
dev tun
proto udp
remote server_ip-address 1194
nobind
user nobody
group nogroup
persist-key
persist-tun
remote-cert-tls server
key-direction 1
cipher AES-256-CBC
auth SHA256
verb 3
... further standard keys ...
Server config: adm.conf
...
#
port 1194
proto udp
dev tun0
ca adm/ca.crt
cert adm/adm.crt
key adm/adm.key
dh adm/dh2048. pem
server 10.1.0.0 255.255.255.0
ifconfig-pool-persist /var/log/openvpn/ipp-adm.txt
client-to-client
keepalive 10 120
tls-auth adm/ta.key 0
key-direction 0
cipher AES-256-CBC
auth SHA256
crl-verify adm /crl.pem
management 127.0.0.1 2294
max-clients 100
user nobody
group nogroup
persist-key
persist-tun
status /var/log/openvpn/adm-status.log
log-append /var/log/openvpn/adm.log
verb 3
explicit-exit-notify 1
...
Tried installing VPNFace Lite on Debian - same result. Moreover, on the same VPS, on the same OS, when installing OpenVPN manually, the client connects without problems. Where to dig, tell me ...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Orc, 2018-06-04
@z0ddak

It was a version mismatch between the OpenVPN client and server. Brought it in line and it worked.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question