all my .ovpn config that work properly with 3.3.4 in ios 16.6 & 16.7 is not working in openvpn 3.4.0 in ios

Official client software for OpenVPN Access Server and OpenVPN Cloud.
pooyam61
OpenVpn Newbie
Posts: 3
Joined: Wed Oct 11, 2023 8:07 pm

all my .ovpn config that work properly with 3.3.4 in ios 16.6 & 16.7 is not working in openvpn 3.4.0 in ios

Post by pooyam61 » Wed Oct 11, 2023 8:20 pm

all my .ovpn config that work properly with 3.3.4 in ios 16.6 & 16.7 is not working in openvpn 3.4.0 in ios and iphone even changing security level and try all option in tls version , please add openvpn legacy or earlier version like 3.3.4 or 3.3.3 in apple store all user have problem and various error in new version 3.4.0 , please help us in ios there is no coming back to install older version like android

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

Re: all my .ovpn config that work properly with 3.3.4 in ios 16.6 & 16.7 is not working in openvpn 3.4.0 in ios

Post by openvpn_inc » Wed Oct 11, 2023 9:31 pm

Hello pooyam61,

I would highly recommend that you look at the logs and let us know what these unsupported config options are.

If these are options that don't belong there, you can just remove them, and get things working again.

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

sardari
OpenVpn Newbie
Posts: 1
Joined: Thu Oct 12, 2023 2:10 pm

Re: all my .ovpn config that work properly with 3.3.4 in ios 16.6 & 16.7 is not working in openvpn 3.4.0 in ios

Post by sardari » Thu Oct 12, 2023 2:39 pm

I have the same problem
iOS 16.6, 16.7 users can no longer connect since they updated to open vpn version 3.4.0.
This means that they connect to the server, but they cannot even see their gateway, and their access to the Internet is completely cut off
Please help me friends

FabioCD
OpenVpn Newbie
Posts: 1
Joined: Thu Oct 12, 2023 2:31 pm

Re: all my .ovpn config that work properly with 3.3.4 in ios 16.6 & 16.7 is not working in openvpn 3.4.0 in ios

Post by FabioCD » Thu Oct 12, 2023 2:45 pm

Hello,
I installed a OpenVPN server but I cannot connect my iPhone with the OpenVPN Server. I don't know why because I can connect with my Android smartphone but not with the iPhone. Maybe I made something wrong on iPhone. I use this OpenVPN conncet with Macbook Pro and iMac without any kind of problems.
Please someone can help me?
Thanks.
FabioCD

vental74
OpenVpn Newbie
Posts: 2
Joined: Tue Oct 03, 2023 6:19 pm

Re: all my .ovpn config that work properly with 3.3.4 in ios 16.6 & 16.7 is not working in openvpn 3.4.0 in ios

Post by vental74 » Thu Oct 12, 2023 4:17 pm

Have anyonetried connect your vpn server with turned Wi-Fi on your iphone? I have same situation, but i noticed that with wi-fi all works correctly

pooyam61
OpenVpn Newbie
Posts: 3
Joined: Wed Oct 11, 2023 8:07 pm

Re: all my .ovpn config that work properly with 3.3.4 in ios 16.6 & 16.7 is not working in openvpn 3.4.0 in ios

Post by pooyam61 » Thu Oct 12, 2023 11:57 pm

after check log and remove the line

tun-mtu-extra 32

in my .ovpn config file and set the security level to
Insecure(not recommended)

my conetion connect in iphone with openvpn 3.4.0 version
it is all about tls version 1.1 that remove from config i think
just have tls1 , tls 1.2 and tls 1.3 in setting so you can not choose tls 1.1 in any option setting , please rollback all tls version and options in next vesrion for ios

pooyam61
OpenVpn Newbie
Posts: 3
Joined: Wed Oct 11, 2023 8:07 pm

Re: all my .ovpn config that work properly with 3.3.4 in ios 16.6 & 16.7 is not working in openvpn 3.4.0 in ios

Post by pooyam61 » Thu Oct 12, 2023 11:59 pm

my tcp config now is :

client
dev tun
proto tcp
remote xxx.xxx.xxx.xxx 84
resolv-retry infinite
nobind
tun-mtu 1500
mssfix 1450
persist-key
persist-tun
auth-user-pass
comp-lzo
verb 3

niels
OpenVpn Newbie
Posts: 11
Joined: Tue Feb 21, 2012 7:50 am

Re: all my .ovpn config that work properly with 3.3.4 in ios 16.6 & 16.7 is not working in openvpn 3.4.0 in ios

Post by niels » Tue Oct 17, 2023 3:15 pm

Had to remove "tun-mtu-extra 32" here too.

While I understand this may be a useless parameter on iOS, many of us have carefully crafted our ovpn files to work optimally on various platforms. For OpenVPN Connect on iOS to suddenly break this one-size-fits-all ovpn file is, well, not cool. IMHO they should've left it at a warning in the log and not a fatal error.

