Community discussions

MikroTik App
 
captainproton
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 72
Joined: Sat Jan 12, 2008 3:01 pm

Mikrotik as OpenVPN Client not working

Fri Jan 29, 2010 7:06 pm

Hey,

I have set up a Ubuntu Server as OpenVPN Server. Issued Certificates, copied them to a Windows client, installed OpenVPN Windows Client software, configured, working nice. So the Server Configuration should be ok.

Now I wanted to add an OVPN Client Interface to my Mikrotik router using this configuration:

/interface ovpn-client \
add name="ovpn-out1" connect-to=w.x.y.z port=1194 mode=ip user="username" password="password" profile=default \
certificate=cert1 cipher=aes256 add-default-route=no

I have copied and imported the same certificated and keys I used on the windows machine.
Yes, I can ping the OpenVPN Server IP.
No, windows client and MT Router never tried to connect at the same time.

There is no error report but the MT Log says:

...
17:43:20 ovpn,info ovpn-out1: terminating...
17:43:20 ovpn,info ovpn-out1: disconnected
17:43:20 ovpn,info ovpn-out1: initializing...
17:43:20 ovpn,info ovpn-out1: dialing...
17:43:20 ovpn,info ovpn-out1: terminating...
17:43:20 ovpn,info ovpn-out1: disconnected
17:43:21 ovpn,info ovpn-out1: initializing...
...

On the Server in ' /var/log/syslog' I see nothing that indicated connection requests from the MT Router, only from the Windows Client.


Any idea?

Who is online

Users browsing this forum: Bing [Bot] and 122 guests