字体:  

请教!OPENVPN出现问题

mengbo 发表于: 2007-6-27 23:24 来源: 榆树社区

客户端的日志出现这样的问题是什么原因
2007年06月27日 21:12:45 Bad LZO decompression header byte: 250
2007年06月27日 21:12:47 Bad LZO decompression header byte: 102
2007年06月27日 21:12:47 Bad LZO decompression header byte: 250
2007年06月27日 21:12:56 Bad LZO decompression header byte: 250
2007年06月27日 21:13:07 Bad LZO decompression header byte: 250
2007年06月27日 21:13:11 Bad LZO decompression header byte: 102
2007年06月27日 21:13:12 Bad LZO decompression header byte: 250
2007年06月27日 21:13:12 Bad LZO decompression header byte: 250


不能上网连上马上又掉线了

最新回复

ELM at 2007-6-28 09:22:14
是否Client和Server配置不对称,是否一端启用了lzo另外一端没有启用?
mengbo at 2007-6-28 10:22:34
服务端
port 443
proto tcp-server
;proto udp
;dev tap
dev tun
;dev-node MyTap
ca ca.crt
cert server01.crt
key server01.key  # This file should be kept secret
dh dh1024.pem
push "redirect-gateway def1"
push "dhcp-option DNS 192.168.0.1"
server 192.168.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
client-to-client
;duplicate-cn
keepalive 10 120
tls-auth ta.key 0 # This file is secret
auth-user-pass-verify checkpsw.exe via-env
client-cert-not-required
username-as-common-name
;cipher BF-CBC        # Blowfish (default)
;cipher AES-128-CBC   # AES
;cipher DES-EDE3-CBC  # Triple-DES
comp-lzo
;max-clients 100
user nobody
group nobody
persist-key
persist-tun
status status.log
;log         /var/log/openvpn.log
;log-append  /var/log/TCP_openvpn.log
verb 1
;mute 20


客户端
client
dev tun
proto tcp-client
remote xx.xx.xx.xx 443
resolv-retry infinite
nobind
;http-proxy 10.0.0.172 80
mute-replay-warnings
user nobody
group nobody
persist-key
persist-tun
ca ca.crt
auth-user-pass
ns-cert-type server
tls-auth ta.key 1
comp-lzo
verb 3
ELM at 2007-6-28 21:26:14
你试验的时候先不要用代理

看配置文件似乎没有什么问题