Migration from 2.5.x to OpenVpn 2.6.4 error

Official client software for OpenVPN Access Server and OpenVPN Cloud.
Post Reply
Markco
OpenVpn Newbie
Posts: 3
Joined: Wed May 31, 2023 12:36 pm

Migration from 2.5.x to OpenVpn 2.6.4 error

Post by Markco » Wed May 31, 2023 12:49 pm

Hello,

I migrated from version 2.54 to 2.64 and I have a connection error:

Code: Select all

Compression or compression stub framing is not allowed since data-channel offloading is enabled.
OPTIONS ERROR: server pushed compression settings that are not allowed and will result in a non-working connection. See also allow-compression in the manual.
ERROR: Failed to apply push options
Failed to open tun/tap interface
How to fix the problem

Thanks

Marco

Sorry, I use a French/English online translator

Fadim
OpenVPN User
Posts: 35
Joined: Mon May 15, 2023 12:14 pm

Re: Migration from 2.5.x to OpenVpn 2.6.4 error

Post by Fadim » Thu Jun 01, 2023 8:12 am

The error you're facing seems to be related to the compression settings being pushed by the server, which aren't compatible with your client settings. It's a known issue that's been tightened up in more recent OpenVPN versions to avoid misconfigurations.

The fix involves adjusting your client's OpenVPN configuration file. Please add the following two lines to your configuration file:

Code: Select all

comp-lzo yes
allow-compression yes
This should solve the issue and get your VPN connection working again.

Markco
OpenVpn Newbie
Posts: 3
Joined: Wed May 31, 2023 12:36 pm

Re: Migration from 2.5.x to OpenVpn 2.6.4 error

Post by Markco » Thu Jun 01, 2023 11:34 am

thanks very much. ;)
work fine now ;)

Post Reply