nianyi 于 2011-03-30 16:38(13 年以前) 发表:
帮忙找找问题哦,整了好久也不知道哪儿错了
服务端已经成功运行
客户端始终TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity) TLS Error: TLS handshake failed
我的服务端代码:
port 53
proto udp
dev tap
ca ca.crt
cert CdtsmServer.crt
dh dh1024.pem
server 192.168.100.0 255.255.255.0
ifconfig-pool-persist ipp.txt
client-config-dir ccd
push "route 192.168.3.0 255.255.255.0"
push "route 10.10.22.0 255.255.255.0"
push "route 121.194.12.0 255.255.255.0"
push "route 192.168.15.0 255.255.255.0"
push "dhcp-option DNS 10.10.22.243"
push "dhcp-option WINS 202.106.0.20"
client-to-client
keepalive 10 120
tls-auth ta.key 0 # This file is secret
comp-lzo
max-clients 20
user nobody
group nobody
persist-key
persist-tun
status openvpn-status.log
verb 3
客户端:
client
dev tap
proto udp
remote 122.224.8.*** 53
remote-random
resolv-retry infinite
nobind
user nobody
group nobody
persist-key
persist-tun
ca ca.crt
cert CdtsmClient.crt
key CdtsmClient.key
ns-cert-type server
tls-auth ta.key 1
comp-lzo
verb 3
我的服务器只有一张网卡,服务器在电信大楼,主要是想做UDP53端口的vnp