首页 随笔 乐走天涯 程序资料 评论中心 Tag 论坛 其他资源 搜索 联系我 关于 RSS

评论中心 - 当前页 228


一声叹息 于 2009-06-02 03:41(14 年以前) 发表:
花了两个小时基本上看完了。要说的东西很多很多。其实体力上。生活上的苦很多人都能受。就是这个歧视受不了。

yiyantang8 于 2009-06-02 10:07(14 年以前) 发表:
楼主不过是开个玩笑罢了
我觉得很有趣
呵呵

blowyourheart 于 2009-06-02 12:34(14 年以前) 发表:
冒的办法呀,中国永远都是人治社会,不会是法制社会

朱国虎 于 2009-06-03 13:00(14 年以前) 发表:
打倒一切不合理的制度,惩罚那些制定丑恶制度的XXX。。。

心晴 于 2009-06-03 15:42(14 年以前) 发表:
哈哈....几时来丽江吃下亏呀?
XiaoHui 回复于 2009-06-03 18:11:
说不定明天就过来了。:)

xukai 于 2009-06-03 17:34(14 年以前) 发表:
Wed Jun 03 13:40:30 2009 OpenVPN 2.0.5 Win32-MinGW [SSL] [LZO] built on Nov 2 2005
Wed Jun 03 13:40:30 2009 IMPORTANT: OpenVPN's default port number is now 1194, based on an official port number assignment by IANA. OpenVPN 2.0-beta16 and earlier used 5000 as the default port.
Wed Jun 03 13:40:30 2009 Cannot load certificate file xukai.crt: error:02001002:scd: error:20074002:BIO routines:FILE_CTRL:system lib: error:140AD002:SSL routines:SSL_CTX_use_certificate_file:system lib
Wed Jun 03 13:40:30 2009 Exiting
我按照楼主的做下来,连接的时候的报错,上面是log中的文件。
报错是connecting to client has failed.
XiaoHui 回复于 2009-06-03 18:10:
证书的配置没有做对。

xukai 于 2009-06-03 18:21(14 年以前) 发表:
Wed Jun 03 16:10:32 2009 OpenVPN 2.0.5 Win32-MinGW [SSL] [LZO] built on Nov 2 2005
Wed Jun 03 16:10:32 2009 IMPORTANT: OpenVPN's default port number is now 1194, based on an official port number assignment by IANA. OpenVPN 2.0-beta16 and earlier used 5000 as the default port.
Wed Jun 03 16:10:32 2009 LZO compression initialized
Wed Jun 03 16:10:32 2009 Control Channel MTU parms [ L:1542 D:138 EF:38 EB:0 ET:0 EL:0 ]
Wed Jun 03 16:10:32 2009 Data Channel MTU parms [ L:1542 D:1450 EF:42 EB:135 ET:0 EL:0 AF:3/1 ]
Wed Jun 03 16:10:32 2009 Local Options hash (VER=V4): '41690919'
Wed Jun 03 16:10:32 2009 Expected Remote Options hash (VER=V4): '530fdded'
Wed Jun 03 16:10:32 2009 UDPv4 link local (bound): [undef]:1194
Wed Jun 03 16:10:32 2009 UDPv4 link remote: 192.168.242.144:1194
Wed Jun 03 16:10:32 2009 read UDPv4: Connection reset by peer (WSAECONNRESET) (code=10054)
Wed Jun 03 16:10:34 2009 read UDPv4: Connection reset by peer (WSAECONNRESET) (code=10054)
Wed Jun 03 16:10:37 2009 read UDPv4: Connection reset by peer (WSAECONNRESET) (code=10054)
Wed Jun 03 16:10:38 2009 read UDPv4: Connection reset by peer (WSAECONNRESET) (code=10054)
Wed Jun 03 16:10:40 2009 read UDPv4: Connection reset by peer (WSAECONNRESET) (code=10054)
Wed Jun 03 16:10:42 2009 read UDPv4: Connection reset by peer (WSAECONNRESET) (code=10054)
Wed Jun 03 16:10:45 2009 read UDPv4: Connection reset by peer (WSAECONNRESET) (code=10054)
Wed Jun 03 16:10:47 2009 read UDPv4: Connection reset by peer (WSAECONNRESET) (code=10054)
Wed Jun 03 16:10:50 2009 read UDPv4: Connection reset by peer (WSAECONNRESET) (code=10054)
Wed Jun 03 16:10:52 2009 read UDPv4: Connection reset by peer (WSAECONNRESET) (code=10054)
Wed Jun 03 16:10:55 2009 read UDPv4: Connection reset by peer (WSAECONNRESET) (code=10054)
Wed Jun 03 16:10:56 2009 read UDPv4: Connection reset by peer (WSAECONNRESET) (code=10054)
Wed Jun 03 16:10:58 2009 read UDPv4: Connection reset by peer (WSAECONNRESET) (code=10054)
Wed Jun 03 16:11:01 2009 read UDPv4: Connection reset by peer (WSAECONNRESET) (code=10054)
Wed Jun 03 16:11:03 2009 read UDPv4: Connection reset by peer (WSAECONNRESET) (code=10054)
Wed Jun 03 16:11:06 2009 read UDPv4: Connection reset by peer (WSAECONNRESET) (code=10054)
Wed Jun 03 16:11:08 2009 read UDPv4: Connection reset by peer (WSAECONNRESET) (code=10054)
Wed Jun 03 16:11:11 2009 read UDPv4: Connection reset by peer (WSAECONNRESET) (code=10054)
Wed Jun 03 16:11:13 2009 read UDPv4: Connection reset by peer (WSAECONNRESET) (code=10054)
Wed Jun 03 16:11:15 2009 read UDPv4: Connection reset by peer (WSAECONNRESET) (code=10054)
Wed Jun 03 16:11:17 2009 read UDPv4: Connection reset by peer (WSAECONNRESET) (code=10054)
Wed Jun 03 16:11:19 2009 read UDPv4: Connection reset by peer (WSAECONNRESET) (code=10054)
Wed Jun 03 16:11:21 2009 read UDPv4: Connection reset by peer (WSAECONNRESET) (code=10054)
Wed Jun 03 16:11:24 2009 read UDPv4: Connection reset by peer (WSAECONNRESET) (code=10054)
Wed Jun 03 16:11:25 2009 read UDPv4: Connection reset by peer (WSAECONNRESET) (code=10054)
Wed Jun 03 16:11:27 2009 read UDPv4: Connection reset by peer (WSAECONNRESET) (code=10054)
Wed Jun 03 16:11:29 2009 read UDPv4: Connection reset by peer (WSAECONNRESET) (code=10054)
Wed Jun 03 16:11:31 2009 read UDPv4: Connection reset by peer (WSAECONNRESET) (code=10054)
Wed Jun 03 16:11:32 2009 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Wed Jun 03 16:11:32 2009 TLS Error: TLS handshake failed
Wed Jun 03 16:11:32 2009 TCP/UDP: Closing socket
Wed Jun 03 16:11:32 2009 SIGUSR1[soft,tls-error] received, process restarting
Wed Jun 03 16:11:32 2009 Restart pause, 2 second(s)
上面的问题解决了,现在老这样了,请问怎么回事?
XiaoHui 回复于 2009-06-03 22:32:

