CentOS 8.x openvpn client troubleshooting

From Notes_Wiki
Revision as of 02:04, 11 February 2021 by Saurabh (talk | contribs) (Created page with "<yambe:breadcrumb self="openvpn client troubleshooting">CentOS 8.x openvpn client|Openvpn client</yambe:breadcrumb> =CentOS 8.x openvpn client troubleshooting= ==Bad compress...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<yambe:breadcrumb self="openvpn client troubleshooting">CentOS 8.x openvpn client|Openvpn client</yambe:breadcrumb>

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:




<yambe:breadcrumb self="openvpn client troubleshooting">CentOS 8.x openvpn client|Openvpn client</yambe:breadcrumb>