Page 1 of 1

ios error importing ovpn file

Posted: Sun Mar 11, 2018 10:08 am
by NsC0001
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

Re: ios error importing ovpn file

Posted: Mon Mar 12, 2018 1:20 am
by ordex
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)?

Re: ios error importing ovpn file

Posted: Mon Mar 12, 2018 9:00 am
by NsC0001
No, The error occurs at profile import.
Today I have tried the ovpn file on an android phone and got the same error message.

Re: ios error importing ovpn file

Posted: Mon Mar 12, 2018 9:39 am
by NsC0001
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

Re: ios error importing ovpn file

Posted: Sun May 10, 2020 11:08 am
by _Samy
Thanks for the solution you make my day