I know it's just one line. But it's one line times X server profiles, times N other users that need hand-holding, etc. This small change can cause quite the headache.

If this was pre-announced somewhere, someone please point me where to look so I can subscribe to such notices.

513g3
OpenVpn Newbie
Posts: 1
Joined: Tue Oct 17, 2023 11:31 pm

Re: all my .ovpn config that work properly with 3.3.4 in ios 16.6 & 16.7 is not working in openvpn 3.4.0 in ios

Post by 513g3 » Tue Oct 17, 2023 11:35 pm

I have the symptoms that match @sardari.

I do not have the "tun-mtu-extra" option. I also do not have the "unsupported option" log line.

I get "Session Invalidated: KEEPALIVE_TIMEOUT" and then "EVENT: RECONNECTING".

Same .opvn setting as I have had for years. Now on iOS 17 and OpenVPN Connect 3.4.0.

I can connect successfully but then no traffic flows and then about 20 seconds later the timeout hits.

ihf
OpenVpn Newbie
Posts: 2
Joined: Fri Oct 20, 2023 9:17 pm

Re: all my .ovpn config that work properly with 3.3.4 in ios 16.6 & 16.7 is not working in openvpn 3.4.0 in ios

Post by ihf » Sat Oct 21, 2023 12:58 pm

I have the same problem and I cannot find which of my options is unsupported.
client
dev tun
proto udp
explicit-exit-notify
;verify-x509-name "C=NA, ST=NA, L=NA, O=NA, OU=NA, CN=Appliance_Certificate_x, emailAddress=na@example.com"
;route remote_host 255.255.255.255 net_gateway
resolv-retry infinite
nobind
persist-key
persist-tun
auth-user-pass
cipher AES-128-CBC
auth SHA256
comp-lzo no
;can_save no
;otp no
;run_logon_script no
;auto_connect
route-delay 4
verb 3
reneg-sec 86400
remote x.org 8443

mindsgrid
OpenVpn Newbie
Posts: 1
Joined: Sun Oct 22, 2023 3:31 am

Re: all my .ovpn config that work properly with 3.3.4 in ios 16.6 & 16.7 is not working in openvpn 3.4.0 in ios

Post by mindsgrid » Sun Oct 22, 2023 3:46 am

Actual Issue: IOS Client removed options which are not related to IOS client VPN connection

Fix: You need to remove unsupported options from your .ovpn file

Solution Steps:

1) Open OPenVPN client
2) click notepad like sign on top right corner in top menu bar
3) It will show logs, you can view or also export it by pressing email like icon on top right menu bar
4) Find options which are creating issues

you will get logs like this

Oct 21, 2023, 16:18:25 - NOTE: This configuration contains options that were not used:
Oct 21, 2023, 16:18:25 - Removed deprecated option
Oct 21, 2023, 16:18:25 - 3 [ncp-disable]
Oct 21, 2023, 16:18:25 - EVENT: CORE_THREAD_ERROR option_error: sorry, unsupported options present in configuration: Removed deprecated option [ERR]

one line before last error line shown, parameter which is shown in that line, you need to remove that parameter from your .ovpn file and profile again. here in this case that parameter is ncp-disable

Hopefully this will fix this issue, if vpn connection was working ok but after update to new ios version it stopped working.

Thanks

diegongi
OpenVpn Newbie
Posts: 1
Joined: Tue Oct 24, 2023 10:55 am

Re: all my .ovpn config that work properly with 3.3.4 in ios 16.6 & 16.7 is not working in openvpn 3.4.0 in ios

Post by diegongi » Tue Oct 24, 2023 11:24 am

Hello, I have the same problem. .ovpn files works in every version with 3.3.4 in an ipad but when I try them in the 3.4 version I keep the timeout connection error. Here I leave my the config of the .ovpn file, thanks for the help:

client
resolv-retry 20
keepalive 2 10
nobind
mute-replay-warnings
remote-cert-tls server
compress
verb 1
persist-key
persist-tun
explicit-exit-notify 1
dev tun
proto udp
port 1194
cipher AES-128-CBC

ihf
OpenVpn Newbie
Posts: 2
Joined: Fri Oct 20, 2023 9:17 pm

Re: all my .ovpn config that work properly with 3.3.4 in ios 16.6 & 16.7 is not working in openvpn 3.4.0 in ios

Post by ihf » Tue Oct 24, 2023 9:36 pm

In my case, reviewing the log showed that the unsupported option was “route-delay 4” which does not appear to be in your list. Check the log and see which, if any, options are causing the problem.

militarymedic
OpenVpn Newbie
Posts: 2
Joined: Wed Oct 25, 2023 5:48 pm

Re: all my .ovpn config that work properly with 3.3.4 in ios 16.6 & 16.7 is not working in openvpn 3.4.0 in ios

