Android 端的全局代理(通过v2ray 5.9.0+自带tun实现) #2819
sdk250
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
这是按照
v2ray v5
版本配置文件格式完成的所以当你需要单独运行的时候需要加上
-format jsonv5
参数功能
实现全局代理,所有流量都经由v2ray创建的tun虚拟网卡出去。
因为使用了
v2ray
自带的tun
不需要多余的插件/拓展来实现,所以脚本很简单。使用方法
下载解压附件,接着配置一下
Tools/_v2.json
将里面的服务器为自己的,最后以root身份直接运行mlk.sh
。注意
CN
区的配置共有两份,如果不需要可以删除,否则必须两份都要填写。注意事项
脚本写的都是动态路由,如果脚本运行出现了什么问题可以直接重启来恢复默认路由。
但是需要把脚本根目录
enabled
重命名为disabled
附件下载
mlk_4c72e3929bac90d801bd1471fbf5bfd2.zip
Beta Was this translation helpful? Give feedback.
All reactions