Community discussions

MikroTik App
 
schpuntak
just joined
Topic Author
Posts: 4
Joined: Tue Jan 05, 2016 11:06 am

Extract and connect from ovpn.file certificate.

Tue Jan 05, 2016 11:19 am

hi guys

i need to start this, I have already went through mauals but i am getting troubles to make OpenVpn client working.

I have 3rd party paid VPN service to connect to. I am provided ovpn file config where as follows:
setenv USERNAME "email@address.how.I.Login"
client
dev tun
remote SITE_OF_3RDPARTY_VPN.com 1194 udp

remote-cert-tls server
comp-lzo no
auth SHA1
nobind
verb 3
sndbuf 0
rcvbuf 0
socket-flags TCP_NODELAY
<ca>
here certificate hash
</ca>
<cert>
another certificate hash
</cert>
<extra-certs>
another hash
</extra-certs>
<key>
-----BEGIN RSA PRIVATE KEY-----
key...
</key>
key-direction 1
<tls-auth>
-----BEGIN OpenVPN Static key V1-----
hash
</tls-auth>
-----BEGIN RSA SIGNATURE-----
 DIGEST:SHA1WithRSA
another hash
I have saved and copy paste <cert> and extra cert as ca.crt and private key as private.key but I am still not able to connect, I really do not know which information I am supposed to (and how) to take from this config ovpnfile in order to make it work.
 
gtj
Member Candidate
Member Candidate
Posts: 121
Joined: Thu Apr 30, 2015 2:52 am
Location: Colorado US

Re: Extract and connect from ovpn.file certificate.

Tue Jan 05, 2016 7:28 pm

TLS is not supported yet.
 
CsXen
Frequent Visitor
Frequent Visitor
Posts: 94
Joined: Wed Sep 10, 2014 8:31 pm
Location: Budapest - Hungary

Re: Extract and connect from ovpn.file certificate.

Thu Jan 07, 2016 1:25 pm

Hi.
>i need to start this, I have already went through mauals but i am getting troubles to make OpenVpn client working.

You want to use Mikrotik as a client ?
remote SITE_OF_3RDPARTY_VPN.com 1194 udp
Mikrotik isn't implemented UDP !!! You can use TCP only services. :)

Best regards: CsXen

Who is online

Users browsing this forum: anav and 20 guests