Can't import ovpn config to Iphone 6

Official client software for OpenVPN Access Server and OpenVPN Cloud.
Post Reply
alexv
OpenVpn Newbie
Posts: 1
Joined: Tue Aug 14, 2018 10:06 am

Can't import ovpn config to Iphone 6

Post by alexv » Tue Aug 14, 2018 10:43 am

Hello.
I created ovpn config file "openvpn_ios" and trying to import on iphone via email and got error "openvpn error loading profile remote option not specified"
Image

Config text:
dev tun
proto tcp
remote xxx.xxx.xxx.xxx 12345
cipher AES-128-CBC
auth SHA1
resolv-retry infinite
nobind
persist-key
persist-tun
client
verb 3

<ca>
-----BEGIN CERTIFICATE-----
MIID.....
-----END CERTIFICATE-----

</ca>

<cert>
-----BEGIN CERTIFICATE-----
MIID......
-----END CERTIFICATE-----

</cert>

<key>
-----BEGIN PRIVATE KEY-----
MIIE......
-----END PRIVATE KEY-----

</key>
What I did wrong? Please help me.

Post Reply