ios error importing ovpn file

Post Reply
NsC0001
OpenVpn Newbie
Posts: 3
Joined: Sun Mar 11, 2018 9:52 am

ios error importing ovpn file

Post by NsC0001 » Sun Mar 11, 2018 10:08 am

Hi
I have a TP-Link C2600 with latest firmware which supports Open VPN. I have generated the openvpn config file and exported the file to my laptop. I have used itunes to sync file to my iphone 6s openvpn app but keep getting the following error.
option_error: option 'cipher' must have at least 2 arguments

any help would be appreciated.
Thanks

User avatar
ordex
OpenVPN Inc.
Posts: 263
Joined: Wed Dec 28, 2016 2:32 am

Re: ios error importing ovpn file

Post by ordex » Mon Mar 12, 2018 1:20 am

does the error happen at connection time?
If yes, could you please paste here your log from the beginning of the connection (i.e. from the "-------- OpenVPN Start -----" line)?

NsC0001
OpenVpn Newbie
Posts: 3
Joined: Sun Mar 11, 2018 9:52 am

Re: ios error importing ovpn file

Post by NsC0001 » Mon Mar 12, 2018 9:00 am

No, The error occurs at profile import.
Today I have tried the ovpn file on an android phone and got the same error message.

NsC0001
OpenVpn Newbie
Posts: 3
Joined: Sun Mar 11, 2018 9:52 am

Re: ios error importing ovpn file

Post by NsC0001 » Mon Mar 12, 2018 9:39 am

I checked a known good profile and good see a difference.
First part of my ovpn file:-
client
dev tun
proto udp
float
nobind
cipher
comp-lzo adaptive
resolv-retry infinite
persist-key
persist-tun
remote MYIPADDRESS 1194

The other ovpn from a working profile had additional information at 'cipher':-
ncp-cipher AES-128-GCM:AES-256-GCM:AES-128-CBC:AES-256-CBC

I added this to my profile and then i could successfully import the profile. Looks like a bug in the TP-Link firmware.
Thanks

Post Reply