How to transform opvm file to iPhone format

Official client software for OpenVPN Access Server and OpenVPN Cloud.
Post Reply
Jezza
OpenVpn Newbie
Posts: 1
Joined: Mon May 06, 2013 11:38 am

How to transform opvm file to iPhone format

Post by Jezza » Mon May 06, 2013 11:46 am

Hi,

I got working OpenVPN connection on my computer. I tried to import my opvm file to iPhone.

But I get error. I changed path to *.pem file. But still got error:

option_error: error parsing protocol:...

Crisxs
OpenVpn Newbie
Posts: 3
Joined: Sat May 04, 2013 11:29 am

Re: How to transform opvm file to iPhone format

Post by Crisxs » Mon May 06, 2013 4:10 pm

What type of connection are you using? A bridged or routed vpn? For vpn to work on iphone you need to use only routed connection(tun), tap is not supported.
Here is my config file, you can us it as a draft for your opvm.

Code: Select all

client
dev tun
proto udp
remote YOUR ADDRESS 1194
resolv-retry infinite
nobind
user nobody
group nobody
persist-key
persist-tun
#mute-replay-warnings
<ca>
-----BEGIN CERTIFICATE-----
Open your ca certificate with a text editor and copy the strings from it here.
-----END CERTIFICATE-----
</ca>

<cert>
-----BEGIN CERTIFICATE-----
Open your client certificate with a text editor and copy the strings from it here.
-----END CERTIFICATE-----
</cert>

<key>
-----BEGIN PRIVATE KEY-----
Open your client key  with a text editor and copy the strings from it here.
-----END PRIVATE KEY-----
</key>

ns-cert-type server
<tls-auth>
Open your  ta key with a text editor and copy the strings from it here.
-----END OpenVPN Static key V1-----
</tls-auth>
cipher YOUR CYPHER
comp-lzo
verb 3

Post Reply