Page 1 of 1

Extract and connect from ovpn.file certificate.

Posted: Tue Jan 05, 2016 11:19 am
by schpuntak
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.

Re: Extract and connect from ovpn.file certificate.

Posted: Tue Jan 05, 2016 7:28 pm
by gtj
TLS is not supported yet.

Re: Extract and connect from ovpn.file certificate.

Posted: Thu Jan 07, 2016 1:25 pm
by CsXen
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