我不能成功地与OpenVPN连接,或者我可能会成功地连接,而且我的网络设置有问题.
这是连接时OpenVPN的输出:
Thu Feb 13 23:21:13 2014 OpenVPN 2.3.2 x86_64-unknown-linux-gnu [SSL
(OpenSSL)] [LZO] [EPOLL] [eurephia] [MH] [IPv6] built on Nov 13 2013
Thu Feb 13 23:21:13 2014 WARNING: file
'/home/mak/openvpn-config/mkirchweger.p12' is group or others
accessible Thu Feb 13 23:21:13 2014 Attempting to establish TCP
connection with [AF_INET]83.164.xxx.xx:xxxx [nonblock] Thu Feb 13
23:21:14 2014 TCP connection established with
[AF_INET]83.164.xxx.xx:xxxx Thu Feb 13 23:21:14 2014 TCPv4_CLIENT link
local: [undef] Thu Feb 13 23:21:14 2014 TCPv4_CLIENT link remote:
[AF_INET]83.164.xxx.xx:xxxx Thu Feb 13 23:21:14 2014
[bricks.softpoint.at] Peer Connection Initiated with
[AF_INET]83.164.xxx.xx:xxxx Thu Feb 13 23:21:17 2014 TUN/TAP device
tun0 opened Thu Feb 13 23:21:17 2014 do_ifconfig, tt->ipv6=0,
tt->did_ifconfig_ipv6_setup=0 Thu Feb 13 23:21:17 2014 /usr/bin/ip
link set dev tun0 up mtu 1500 Thu Feb 13 23:21:17 2014 /usr/bin/ip
addr add dev tun0 local 10.10.x.xx peer 10.10.x.xx Thu Feb 13 23:21:19
2014 Initialization Sequence Completed
更新:我很确定这是一个DNS问题,通过IP工作的ping,但主机名无法解决.
发布于 2014-08-14 03:55:50
我已经找到了这个,现在起作用了:-)
https://github.com/masterkorp/openvpn-update-resolv-conf
当我将它添加到openvpn-client配置中时
# This updates the resolvconf with dns settings
script-security 2
up /etc/openvpn/update-resolv-conf.sh
down /etc/openvpn/update-resolv-conf.sh
https://unix.stackexchange.com/questions/115108
复制相似问题