H
H
hrystenko2016-01-11 12:50:53
openvpn
hrystenko, 2016-01-11 12:50:53

Why is the client not connecting to the OpenVPN server?

Server settings:

port 1194
mode server
proto tcp
dev tun
ca ca.crt
cert OpenVPN.crt
key OpenVPN.key
dh dh1024.pem
client-to-client
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push route 192.168.1.0 255.255 .255.0
;push redirect-gateway tun0
route 10.47.1.0 255.255.255.0
keepalive 10 120
comp-lzo
persist-key
persist-tun
status openvpn-status.log
client-config-dir C:\\ccd\\
verb 3

Client settings:
client
dev tun
proto tcp
remote 10.8.0.0 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert client.crt
key client.key
ns-cert-type server
comp-lzo
verb 3

connection error:
Mon Jan 11 11:51:25 2016 OpenVPN 2.3.10 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [PKCS11] [IPv6] built on Jan 4 2016
Mon Jan 11 11:51:25 2016 Windows version 6.2 (Windows 8 or greater)
Mon Jan 11 11:51:25 2016 library versions: OpenSSL 1.0.1q 3 Dec 2015, LZO 2.09
Mon Jan 11 11:51:25 2016 MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1: 25340
Mon Jan 11 11:51:25 2016 Need hold release from management interface, waiting...
Mon Jan 11 11:51:25 2016 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:25340
Mon Jan 11 11:51: 26 2016 MANAGEMENT: CMD 'state on'
Mon Jan 11 11:51:26 2016 MANAGEMENT: CMD 'log all on'
Mon Jan 11 11:51:26 2016 MANAGEMENT: CMD 'hold off'
Mon Jan 11 11:51:26 2016 MANAGEMENT: CMD'hold release'
Mon Jan 11 11:51:26 2016 Socket Buffers: R=[65536->65536] S=[65536->65536]
Mon Jan 11 11:51:26 2016 Attempting to establish TCP connection with [AF_INET]10.8.0.0: 1194 [nonblock]
Mon Jan 11 11:51:26 2016 MANAGEMENT: >STATE:1452505886,TCP_CONNECT,,,
Mon Jan 11 11:51:36 2016 TCP: connect to [AF_INET]10.8.0.0:1194 failed, will try again in 5 seconds: The system tried to join a drive to a directory on a joined drive.
Mon Jan 11 11:51:41 2016 MANAGEMENT: >STATE:1452505901,TCP_CONNECT,,,
Mon Jan 11 11:51:51 2016 TCP: connect to [AF_INET]10.8.0.0:1194 failed, will try again in 5 seconds: The system tried to join a drive to a directory on a joined drive.
Mon Jan 11 11:51:56 2016 MANAGEMENT: >STATE:1452505916,TCP_CONNECT,,,
Mon Jan 11 11:52:07 2016 TCP: connect to [AF_INET]10.8.0.0:1194 failed, will try again in 5 seconds: The system tried to join a drive to a directory on a joined drive.
Mon Jan 11 11:52:12 2016 MANAGEMENT: >STATE:1452505932,TCP_CONNECT,,,

and so the connection goes in a circle but does not connect
Tell me what could be the reason?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan, 2016-01-11
@hrystenko

remote 10.8.0.0 1194

Specify the correct IP of the server.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question