CentOS 8.x openvpn client troubleshooting

From Notes_Wiki
Revision as of 17:11, 15 May 2022 by Saurabh (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Home > CentOS > CentOS 8.x > CentOS 8.x networking tools > CentOS 8.x openvpn client > CentOS 8.x openvpn client troubleshooting

Bad compression stub decompression header byte: 102 error

It is possible that while connecting to a VPN server (Could be firewall eg sophos or a openvpn server), that client receives error such as:

Bad compression stub decompression header byte: 102

These are often seen only while initiating a new connection to particular machines. This can be due to disabling of lzo-compression in configuration. To fix this edit the openvpn configuration file and update 'comp-lzo' from no to adaptive as:

comp-lzo adaptive

After this during connection you should not see the same error.

This is valid from openvpn 2.4 onwards. So you can also validate openvpn version using 'rpm -qa openvpn' before making above change.


Refer:



Home > CentOS > CentOS 8.x > CentOS 8.x networking tools > CentOS 8.x openvpn client > CentOS 8.x openvpn client troubleshooting