客户端与服务端的物理链接不通。确认 1194 端口是开的,客户端与服务端能够正常PING通。下面是 OPENVPN 官方解释,你自己对照排除一下:

You get the error message: TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity). This error indicates that the client was unable to establish a network connection with the server.

    Solutions:
  • Make sure the client is using the correct hostname/IP address and port number which will allow it to reach the OpenVPN server.
  • If the OpenVPN server machine is a single-NIC box inside a protected LAN, make sure you are using a correct port forward rule on the server's gateway firewall. For example, suppose your OpenVPN box is at 192.168.4.4 inside the firewall, listening for client connections on UDP port 1194. The NAT gateway servicing the 192.168.4.x subnet should have a port forward rule that says forward UDP port 1194 from my public IP address to 192.168.4.4.
  • Open up the server's firewall to allow incoming connections to UDP port 1194 (or whatever TCP/UDP port you have configured in the server config file).

小新 于 2009-06-04 10:40(14 年以前) 发表:
生活很让人羡慕呀!!

xk 于 2009-06-04 18:55(14 年以前) 发表:
你倒很舒服,还种菜,我现在栽了我

hingman 于 2009-06-04 19:08(14 年以前) 发表:
美好的生活啊。

A Side Story 于 2009-06-05 00:57(14 年以前) 发表:
老哥,你这“农夫山泉有点甜”的生活就算凑齐了!

lwjef 于 2009-06-05 14:53(14 年以前) 发表:
支持哈子~

luo 于 2009-06-05 17:27(14 年以前) 发表:
客户端连入服务端后。可以ping通服务端的lan wan tun ip,,但是连接服务端的lan同一交换下的电脑,有的可以连通,有的不行,,就比如127 77 5 212 这些IP都可以连通,其它IP又不能联通,不知道是什么原因,是因为路由的原因吗?获取的掩码是255.255.255.252,而且拔入后访问共享,比如访问77这台的默认共享c$,不需要提示输入用户和密码,直接就可以打开共享了,这我觉得有安全问题,这问xiaohui这是什么原因,怎么解决呀。
XiaoHui 回复于 2009-06-05 18:06:
我装 VPN 只是为了穿墙,这种情况我不知道,没折腾过。不好意思。:)

xjb 于 2009-06-05 19:43(14 年以前) 发表:
不错,我也试试

邱生 于 2009-06-07 01:12(14 年以前) 发表:
余秋雨是作秀一流,写作二流,思维三流,人品不入流.

