S
S
Sergey Bydanov2016-10-18 16:04:30
openvpn
Sergey Bydanov, 2016-10-18 16:04:30

How to find an error in the OpenVPN config?

I'm setting up an OpenVPN server on Mikrotik, according to this article on Habré
I can't connect to the server. Connection log:

Tue Oct 18 16:55:55 2016 OpenVPN 2.3.12 i686-w64-mingw32 [SSL (OpenSSL)] [LZO] [PKCS11] [IPv6] built on Aug 23 2016
Tue Oct 18 16:55:55 2016 Windows version 5.1 (Windows XP) 32bit
Tue Oct 18 16:55:55 2016 library versions: OpenSSL 1.0.1t  3 May 2016, LZO 2.09
Enter Management Password:
Tue Oct 18 16:55:55 2016 MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:25340
Tue Oct 18 16:55:55 2016 Need hold release from management interface, waiting...
Tue Oct 18 16:55:55 2016 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:25340
Tue Oct 18 16:55:55 2016 MANAGEMENT: CMD 'state on'
Tue Oct 18 16:55:55 2016 MANAGEMENT: CMD 'log all on'
Tue Oct 18 16:55:55 2016 MANAGEMENT: CMD 'hold off'
Tue Oct 18 16:55:55 2016 MANAGEMENT: CMD 'hold release'
Tue Oct 18 16:55:59 2016 MANAGEMENT: CMD 'password [...]'
Tue Oct 18 16:55:59 2016 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Tue Oct 18 16:55:59 2016 Deprecated TLS cipher name 'DEFAULT', please use IANA name 'DEFAULT'
Tue Oct 18 16:55:59 2016 Socket Buffers: R=[8192->8192] S=[8192->8192]
Tue Oct 18 16:55:59 2016 Attempting to establish TCP connection with [AF_INET]192.168.2.1:1194 [nonblock]
Tue Oct 18 16:55:59 2016 MANAGEMENT: >STATE:1476798959,TCP_CONNECT,,,
Tue Oct 18 16:56:09 2016 TCP: connect to [AF_INET]192.168.2.1:1194 failed, will try again in 5 seconds: Connection timed out (WSAETIMEDOUT)
Tue Oct 18 16:56:14 2016 MANAGEMENT: >STATE:1476798974,TCP_CONNECT,,,
Tue Oct 18 16:56:24 2016 TCP: connect to [AF_INET]192.168.2.1:1194 failed, will try again in 5 seconds: Connection timed out (WSAETIMEDOUT)
Tue Oct 18 16:56:29 2016 MANAGEMENT: >STATE:1476798989,TCP_CONNECT,,,
Tue Oct 18 16:56:39 2016 TCP: connect to [AF_INET]192.168.2.1:1194 failed, will try again in 5 seconds: Connection timed out (WSAETIMEDOUT)
Tue Oct 18 16:56:44 2016 MANAGEMENT: >STATE:1476799004,TCP_CONNECT,,,
Tue Oct 18 16:56:47 2016 SIGTERM[hard,init_instance] received, process exiting
Tue Oct 18 16:56:47 2016 MANAGEMENT: >STATE:1476799007,EXITING,init_instance,,

What could be the reason? And what kind of Yana is this: Deprecated TLS cipher name 'DEFAULT', please use IANA name 'DEFAULT'?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Bydanov, 2016-10-19
@sergarcada

In short: the OpenVPN server on mikrotik is bullshit.
The problem was indeed in the network connection. From somewhere in the outside world, a point was found with the same ip as on the router. Changed ip and still didn't work. The answer was found in another thread on the toaster. The author of that question, by the way, is also the author of the very article to which I refer. Such is the cycle.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question