设为首页 加入收藏

TOP

Android上的OpenVPN-TAP模式/策略路由(二)
2015-02-02 14:32:18 来源: 作者: 【 】 浏览:25
Tags:Android OpenVPN-TAP 模式 策略 路由
PI does not allow specifying networks that should not be routed via the VPN. As a workaround the app tries to detect networks that should not be routed over tunnel (e.g. route x.x.x.x y.y.y.y net_gateway) and calculates a set of routes that excludes this routes to emulate the behaviour of other platforms. The log windows shows the configuration of the VPNService upon establishing a connection.


Behind the scenes: Android 4.4+ does use policy routing. Using route/ifconfig will not show the installed routes. Instead use ip rule, iptables -t mangle -L


请注意最后一段!今后千万别胡乱承认一些不是自己干的事情了,持同样想法的人太多了,人本来就是以群分的。另外,要对自己有信心,厂商的开发者也和自己一样,会犯错误,会不规范,当然解决问题的风格也可能和自己是一模一样的,毕竟知识是共享的,而我可能恰好又和他共享了一点相同的文化,所不同的可能只是,他在谷歌(只是可能),而我没有(能力进去)。


首页 上一页 1 2 下一页 尾页 2/2/2
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇Shell 脚本基础 - 使用 if 语句进.. 下一篇一些关于Java的句子

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容: