Community discussions

MikroTik App
 
naxos
just joined
Topic Author
Posts: 19
Joined: Mon Jul 08, 2013 9:04 pm

UDP OpenVPN not working after upgrade

Fri Jan 31, 2020 3:50 pm

Hi,

I've tested fresh installation of router (CHR, 7.0beta4) and basic setting for OpenVPN over UDP (no radius, statically set local and remote IP, almost everything left in default settings) and I was able to connect and send/receive data over OpenVPN.

However when I've tried to upgrade from latest stable version (6.46.2) where we're using OpenVPN over TCP without any problems, to 7.0beta4 and changed in OpenVPN settings from tcp to udp (and client config file). All I get when I try to connect is:
14:46:01 ovpn,info connection established from xx.xx.xx.xx, port: 55861 
14:46:01 ovpn,debug,packet sent P_CONTROL_HARD_RESET_SERVER_V2 kid=0 sid=0f15ad8c6cb9d59e pid=0 DATA len=0 
14:46:01 ovpn,debug,packet rcvd P_CONTROL_HARD_RESET_CLIENT_V2 kid=0 sid=b7a4b0cf14aba939 pid=0 DATA len=0 
14:46:01 ovpn,debug,packet sent P_ACK kid=0 sid=0f15ad8c6cb9d59e [0 sid=b7a4b0cf14aba939] DATA len=0 
14:46:02 ovpn,debug,packet re-sent P_CONTROL_HARD_RESET_SERVER_V2 kid=0 sid=0f15ad8c6cb9d59e pid=0 DATA len=0 
14:46:03 ovpn,debug,packet re-sent P_CONTROL_HARD_RESET_SERVER_V2 kid=0 sid=0f15ad8c6cb9d59e pid=0 DATA len=0 
14:46:03 ovpn,info connection established from xx.xx.xx.xx, port: 55861 
14:46:03 ovpn,debug,packet sent P_CONTROL_HARD_RESET_SERVER_V2 kid=0 sid=012be26838e9df85 pid=0 DATA len=0 
14:46:03 ovpn,debug,packet rcvd P_CONTROL_HARD_RESET_CLIENT_V2 kid=0 sid=b7a4b0cf14aba939 pid=0 DATA len=0 
14:46:03 ovpn,debug,packet sent P_ACK kid=0 sid=012be26838e9df85 [0 sid=b7a4b0cf14aba939] DATA len=0 
14:46:04 ovpn,debug,packet re-sent P_CONTROL_HARD_RESET_SERVER_V2 kid=0 sid=0f15ad8c6cb9d59e pid=0 DATA len=0 
14:46:04 ovpn,debug,packet re-sent P_CONTROL_HARD_RESET_SERVER_V2 kid=0 sid=012be26838e9df85 pid=0 DATA len=0 
14:46:05 ovpn,debug,packet re-sent P_CONTROL_HARD_RESET_SERVER_V2 kid=0 sid=0f15ad8c6cb9d59e pid=0 DATA len=0 
14:46:05 ovpn,debug,packet re-sent P_CONTROL_HARD_RESET_SERVER_V2 kid=0 sid=012be26838e9df85 pid=0 DATA len=0 
14:46:06 ovpn,debug,packet re-sent P_CONTROL_HARD_RESET_SERVER_V2 kid=0 sid=0f15ad8c6cb9d59e pid=0 DATA len=0 
....

which ends after 30 seconds with
disconnected <TLS failed>
and I'm not able to connect. Everything else seems to work just fine.