Community discussions

MikroTik App
 
HEki
just joined
Topic Author
Posts: 14
Joined: Mon Mar 28, 2022 7:04 pm

Connection reset, restarting [0]

Tue Jun 21, 2022 9:48 am

Dear forum members!

I have followed an online tutorial how to setup OpenVPN with MikroTik router.
1. I created ca, server and client certificates and than exported ca and client certificates
2. I created OVPN server
3. I created OpenVPN user (created IP pool, User profile and User configuration)
4. i edited the config.ovpn file and now i can see this new connection in my openvpn

but when i try to connect to openvpn i get an error that connection was reseted. So at one point, the connection gets connected and
than immediatly terminated. Here is the log.

Mon Jun 20 11:17:05 2022 OpenVPN 2.4.1 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [LZ4] [PKCS11] [AEAD] built on Mar 22 2017
Mon Jun 20 11:17:05 2022 Windows version 6.2 (Windows 8 or greater) 64bit
Mon Jun 20 11:17:05 2022 library versions: OpenSSL 1.0.2k 26 Jan 2017, LZO 2.09
Enter Management Password:
Mon Jun 20 11:17:05 2022 MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:25341
Mon Jun 20 11:17:05 2022 Need hold release from management interface, waiting...
Mon Jun 20 11:17:06 2022 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:25341
Mon Jun 20 11:17:06 2022 MANAGEMENT: CMD 'state on'
Mon Jun 20 11:17:06 2022 MANAGEMENT: CMD 'log all on'
Mon Jun 20 11:17:06 2022 MANAGEMENT: CMD 'echo all on'
Mon Jun 20 11:17:06 2022 MANAGEMENT: CMD 'hold off'
Mon Jun 20 11:17:06 2022 MANAGEMENT: CMD 'hold release'
Mon Jun 20 11:17:15 2022 MANAGEMENT: CMD 'password [...]'
Mon Jun 20 11:17:15 2022 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Mon Jun 20 11:17:15 2022 TCP/UDP: Preserving recently used remote address: [AF_INET]XXX.XXX.XXX.XXX:YYY
Mon Jun 20 11:17:15 2022 Socket Buffers: R=[65536->65536] S=[65536->65536]
Mon Jun 20 11:17:15 2022 Attempting to establish TCP connection with [AF_INET]XXX.XXX.XXX.XXX:YYY [nonblock]
Mon Jun 20 11:17:15 2022 MANAGEMENT: >STATE:1655716635,TCP_CONNECT,,,,,,
Mon Jun 20 11:17:16 2022 TCP connection established with [AF_INET]XXX.XXX.XXX.XXX:YYY
Mon Jun 20 11:17:16 2022 TCP_CLIENT link local: (not bound)
Mon Jun 20 11:17:16 2022 TCP_CLIENT link remote: [AF_INET]XXX.XXX.XXX.XXX:YYY
Mon Jun 20 11:17:16 2022 MANAGEMENT: >STATE:1655716636,WAIT,,,,,,
Mon Jun 20 11:17:16 2022 Connection reset, restarting [0]
Mon Jun 20 11:17:16 2022 SIGUSR1[soft,connection-reset] received, process restarting
Mon Jun 20 11:17:16 2022 MANAGEMENT: >STATE:1655716636,RECONNECTING,connection-reset,,,,,
Mon Jun 20 11:17:16 2022 Restart pause, 5 second(s)
Mon Jun 20 11:17:21 2022 TCP/UDP: Preserving recently used remote address: [AF_INET]XXX.XXX.XXX.XXX:YYY
Mon Jun 20 11:17:21 2022 Socket Buffers: R=[65536->65536] S=[65536->65536]
Mon Jun 20 11:17:21 2022 Attempting to establish TCP connection with [AF_INET]XXX.XXX.XXX.XXX:YYY [nonblock]
Mon Jun 20 11:17:21 2022 MANAGEMENT: >STATE:1655716641,TCP_CONNECT,,,,,,
Mon Jun 20 11:17:22 2022 TCP connection established with [AF_INET]XXX.XXX.XXX.XXX:YYY
Mon Jun 20 11:17:22 2022 TCP_CLIENT link local: (not bound)
Mon Jun 20 11:17:22 2022 TCP_CLIENT link remote: [AF_INET]XXX.XXX.XXX.XXX:YYY
Mon Jun 20 11:17:22 2022 MANAGEMENT: >STATE:1655716642,WAIT,,,,,,
Mon Jun 20 11:17:22 2022 Connection reset, restarting [0]
Mon Jun 20 11:17:22 2022 SIGUSR1[soft,connection-reset] received, process restarting
Mon Jun 20 11:17:22 2022 MANAGEMENT: >STATE:1655716642,RECONNECTING,connection-reset,,,,,
Mon Jun 20 11:17:22 2022 Restart pause, 5 second(s)
Mon Jun 20 11:17:27 2022 TCP/UDP: Preserving recently used remote address: [AF_INET]XXX.XXX.XXX.XXX:YYY
Mon Jun 20 11:17:27 2022 Socket Buffers: R=[65536->65536] S=[65536->65536]
Mon Jun 20 11:17:27 2022 Attempting to establish TCP connection with [AF_INET]XXX.XXX.XXX.XXX:YYY [nonblock]
Mon Jun 20 11:17:27 2022 MANAGEMENT: >STATE:1655716647,TCP_CONNECT,,,,,,
Mon Jun 20 11:17:28 2022 TCP connection established with [AF_INET]XXX.XXX.XXX.XXX:YYY
Mon Jun 20 11:17:28 2022 TCP_CLIENT link local: (not bound)
Mon Jun 20 11:17:28 2022 TCP_CLIENT link remote: [AF_INET]XXX.XXX.XXX.XXX:YYY
Mon Jun 20 11:17:28 2022 MANAGEMENT: >STATE:1655716648,WAIT,,,,,,
Mon Jun 20 11:17:28 2022 Connection reset, restarting [0]
Mon Jun 20 11:17:28 2022 SIGUSR1[soft,connection-reset] received, process restarting
Mon Jun 20 11:17:28 2022 MANAGEMENT: >STATE:1655716648,RECONNECTING,connection-reset,,,,,
Mon Jun 20 11:17:28 2022 Restart pause, 5 second(s)
Mon Jun 20 11:17:32 2022 SIGTERM[hard,init_instance] received, process exiting
Mon Jun 20 11:17:32 2022 MANAGEMENT: >STATE:1655716652,EXITING,init_instance,,,,,

Any pointers on what to look for or change? I am not sure if posting links is permited here so i wont post the link to the tutorial i followed.

Thank you.

Who is online

Users browsing this forum: akakua, cyrq, Energizer, rogerioqueiroz, sybadi, synchro, tdw, tjanas94 and 81 guests