braveheart 于 2009-06-07 12:53(14 年以前) 发表:
田园牧歌似的生活,让人羡慕啊!

hingman 于 2009-06-08 00:53(14 年以前) 发表:
马上试试,小辉强啊。

xjb 于 2009-06-08 22:53(14 年以前) 发表:
哈哈哈,真有味

第 4558 楼  评论 京城丢车记:
于 2009-06-11 01:19(14 年以前) 发表:
从根本上解决问题,就要呼吁广大人民群众都来买新车,这样旧车就等于没有了市场,自然而然就没有小偷再偷车啦

于 2009-06-11 14:18(14 年以前) 发表:
得到


当前页: 228 / 376
所有页面: [1]  [2]  [3]  [4]  [5]  [6]  [7]  [8]  [9]  [10]  [11]  [12]  [13]  [14]  [15]  [16]  [17]  [18]  [19]  [20]  [21]  [22]  [23]  [24]  [25]  [26]  [27]  [28]  [29]  [30]  [31]  [32]  [33]  [34]  [35]  [36]  [37]  [38]  [39]  [40]  [41]  [42]  [43]  [44]  [45]  [46]  [47]  [48]  [49]  [50]  [51]  [52]  [53]  [54]  [55]  [56]  [57]  [58]  [59]  [60]  [61]  [62]  [63]  [64]  [65]  [66]  [67]  [68]  [69]  [70]  [71]  [72]  [73]  [74]  [75]  [76]  [77]  [78]  [79]  [80]  [81]  [82]  [83]  [84]  [85]  [86]  [87]  [88]  [89]  [90]  [91]  [92]  [93]  [94]  [95]  [96]  [97]  [98]  [99]  [100]  [101]  [102]  [103]  [104]  [105]  [106]  [107]  [108]  [109]  [110]  [111]  [112]  [113]  [114]  [115]  [116]  [117]  [118]  [119]  [120]  [121]  [122]  [123]  [124]  [125]  [126]  [127]  [128]  [129]  [130]  [131]  [132]  [133]  [134]  [135]  [136]  [137]  [138]  [139]  [140]  [141]  [142]  [143]  [144]  [145]  [146]  [147]  [148]  [149]  [150]  [151]  [152]  [153]  [154]  [155]  [156]  [157]  [158]  [159]  [160]  [161]  [162]  [163]  [164]  [165]  [166]  [167]  [168]  [169]  [170]  [171]  [172]  [173]  [174]  [175]  [176]  [177]  [178]  [179]  [180]  [181]  [182]  [183]  [184]  [185]  [186]  [187]  [188]  [189]  [190]  [191]  [192]  [193]  [194]  [195]  [196]  [197]  [198]  [199]  [200]  [201]  [202]  [203]  [204]  [205]  [206]  [207]  [208]  [209]  [210]  [211]  [212]  [213]  [214]  [215]  [216]  [217]  [218]  [219]  [220]  [221]  [222]  [223]  [224]  [225]  [226]  [227]  [228]  [229]  [230]  [231]  [232]  [233]  [234]  [235]  [236]  [237]  [238]  [239]  [240]  [241]  [242]  [243]  [244]  [245]  [246]  [247]  [248]  [249]  [250]  [251]  [252]  [253]  [254]  [255]  [256]  [257]  [258]  [259]  [260]  [261]  [262]  [263]  [264]  [265]  [266]  [267]  [268]  [269]  [270]  [271]  [272]  [273]  [274]  [275]  [276]  [277]  [278]  [279]  [280]  [281]  [282]  [283]  [284]  [285]  [286]  [287]  [288]  [289]  [290]  [291]  [292]  [293]  [294]  [295]  [296]  [297]  [298]  [299]  [300]  [301]  [302]  [303]  [304]  [305]  [306]  [307]  [308]  [309]  [310]  [311]  [312]  [313]  [314]  [315]  [316]  [317]  [318]  [319]  [320]  [321]  [322]  [323]  [324]  [325]  [326]  [327]  [328]  [329]  [330]  [331]  [332]  [333]  [334]  [335]  [336]  [337]  [338]  [339]  [340]  [341]  [342]  [343]  [344]  [345]  [346]  [347]  [348]  [349]  [350]  [351]  [352]  [353]  [354]  [355]  [356]  [357]  [358]  [359]  [360]  [361]  [362]  [363]  [364]  [365]  [366]  [367]  [368]  [369]  [370]  [371]  [372]  [373]  [374]  [375]  [376]  
首页 随笔 乐走天涯 猎户星 Google Earth 程序资料 程序生活 评论 Tag 论坛 资源 搜索 联系 关于 隐私声明 版权声明 订阅邮件

程序员小辉 建站于 1997 ◇ 做一名最好的开发者是我不变的理想。
Copyright © XiaoHui.com; 保留所有权利。