#11982: OpenWRT OpenVPN client can't connect to OpenVPN Mikrotik server
------------------------------+-----------------------------------
  Reporter:  anonymous        |      Owner:  developers
      Type:  defect           |     Status:  reopened
  Priority:  response-needed  |  Milestone:  Barrier Breaker 14.07
 Component:  packages         |    Version:  Trunk
Resolution:                   |   Keywords:  openvpn
------------------------------+-----------------------------------

Comment (by viric):

 I just tested Chaos Calmer (x86, kvm_guest). The same problem happens.

 I'm using openvpn-openssl: OpenVPN 2.3.6 i486-openwrt-linux-gnu [SSL
 (OpenSSL)] [LZO] [EPOLL] [MH] [IPv6] built on Jul 25 2015
 library versions: OpenSSL 1.0.2d 9 Jul 2015, LZO 2.08

 The same happens with openvpn-polarssl.

 The openvpn side says:
 {{{
 Tue Nov 10 11:04:16 2015 us=558746 TCPv4_CLIENT write returned 45
 Tue Nov 10 11:04:16 2015 us=680147  event_wait returned 1
 Tue Nov 10 11:04:16 2015 us=680746 TCPv4_CLIENT read returned 22
 Tue Nov 10 11:04:16 2015 us=681489 TCPv4_CLIENT READ [22] from
 [AF_INET]10.0.2.2:9000: P_ACK_V1 kid=0 sid=748a0ba5 664ef81b [ 7
 sid=5a6e1264 40bf3687 ]
 Tue Nov 10 11:04:16 2015 us=682853  event_wait returned 1
 Tue Nov 10 11:04:16 2015 us=683628 TCPv4_CLIENT read returned 22
 Tue Nov 10 11:04:16 2015 us=684386 TCPv4_CLIENT READ [22] from
 [AF_INET]10.0.2.2:9000: P_ACK_V1 kid=0 sid=748a0ba5 664ef81b [ 8
 sid=5a6e1264 40bf3687 ]
 Tue Nov 10 11:04:16 2015 us=685797 TCPv4_CLIENT read returned 22
 Tue Nov 10 11:04:16 2015 us=686561 TCPv4_CLIENT READ [22] from
 [AF_INET]10.0.2.2:9000: P_ACK_V1 kid=0 sid=748a0ba5 664ef81b [ 9
 sid=5a6e1264 40bf3687 ]
 Tue Nov 10 11:04:16 2015 us=687572  event_wait returned 1
 Tue Nov 10 11:04:16 2015 us=688266 Connection reset, restarting [0]
 Tue Nov 10 11:04:16 2015 us=691615 TCP/UDP: Closing socket
 }}}

 The miktrotik (version 6.20) side says (I hide the IP): <10.x.x.x>:
 disconnected <unkown auth alg>

 Using OpenVPN in my Linux distribution in my computer (NixOS) all works
 fine. This version: OpenVPN 2.3.7 x86_64-unknown-linux-gnu [SSL (OpenSSL)]
 [LZO] [EPOLL] [MH] [IPv6] built on Jan 01 1970
 library versions: OpenSSL 1.0.1p 9 Jul 2015, LZO 2.09

 I use the very same openvpn config in all tests:
 {{{
 client
 ca ca.crt
 auth-user-pass
 dev tap0
 proto tcp-client
 tls-client
 remote localhost 9000
 resolv-retry infinite
 nobind
 persist-key
 persist-tun
 cipher BF-CBC        # Blowfish (default)
 auth SHA1
 verb 10
 keepalive 10 30
 }}}

--
Ticket URL: <https://dev.openwrt.org/ticket/11982#comment:13>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to