Community discussions

MikroTik App
 
mattltm
newbie
Topic Author
Posts: 39
Joined: Sun Mar 07, 2010 10:10 pm

Create OpenVPN Client using .ovpn file

Sun Dec 04, 2016 4:45 pm

Hi all,

I have a new hAP Lite and would like to configure it to connect to a remote OpenVPN server. I have a .ovpn config file that contains the client details but can't work out how to set it up on the hAP.

Any suggestions?

Thanks,

Matt
 
mb17
just joined
Posts: 2
Joined: Sun Dec 04, 2016 7:43 am

Re: Create OpenVPN Client using .ovpn file

Sun Dec 04, 2016 9:08 pm

This helped me get it setup but I am still having issues with it passing DNS traffic.

Upload the .ovpn file and import the certificate. After that then the below settings are helpful.
https://support.hidemyass.com/hc/en-us/ ... ient-Setup

If you have the same DNS issues then here is a link to my post on that.
http://forum.mikrotik.com/viewtopic.php?f=13&t=115344
 
mattltm
newbie
Topic Author
Posts: 39
Joined: Sun Mar 07, 2010 10:10 pm

Re: Create OpenVPN Client using .ovpn file

Sat Dec 10, 2016 9:35 am

Thanks for the reply.

Any pointers on how to upload the .ovpn file and import the cert?
 
lambretta
just joined
Posts: 1
Joined: Mon May 15, 2017 1:00 am

Re: Create OpenVPN Client using .ovpn file

Mon May 15, 2017 1:03 am

Hello all.

New to the forum and had hoped someone has had some luck setting up the mikrotik openVPN client to connect to a server by using the client.ovpn file which is downloaded from the openVPN server.

Looking forward to a reply
 
Sob
Forum Guru
Forum Guru
Posts: 9121
Joined: Mon Apr 20, 2009 9:11 pm

Re: Create OpenVPN Client using .ovpn file

Mon May 15, 2017 2:20 am

It would be nice, but it's currently not there.

So far it's manual process, look inside .ovpn file (it's just a text file), read the options and set them in RouterOS. And hope there are not any "bad" ones (= not supported by RouterOS), like UDP, LZO and some others. To import certificates, if they are embedded in .ovpn file, you can upload it to router and certficate import will be able to find them in there:
/certificate import file-name=client.ovpn
In other other words, there's a lot of space for improvements in RouterOS OpenVPN.
 
adilsemedo
just joined
Posts: 15
Joined: Fri Sep 29, 2017 9:47 pm

Re: Create OpenVPN Client using .ovpn file

Fri Mar 08, 2019 8:22 pm

Did you were able to running the Privatetunnel with openVpn?

Who is online

Users browsing this forum: cjayho and 44 guests