Fw: [问题] openVPN client [windows] 设定

楼主: gn00618777 (非常念旧)   2014-11-03 20:40:22
※ [本文转录自 Linux 看板 #1KLr2Z4g ]
作者: gn00618777 (非常念旧) 看板: Linux
标题: Re: [问题] openVPN client [windows] 设定
时间: Mon Nov 3 17:53:35 2014
OK 终于是可以连线了
但连线无法持久,状况是这样:
如果我启动 server , /etc/init.d/openvpn start, tun0 会出来都没事
如果我用 client 端连上去,有分配到IP,马上,server端的 tun0 消失,
我必须要重新启动 openvpn server,才可以连,然后连上又马上tun0消失,以此循环
。请问有人遭遇这问题过吗?
谢谢。 以下是连线log:
Tue Nov 04 17:59:09 2014 OpenVPN 2.3.5 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [PKCS11] [IPv6] built on Oct 28 2014
Tue Nov 04 17:59:09 2014 library versions: OpenSSL 1.0.1j 15 Oct 2014, LZO 2.05
Enter Management Password:
Tue Nov 04 17:59:10 2014 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
Tue Nov 04 17:59:10 2014 UDPv4 link local: [undef]
Tue Nov 04 17:59:10 2014 UDPv4 link remote: [AF_INET]172.16.51.14:1194
Tue Nov 04 17:59:10 2014 VERIFY OK: depth=1, C=TW, ST=Taiwan, L=Taoyuan, O=Tailyn, emailAddress=berniechen@tailyn.com.tw
Tue Nov 04 17:59:10 2014 VERIFY OK: depth=0, C=TW, ST=Taiwan, L=Taoyuan, O=Tailyn, OU=Office, CN=vpn_server, emailAddress=berniechen@tailyn.com.tw
Tue Nov 04 17:59:10 2014 Data Channel Encrypt: Cipher 'DES-CFB' initialized with 64 bit key
Tue Nov 04 17:59:10 2014 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Tue Nov 04 17:59:10 2014 Data Channel Decrypt: Cipher 'DES-CFB' initialized with 64 bit key
Tue Nov 04 17:59:10 2014 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Tue Nov 04 17:59:10 2014 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 1024 bit RSA
Tue Nov 04 17:59:10 2014 [vpn_server] Peer Connection Initiated with [AF_INET]172.16.51.14:1194
Tue Nov 04 17:59:12 2014 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Tue Nov 04 17:59:12 2014 open_tun, tt->ipv6=0
Tue Nov 04 17:59:12 2014 TAP-WIN32 device [pvpn] opened: \\.\Global\{674C1CBE-94F5-467D-90DC-40154685D8AD}.tap
Tue Nov 04 17:59:12 2014 Notified TAP-Windows driver to set a DHCP IP/netmask of 10.8.0.6/255.255.255.252 on interface {674C1CBE-94F5-467D-90DC-40154685D8AD} [DHCP-serv: 10.8.0.5, lease-time: 31536000]
Tue Nov 04 17:59:12 2014 Successful ARP Flush on interface [26] {674C1CBE-94F5-467D-90DC-40154685D8AD}
Tue Nov 04 17:59:17 2014 Initialization Sequence Completed
Tue Nov 04 17:59:24 2014 read UDPv4: Connection reset by peer (WSAECONNRESET) (code=10054)
Tue Nov 04 17:59:24 2014 read UDPv4: Connection reset by peer (WSAECONNRESET) (code=10054)
Tue Nov 04 17:59:24 2014 read UDPv4: Connection reset by peer (WSAECONNRESET) (code=10054)
Tue Nov 04 17:59:24 2014 read UDPv4: Connection reset by peer (WSAECONNRESET) (code=10054)
Tue Nov 04 17:59:24 2014 read UDPv4: Connection reset by peer (WSAECONNRESET) (code=10054)
Tue Nov 04 17:59:24 2014 read UDPv4: Connection reset by peer (WSAECONNRESET) (code=10054)
楼主: gn00618777 (非常念旧)   2014-11-09 21:18:00
已解决了

Links booklink

Contact Us: admin [ a t ] ucptt.com