HI! I configured OpenVPN on my Mikrotik ROS v6.39.1.
From my Linux PC everything works fine, but I can’t connect from any windows machine.
Can someone help me with this?
I configured the server as in this tutorial: https://wiki.mikrotik.com/wiki/OpenVPN
OpenVPN config:
proto tcp-client
remote xxx.xxx.xxx.xxx 1194
dev tap
nobind
persist-key
tls-client
ca cert_export_myCa.crt
cert cert_export_client1.crt
key cert_export_client1.key
ping 10
verb 3
cipher AES-256-CBC
auth SHA1
pull
auth-user-pass auth.cfg
Windows OpenVPN error:
Wed May 24 12:23:29 2017 Re-using SSL/TLS context
Wed May 24 12:23:29 2017 Control Channel MTU parms [ L:1655 D:1210 EF:40 EB:0 ET:0 EL:3 ]
Wed May 24 12:23:29 2017 Data Channel MTU parms [ L:1655 D:1450 EF:123 EB:411 ET:32 EL:3 ]
Wed May 24 12:23:29 2017 Local Options String (VER=V4): 'V4,dev-type tap,link-mtu 1591,tun-mtu 1532,proto TCPv4_CLIENT,cipher AES-256-CBC,auth SHA1,keysize 256,key-method 2,tls-client'
Wed May 24 12:23:29 2017 Expected Remote Options String (VER=V4): 'V4,dev-type tap,link-mtu 1591,tun-mtu 1532,proto TCPv4_SERVER,cipher AES-256-CBC,auth SHA1,keysize 256,key-method 2,tls-server'
Wed May 24 12:23:29 2017 TCP/UDP: Preserving recently used remote address: [AF_INET]xxx.xxx.xxx.xxx:1194
Wed May 24 12:23:29 2017 Socket Buffers: R=[65536->65536] S=[65536->65536]
Wed May 24 12:23:29 2017 Attempting to establish TCP connection with [AF_INET]xxx.xxx.xxx.xxx:1194 [nonblock]
Wed May 24 12:23:29 2017 MANAGEMENT: >STATE:1495617809,TCP_CONNECT,,,,,,
Wed May 24 12:23:30 2017 TCP connection established with [AF_INET]xxx.xxx.xxx.xxx:1194
Wed May 24 12:23:30 2017 TCP_CLIENT link local: (not bound)
Wed May 24 12:23:30 2017 TCP_CLIENT link remote: [AF_INET]xxx.xxx.xxx.xxx:1194
Wed May 24 12:23:30 2017 MANAGEMENT: >STATE:1495617810,WAIT,,,,,,
Wed May 24 12:23:30 2017 MANAGEMENT: >STATE:1495617810,AUTH,,,,,,
Wed May 24 12:23:30 2017 TLS: Initial packet from [AF_INET]xxx.xxx.xxx.xxx:1194, sid=13a15ddb c66496d7
Wed May 24 12:23:31 2017 VERIFY OK: depth=1, CN=myCa
Wed May 24 12:23:31 2017 VERIFY KU OK
Wed May 24 12:23:31 2017 Validating certificate extended key usage
Wed May 24 12:23:31 2017 ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication
Wed May 24 12:23:31 2017 VERIFY EKU OK
Wed May 24 12:23:31 2017 VERIFY OK: depth=0, CN=server
Wed May 24 12:23:32 2017 Connection reset, restarting [0]
Wed May 24 12:23:32 2017 TCP/UDP: Closing socket
Wed May 24 12:23:32 2017 SIGUSR1[soft,connection-reset] received, process restarting
Wed May 24 12:23:32 2017 MANAGEMENT: >STATE:1495617812,RECONNECTING,connection-reset,,,,,
Wed May 24 12:23:32 2017 Restart pause, 5 second(s)