Jump to content
Not connected, Your IP: 216.73.217.99
karnuvap

ANSWERED Config Generator using deprecated OpenVPN commands?

Recommended Posts

Hi,

 

I just tested this with a freshly generated config after I received the same error message with an older one.

 

Tunnelblick gives me the following message:

 

Warning: This VPN may not connect in the future.

 
The OpenVPN configuration file for 'AirVPN_Europe_UDP-443' contains these OpenVPN options:
 
'comp-lzo' was deprecated in OpenVPN 2.4 and removed in OpenVPN 2.5
 
You should update the configuration so it can be used with modern versions of OpenVPN.
 
Tunnelblick will use OpenVPN 2.4.4 - OpenSSL v1.0.2n to connect this configuration.
 
However, you will not be able to connect to this VPN with future versions of Tunnelblick that do not include a version of OpenVPN that accepts the options

Share this post


Link to post

Interesting point.  According to:

 

https://community.openvpn.net/openvpn/wiki/DeprecatedOptions#a--comp-lzo

 

--comp-lzo
Status	Planned for removal
Deprecated in:	OpenVPN v2.4
To be removed in:	(not decided)
Affects:	Client and server
Result if used:	OpenVPN will ignore the option and provide a warning
Replaced by:	--compress
Examples:	--compress
--compress lzo
--compress lz4
The --comp-lzo option would only enable the LZO compression algorithm. The --compress option allows also to use the improved LZ4 algorithm instead. Providing just --compress without an algorithm is the equivalent of --comp-lzo no which disables compression but enables the packet framing for compression. This will allow --compress to be pushed by the server on a per-client basis.

Share this post


Link to post

Hello!

 

That's correct, we still use comp-lzo and we will keep using it for some time. Change with "compress" will be done in due time or not at all. Compression is disabled on all servers, so in the current configuration it makes no difference, but the future incompatibility is kept under consideration, of course.

 

In the near future we might be testing again compression or maybe we will keep it completely off in order to have compatibility with the whole OpenVPN 2 branch (because "compress" is not supported in OpenVPN 2.3.x or older, while "comp-lzo" might be dropped in OpenVPN 2.5 and higher). No definitive decision has been taken.

 

Kind regards

Share this post


Link to post

I'm a little confused: all of the configurations I've generated specify comp-lzo no.

 

Isn't this the same as omitting entirely any mention of a compression option from the configuration file? That is, if I were to want to use OpenVPN 2.5 with Tunnelblick now, couldn't I simply remove the --comp-lzo option?

 

This does, in fact, work with the one AirVPN server I tested.

Share this post


Link to post

I'm a little confused: all of the configurations I've generated specify comp-lzo no.

 

Isn't this the same as omitting entirely any mention of a compression option from the configuration file? That is, if I were to want to use OpenVPN 2.5 with Tunnelblick now, couldn't I simply remove the --comp-lzo option?

 

 

No, it's not equivalent. In most OpenVPN versions. omitting "comp-lzo no" when comp-lzo is specified (even when excluded) on server side will cause connection failure. This is an OpenVPN questionable implementation but that's the way it is. We confirm anyway that we will keep into account all the problems raised in this thread to maximize retro-compatibility whenever possible.

 

Kind regards

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...