M
M
Mikhail Gavrilyuk2019-11-17 22:13:03
Mikrotik
Mikhail Gavrilyuk, 2019-11-17 22:13:03

How to connect to OVPN server on Mikrotik?

I managed to connect to the office on the OVPN server on Mikrotik.
I decided to make an ovpn server at home as well.
I transferred the settings to my home router, but I can't connect.
I tried to recreate certificates.
OVPN logs:
Mon Nov 18 00:08:40 2019 Windows version 6.1 (Windows 7) 64bit
Mon Nov 18 00:08:40 2019 library versions: OpenSSL 1.1.0l 10 Sep 2019, LZO 2.10
Mon Nov 18 00:08:40 2019 MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:25340
Mon Nov 18 00:08:40 2019 Need hold release from management interface, waiting...
Mon Nov 18 00:08:41 2019 MANAGEMENT: Client connected from [ AF_INET]127.0.0.1:25340
Mon Nov 18 00:08:41 2019 MANAGEMENT: CMD 'state on'
Mon Nov 18 00:08:41 2019 MANAGEMENT: CMD 'log all on'
Mon Nov 18 00:08:41 2019 MANAGEMENT: CMD 'echo all on'
Mon Nov 18 00:08:41 2019 MANAGEMENT: CMD 'bytecount 5'
Mon Nov 18 00:08:41 2019 MANAGEMENT: CMD 'hold off'
Mon Nov 18 00:08:41 2019 MANAGEMENT: CMD 'hold release'
Mon Nov 18 00:08:41 2019 TCP/UDP: Preserving recently used remote address : [AF_INET]XXX.XXX.XXX.XXX:1194
Mon Nov 18 00:08:41 2019 Socket Buffers: R=[8192->8192] S=[8192->8192]
Mon Nov 18 00:08:41 2019 Attempting to establish TCP connection with [AF_INETXXX.XXX.XXX.XXX:1194 [nonblock]
Mon Nov 18 00:08:41 2019 MANAGEMENT: >STATE:1574017721,TCP_CONNECT,,,,,,
Mon Nov 18 00:10:41 2019 TCP: connect to [AF_INET]XXX.XXX.XXX.XXX:1194 failed: Unknown error

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Mikhail Gavrilyuk, 2019-11-17
@Ameon

I asked the question myself. I'll answer myself.
The provider issues gray addresses. As a result, the ports are closed. I called the provider (they gave a white ip, but they said that it could fly off and that such opportunities are not always available). On statics always white ip. So I think now it's worth thinking about statics.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question