求助:OpenVPN 无法连接!!!!!!

[复制链接]
查看11 | 回复2 | 2021-1-27 07:08:11 | 显示全部楼层 |阅读模式
系统:CentOS5.332bit(Xen虚拟机)
OpenVPN2.1_rc4i386-redhat-linux-gnu[SSL][LZO2][EPOLL]builtonDec162007

现在连接openvpn,出现下列错误:
Dec0815:30:55:Viscosity1.3.3(1024)
Dec0815:30:55:Checkingreachabilitystatusofconnection...
Dec0815:30:55:Connectionisreachable.Startingconnectionattempt.
Dec0815:30:57:OpenVPN2.2.0x86_64-apple-darwin10.7.0[SSL][LZO2][PKCS11][eurephia]builtonJun172011
Dec0815:30:57:WARNING:Noservercertificateverificationmethodhasbeenenabled.Seehttp://openvpn.net/howto.html#mitmformoreinfo.
Dec0815:30:57:NOTE:thecurrent--script-securitysettingmayallowthisconfigurationtocalluser-definedscripts
Dec0815:30:57:LZOcompressioninitialized
Dec0815:30:57:UDPv4linklocal:[undef]
Dec0815:30:57:UDPv4linkremote:198.74.106.186:1194
Dec0815:31:57:TLSError:TLSkeynegotiationfailedtooccurwithin60seconds(checkyournetworkconnectivity)
Dec0815:31:57:TLSError:TLShandshakefailed
Dec0815:31:57:SIGUSR1[soft,tls-error]received,processrestarting

Server.conf代码如下:
[[email protected]]#catserver.conf
local198.74.106.186
port1194
protoudp
devtun
ca/etc/openvpn/2.0/ca.crt
cert/etc/openvpn/2.0/server.crt
key/etc/openvpn/2.0/server.key#Thisfileshouldbekeptsecret
dh/etc/openvpn/2.0/dh1024.pem
server10.8.0.0255.255.255.0
ifconfig-pool-persist/etc/openvpn/2.0/ipp.txt
push"route10.8.0.0255.255.255.0"
;push"redirect-gateway"
push"dhcp-optionDNS10.8.0.1"
push"dhcp-optionDNS8.8.8.8"
push"dhcp-optionDNS8.8.4.4"
client-to-client
keepalive10120
;tls-auth/etc/openvpn/2.0/ta.key0#Thisfileissecret
comp-lzo
duplicate-cn
;usernobody
;groupnobody
persist-key
persist-tun
status/etc/openvpn/2.0/openvpn-status.log
log/etc/openvpn/2.0/openvpn.log
verb6

分 -->
回复

使用道具 举报

千问 | 2021-1-27 07:08:11 | 显示全部楼层
TLSError:TLShandshakefailed
是不是验证问题?
回复

使用道具 举报

千问 | 2021-1-27 07:08:11 | 显示全部楼层
TLSError:TLSkeynegotiationfailedtooccurwithin60seconds(checkyournetworkconnectivity)
TLSError:TLShandshakefailed
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行