新足迹

 找回密码
 注册

精华好帖回顾

· 新同事 (2007-8-16) 小昭 · 美食接龙: 阿狗菜谱——糯米酒汁排骨 下一棒:菲菲 食材:排骨 (2008-8-17) 阿Ka
· 混合动力车省油技巧 【附油电车简单介绍】 (更新了怎样刹车) (2013-1-20) 大大小小 · 北京承德深度精品文化亲子。。。全程无购物。。。8日自助游(真人秀陆续登场,欢迎围观)- 更新完毕 (2013-4-25) 缓缓
Advertisement
Advertisement
查看: 1533|回复: 2

为什么Mac断开OpenVPN后,无法连接到内网,需要renew DHCP [复制链接]

发表于 2012-7-22 02:30 |显示全部楼层
此文章由 yiqizun 原创或转贴,不代表本站立场和观点,版权归 oursteps.com.au 和作者 yiqizun 所有!转贴必须注明作者、出处和本声明,并保持内容完整
Synology NAS作为VPN Server
Mac版本Tunnelblick作为OpenVPN客户端

每次断开Tunnelblick后,再PING网关就无法到达
ping: sendto: Network is unreachable

PING 192.168.1.138 (192.168.1.138): 56 data bytes
ping: sendto: Network is unreachable
ping: sendto: Network is unreachable
Request timeout for icmp_seq 0
ping: sendto: Network is unreachable
Request timeout for icmp_seq 1
ping: sendto: Network is unreachable
Request timeout for icmp_seq 2

[ 本帖最后由 yiqizun 于 2012-7-22 21:22 编辑 ]
Advertisement
Advertisement

发表于 2012-7-22 12:25 |显示全部楼层
此文章由 商务车 原创或转贴,不代表本站立场和观点,版权归 oursteps.com.au 和作者 商务车 所有!转贴必须注明作者、出处和本声明,并保持内容完整
品牌型号设置....全没有!(paopaobing(45))

发表于 2012-7-22 12:55 |显示全部楼层

VPN Connection Log

此文章由 yiqizun 原创或转贴,不代表本站立场和观点,版权归 oursteps.com.au 和作者 yiqizun 所有!转贴必须注明作者、出处和本声明,并保持内容完整
------------------------------------------------------------------------------------------------------------------------------------------------
2012-07-22 12:31:44 TUN/TAP device /dev/tun0 opened
2012-07-22 12:31:44 /sbin/ifconfig tun0 delete
                                        ifconfig: ioctl (SIOCDIFADDR): Can't assign requested address
2012-07-22 12:31:44 NOTE: Tried to delete pre-existing tun/tap instance -- No Problem if failure
2012-07-22 12:31:44 /sbin/ifconfig tun0 10.8.0.6 10.8.0.5 mtu 1500 netmask 255.255.255.255 up
2012-07-22 12:31:44 /Applications/Tunnelblick.app/Contents/Resources/client.up.tunnelblick.sh -m -w -d -atDASNGWrdasngw tun0 1500 1542 10.8.0.6 10.8.0.5 init
                                          No such key
                                        add net 121.219.98.216: gateway 192.168.1.138
                                        delete net 0.0.0.0: gateway 192.168.1.138
                                        add net 0.0.0.0: gateway 10.8.0.5
                                        route: writing to routing socket: File exists
                                        add net 192.168.1.0: gateway 10.8.0.5: File exists
2012-07-22 12:31:47 *Tunnelblick: Flushed the DNS cache
2012-07-22 12:31:47 WARNING: potential route subnet conflict between local LAN [10.8.0.0/255.255.255.0] and remote VPN [10.8.0.0/255.255.255.0]
                                        add net 10.8.0.0: gateway 10.8.0.5
2012-07-22 12:31:47 WARNING: potential route subnet conflict between local LAN [10.8.0.0/255.255.255.0] and remote VPN [10.8.0.1/255.255.255.255]
                                        add net 10.8.0.1: gateway 10.8.0.5
2012-07-22 12:31:47 Initialization Sequence Completed
2012-07-22 12:31:47 *Tunnelblick client.up.tunnelblick.sh: Retrieved name server(s) [ 192.168.1.138 ] and WINS server(s) [ ] and using default domain name [ openvpn ]
2012-07-22 12:31:47 *Tunnelblick client.up.tunnelblick.sh: Up to two 'No such key' warnings are normal and may be ignored
2012-07-22 12:31:47 *Tunnelblick client.up.tunnelblick.sh: Saved the DNS and WINS configurations for later use
2012-07-22 12:31:47 *Tunnelblick client.up.tunnelblick.sh: Set up to monitor system configuration with process-network-changes
2012-07-22 12:31:52 *Tunnelblick process-network-changes: A system configuration change was ignored because it was not relevant
------------------------------------------------------------------------------------------------------------------------------------------------
以上是VPN Connection后的部分Log,大家看看是不是那里有冲突呀?

发表回复

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Advertisement
Advertisement
返回顶部