Issue with OpenVPN for IOS 3.4.0

Official client software for OpenVPN Access Server and OpenVPN Cloud.
Post Reply
Beno44
OpenVpn Newbie
Posts: 3
Joined: Fri Oct 20, 2023 4:05 am

Issue with OpenVPN for IOS 3.4.0

Post by Beno44 » Fri Oct 20, 2023 4:23 am

Afternoon,

Since upgrading to OpenVPN 3.4.0 the below config keeps failing (No issue with the previous version).

dev tun
proto udp
cipher AES-128-CBC
comp-lzo
client
remote xxxx.xxxx.xxxx.xxxx 1194
persist-key
status-version 3
verb 3
resolv-retry infinite
ns-cert-type server
nobind

<ca>

Error message is:

Connection Failed

There was an error attempting to connect to the selected server.

Error Message: option_error: sorry, unsupported options present in the configuration: UNKNOWN/UNSUPPORTED OPTIONS.


Logs are as follow:

⏎[Oct 20, 2023, 14:12:30] Performance stats on disconnect:
CPU usage (microseconds): 4088121
Network bytes per CPU second: 0
Tunnel bytes per CPU second: 0
⏎[Oct 20, 2023, 14:12:44] OpenVPN core 3.8.1 mac x86_64 64-bit built on Aug 23 2023 04:17:34
⏎[Oct 20, 2023, 14:12:44] Frame=512/2112/512 mssfix-ctrl=1250
⏎[Oct 20, 2023, 14:12:44] NOTE: This configuration contains options that were not used:
⏎[Oct 20, 2023, 14:12:44] Unsupported option (ignored)
⏎[Oct 20, 2023, 14:12:44] 6 [persist-key]
⏎[Oct 20, 2023, 14:12:44] 9 [resolv-retry] [infinite]
⏎[Oct 20, 2023, 14:12:44] UNKNOWN/UNSUPPORTED OPTIONS
⏎[Oct 20, 2023, 14:12:44] 7 [status-version] [3]
⏎[Oct 20, 2023, 14:12:47] Raw stats on disconnect:


Any suggestions would be amazing ;o)

Beno44
OpenVpn Newbie
Posts: 3
Joined: Fri Oct 20, 2023 4:05 am

Re: Issue with OpenVPN for IOS 3.4.0

Post by Beno44 » Fri Oct 20, 2023 4:35 am

Should add that this config works with TunnelBlick.

Beno44
OpenVpn Newbie
Posts: 3
Joined: Fri Oct 20, 2023 4:05 am

Re: Issue with OpenVPN for IOS 3.4.0

Post by Beno44 » Wed Oct 25, 2023 3:38 am

Is there any other IOS app where you can upload your own ovpn file (similar to OpenVPN I guess)?

User avatar
openvpn_inc
OpenVPN Inc.
Posts: 1333
Joined: Tue Feb 16, 2021 10:41 am

Re: Issue with OpenVPN for IOS 3.4.0

Post by openvpn_inc » Thu Oct 26, 2023 2:11 pm

Hello Beno44,

The issue you have encountered is caused by using a server directive on a client. That is not valid. You can use another client, and maybe you'll get lucky. But the issue is that the directive used is simply not valid for a client. So the best solution is to fix that.

From the reference manual:

--status-version n
Set the status file format version number to n.
This only affects the status file on servers with multi-client capability enabled.

Since a server directive is totally invalid in a client configuration, please remove that line from your client configuration profile. It should then work.

Kind regards,
Johan
Image OpenVPN Inc.
Answers provided by OpenVPN Inc. staff members here are provided on a voluntary best-effort basis, and no rights can be claimed on the basis of answers posted in this public forum. If you wish to get official support from OpenVPN Inc. please use the official support ticket system: https://openvpn.net/support

Post Reply