I am connecting to the Openvpn from a windows XP computer, but when i connect i am constantly getting "Connection reset, restarting" problem.
I am using RouterOS 6.7.
Kan somebody pinpoint me to what might be the problem?
I have tried almost every possible thing ( created new certificates, created a bridge interface....etc..), but i always get the same error.
I have opnevpn server on other 2 mirktoik routers, and there it is working without problems, but they are routerOS v4.17.
Can it be that the new RouterOS version has a problem with Openvpn?
Here is the Openvpn log:
here is the log from the Mikrotik Router:
Code: Select all
Fri Jan 10 23:18:00 2014 OpenVPN 2.3.2 i686-w64-mingw32 [SSL (OpenSSL)] [LZO] [P KCS11] [eurephia] [IPv6] built on Aug 22 2013 Enter Auth Username:1 Enter Auth Password: Fri Jan 10 23:18:02 2014 WARNING: --ping should normally be used with --ping-res tart or --ping-exit Fri Jan 10 23:18:02 2014 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info. Fri Jan 10 23:18:02 2014 Socket Buffers: R=[8192->8192] S=[8192->8192] Fri Jan 10 23:18:02 2014 Attempting to establish TCP connection with [AF_INET]10 .0.5.1:1194 Fri Jan 10 23:18:02 2014 TCP connection established with [AF_INET]10.0.5.1:1194 Fri Jan 10 23:18:02 2014 TCPv4_CLIENT link local: [undef] Fri Jan 10 23:18:02 2014 TCPv4_CLIENT link remote: [AF_INET]10.0.5.1:1194 Fri Jan 10 23:18:02 2014 TLS: Initial packet from [AF_INET]10.0.5.1:1194, sid=xxxxxxxx xxxxxxxx Fri Jan 10 23:18:02 2014 WARNING: this configuration may cache passwords in memo ry -- use the auth-nocache option to prevent this Fri Jan 10 23:18:03 2014 VERIFY OK: depth=1, C=HR, ST=ZG, L=Zagreb, O=Company d.o.o., CN=ca, emailAddressemail@example.com Fri Jan 10 23:18:03 2014 VERIFY OK: depth=0, C=HR, ST=ZG, O=Company d.o.o., CN =server, emailAddressfirstname.lastname@example.org Fri Jan 10 23:18:04 2014 Connection reset, restarting  Fri Jan 10 23:18:04 2014 SIGUSR1[soft,connection-reset] received, process restar ting Fri Jan 10 23:18:04 2014 Restart pause, 5 second(s)
Code: Select all
23:18:11 ovpn,info TCP connection established from 10.0.5.253 23:18:11 ovpn,info <ovpn-0>: dialing... 23:18:13 ovpn,info <ovpn-0>: terminating... - remote peer uses tap encapsulation while we - tun 23:18:13 ovpn,info <ovpn-0>: disconnected
So the problem occurs when i use "dev tap" in the client.ovpn (windows) file.
When i change the line to "dev tun", then it works fine (tested it from Ubuntu and windows)
The only problem is , when i use "dev tun", how can i force my windows client to use the internet through the vpn connection?
I found a solution:
I had to change the mode from "IP" to "ethernet", under OVPN server (on the mikrotik router).
Seems that on the new routerOS the "dev Tap" option is supported only when you select "ethernet" mode.
Now everything is working, except i don't know how can i successfully route all my XP clients internet traffic, to go through the vpn?