Page 1 of 1

Openvpn Connect 3.4.0 incompatible with "comp-lzo no" option

Posted: Wed Jan 31, 2024 3:14 am
by XieZhiyong
Hi,we have just find our openvpn server does not work with Openvpn Connect on android after upgrade to version 3.4.0.On previous versions and other platform(windows and ios),tunnel works well.
Here is the errors in server log:
Bad compression stub decompression header byter: 251
After debugging,we find out the reason is "comp-lzo no"option,we've already set it both in server and client ovpn config file,but it seems does not work on the 3.4.0 Openvpn Connect.But after we add "push "comp-lzo no"" option in the server config,it works again.
We do believe that it is a bug,do you have any idea or plan to fix it?
Our ovpn server version is 3.4.3.
server config mainly like this:

Code: Select all

client-to-client
duplicate-cn
dev tun_server0
persist-key
persist-tun
cipher AES-128-CBC
comp-lzo no
keepalive 10 120
port 1194
proto udp
server 192.168.7.0 255.255.255.0
client config:

Code: Select all

client
dev tun
proto udp
float
nobind
cipher AES-128-CBC
comp-lzo no
resolv-retry infinite
persist-key
remote 1.1.1.1 1194

Re: Openvpn Connect 3.4.0 incompatible with "comp-lzo no" option

Posted: Thu Feb 01, 2024 7:42 pm
by primetechguides
Thanks for this.
I had the same issue comp-lzo was no on both server and client

OpenVPN Connect 3.4.0 only
no issues with 3.3.4

Using this resolved it.

Code: Select all

list push 'comp-lzo no'