Post by militarymedic » Wed Oct 25, 2023 5:56 pm

same problem as others have noticed. When looking at the log though, only area that says anything about unsupported is for the word 'client' and the next line just says ignored.
Pretty much mirroring the scenario that 513g3 mentioned above.
Seems like this version is more or less unusable for us at the moment...

luca.bottini@bettinelli.it
OpenVpn Newbie
Posts: 1
Joined: Tue Oct 31, 2023 10:33 am

Re: all my .ovpn config that work properly with 3.3.4 in ios 16.6 & 16.7 is not working in openvpn 3.4.0 in ios

Post by luca.bottini@bettinelli.it » Tue Oct 31, 2023 10:42 am

Hi everyone,
after updating the app to version 3.4.0
with ios 17 users are able to connect to the server but are unable to access internal services, not even the gateway can be reached.
From Win and Android no problem.
There is no warning in the app logs while on the Pfsense firewall "Bad compression stub (swap) decompression header byte: 250"
Can someone help me?
Thank you
Luca Bottini

marcoeva
OpenVpn Newbie
Posts: 2
Joined: Tue Oct 31, 2023 11:02 am

Re: all my .ovpn config that work properly with 3.3.4 in ios 16.6 & 16.7 is not working in openvpn 3.4.0 in ios

Post by marcoeva » Tue Oct 31, 2023 11:08 am

Hello, 
I have the same problem with the new OpenVPN version 3.4.0. The same connection was working fine with OpenVPN version 3.3.4, but it does not work with 3.4.0.
The issue appears with the new iOS 16.6.1 and iOS 15.8. I cannot access internal services or I cannot ping my VPN IP or gateway IP.

Thanks,
Marco  

militarymedic
OpenVpn Newbie
Posts: 2
Joined: Wed Oct 25, 2023 5:48 pm

Re: all my .ovpn config that work properly with 3.3.4 in ios 16.6 & 16.7 is not working in openvpn 3.4.0 in ios

Post by militarymedic » Tue Oct 31, 2023 12:15 pm

I had chatted with OVPN support on this and we narrowed my scenario down to compression. They are not supporting compression in 3.4.x moving forward.
I had to uncheck the line item on BOTH the server and client end. I'm using Untangle/Arista for an appliance and this setting affects all openvpn connections. I didn't see a way to isolate just ios devices.

marcoeva
OpenVpn Newbie
Posts: 2
Joined: Tue Oct 31, 2023 11:02 am

Re: all my .ovpn config that work properly with 3.3.4 in ios 16.6 & 16.7 is not working in openvpn 3.4.0 in ios

Post by marcoeva » Tue Oct 31, 2023 5:23 pm

I solved the problem by removing compression from the server and client.
Thanks for the support!

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

Re: all my .ovpn config that work properly with 3.3.4 in ios 16.6 & 16.7 is not working in openvpn 3.4.0 in ios

Post by openvpn_inc » Wed Nov 01, 2023 4:39 pm

Hello,

Just want to add my voice to removing compression from another angle; security. Ever since the Voracle vulnerability was found and published it was clear that compression and encryption combined has a security flaw. So compression is on the way out and should be removed or turned off for sure. Just thought that would help for future readers. If you want to learn more about Voracle, you can read up on it online.

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

rwps
OpenVpn Newbie
Posts: 1
Joined: Sat Nov 04, 2023 11:14 pm

Re: all my .ovpn config that work properly with 3.3.4 in ios 16.6 & 16.7 is not working in openvpn 3.4.0 in ios

Post by rwps » Sat Nov 04, 2023 11:17 pm

same issue for me, IOS 17 and once I update to openvpn connect 3.4.0 the config files don't work.
I had to remove the following setting to get my oeck vpn to work:
bcast-buffers

Very annoying openvpn!

And this is the advice that helped me solve it - thanks @mindsgrid
mindsgrid wrote:
Sun Oct 22, 2023 3:46 am
Actual Issue: IOS Client removed options which are not related to IOS client VPN connection

Fix: You need to remove unsupported options from your .ovpn file

Solution Steps:

1) Open OPenVPN client
2) click notepad like sign on top right corner in top menu bar
3) It will show logs, you can view or also export it by pressing email like icon on top right menu bar
4) Find options which are creating issues

you will get logs like this

Oct 21, 2023, 16:18:25 - NOTE: This configuration contains options that were not used:
Oct 21, 2023, 16:18:25 - Removed deprecated option
Oct 21, 2023, 16:18:25 - 3 [ncp-disable]
Oct 21, 2023, 16:18:25 - EVENT: CORE_THREAD_ERROR option_error: sorry, unsupported options present in configuration: Removed deprecated option [ERR]

one line before last error line shown, parameter which is shown in that line, you need to remove that parameter from your .ovpn file and profile again. here in this case that parameter is ncp-disable

Post Reply