我已经安装了开放VPN。无论是在我的服务器上还是在我的电脑里。我认为我的日志文件是:
Aug 18 18:37:52 ubuntu openvpn[27920]: Local Options hash (VER=V4): 'bd6dea9e'
Aug 18 18:37:52 ubuntu openvpn[27920]: Expected Remote Options hash (VER=V4): '760316bb'
Aug 18 18:37:52 ubuntu openvpn[27931]: Attempting to establish TCP connection with x.x.x.x.x.x:80
Aug 18 18:37:52 ubuntu openvpn[27931]: TCP connection established with x.x.x.x:80
Aug 18 18:37:52 ubuntu openvpn[27931]: Socket Buffers: R=[87380->131072] S=[23860->131072]
Aug 18 18:37:52 ubuntu openvpn[27931]: TCPv4_CLIENT link local: [undef]
Aug 18 18:37:52 ubuntu openvpn[27931]: TCPv4_CLIENT link remote: x.x.x.x.x:80
Aug 18 18:37:52 ubuntu openvpn[27931]: WARNING: Bad encapsulated packet length from peer (15393), which must be > 0 and <= 1546 -- please ensure that --tun-mtu or --link-mtu is equal on both peers -- this condition could also indicate a possible active attack on the TCP link -- [Attemping restart...]
Aug 18 18:37:52 ubuntu openvpn[27931]: Connection reset, restarting [0]
Aug 18 18:37:52 ubuntu openvpn[27931]: TCP/UDP: Closing socket
Aug 18 18:37:52 ubuntu openvpn[27931]: /sbin/route del -net x.x.x.x.x. netmask 255.255.255.255
Aug 18 18:37:52 ubuntu openvpn[27931]: /sbin/route del -net 0.0.0.0 netmask 128.0.0.0
Aug 18 18:37:52 ubuntu openvpn[27931]: /sbin/route del -net 128.0.0.0 netmask 128.0.0.0
Aug 18 18:37:52 ubuntu openvpn[27931]: Closing TUN/TAP interface
Aug 18 18:37:52 ubuntu openvpn[27931]: SIGUSR1[soft,connection-reset] received, process restarting
Aug 18 18:37:52 ubuntu openvpn[27931]: Restart pause, 5 second(s)
Aug 18 18:37:57 ubuntu openvpn[27931]: Cannot open file key file 'ovpn.key': No such file or directory (errno=2)
Aug 18 18:37:57 ubuntu openvpn[27931]: Exiting我想知道问题在哪里,这使得VPN需要重新连接。请注意,文件ovpn.key位于当前目录中!但它仍然显示了cannot open file错误信息。
有人能说出我在哪里犯错吗?
提前谢谢。
发布于 2012-10-10 11:40:21
https://askubuntu.com/questions/177419
复制相似问题