1. 首页 > 服务器运维

解决Bad compression stub decompression header byte: 102

openvpn客户端连接,网络不稳定,客户端出现如下日志:

Sun May 07 16:55:24 2017 Bad compression stub decompression header byte: 102
Sun May 07 16:55:26 2017 Bad compression stub decompression header byte: 102
Sun May 07 16:55:29 2017 Bad compression stub decompression header byte: 102
Sun May 07 16:55:34 2017 Bad compression stub decompression header byte: 102
Sun May 07 16:55:34 2017 Bad compression stub decompression header byte: 102
Sun May 07 16:55:35 2017 Bad compression stub decompression header byte: 102
Sun May 07 16:55:36 2017 Bad compression stub decompression header byte: 102
Sun May 07 16:55:40 2017 Bad compression stub decompression header byte: 102
Sun May 07 16:55:45 2017 Bad compression stub decompression header byte: 102

原因:服务端开启lzo压缩,但是客户端未开启lzo压缩。解决方法二选一

1、关闭服务端lzo

# cat /etc/openvpn/server.conf | grep lzo

comp-lzo no
# service openvpn restart

2、关闭客户端lzo

打开client.ovpn,启用lzo

comp-lzo

 

 

 

 

 

 

本文由主机测评网发布,不代表主机测评网立场,转载联系作者并注明出处:https://zhuji.jb51.net/yunwei/8049.html

联系我们

在线咨询:点击这里给我发消息

微信号:

工作日:8:30-17:30,节假日休息