Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

修改为全局模式(配合电信停机卡免流使用!) #95

Open
chengmeiqq opened this issue Sep 29, 2021 · 3 comments
Open

修改为全局模式(配合电信停机卡免流使用!) #95

chengmeiqq opened this issue Sep 29, 2021 · 3 comments

Comments

@chengmeiqq
Copy link

如果可以全局代理的话,可以实现免流卡使用!!

@chengmeiqq
Copy link
Author

chengmeiqq commented Oct 4, 2021

开机可以自动全局代理(可实现免流卡使用)
广东电信测试可以用!!!!!!!
可以加电报群下载:https://t.me/@ys1116
流量领取:http://v2.ys9898.xyz/
QQ群:1:517361488 2:797020395已满
也可以到这个位置下载到本地安装!
https://cloud.189.cn/t/ia2mEb2yQfEj (访问码:0i1m)
非常感谢 @锄禾 大佬的指导!!

第一步:下载 v2Ray-v4.41.1 面具本地安装好!
第二步:修改/data/v2ray/config.json 加入你自己的服务器!或者 免流服务器都行!
第三步:修改代理模式/data/v2ray/config/routing.json(改成全局模式)

修改routing.json 为线下面内容:(修改之后一定要重启下手机!)

//这是全局代理,开启全局局域网共享端口应该用不了

{
"routing": {
"domainStrategy": "IPIfNonMatch",
"rules":[
]
}
}

//这是路由绕行代理,默认绕行。
/*
{
"routing": {
"domainStrategy": "IPIfNonMatch",
"rules":[
{
"type": "field",
"outboundTag": "dns-out",
"inboundTag": [
"socks-in",
"http-in",
"dns-in"
],
"network": "tcp,udp"
},
{
"type": "field",
"outboundTag": "direct",
"protocol": ["bittorrent"]
},
{
"type": "field",
"outboundTag": "block",
"domain": [
"geosite:category-ads-all"
]
},
{
"type": "field",
"outboundTag": "proxy",
"domain": [
"geosite:geolocation-!cn",
"geosite:speedtest"
]
},
{
"type": "field",
"outboundTag": "direct",
"domain": [
"geosite:cn"
]
},
{
"type": "field",
"outboundTag": "direct",
"ip": [
"223.5.5.5/32",
"119.29.29.29/32",
"180.76.76.76/32",
"114.114.114.114/32"
]
},
{
"type": "field",
"outboundTag": "proxy",
"ip": [
"1.1.1.1/32",
"1.0.0.1/32",
"8.8.8.8/32",
"8.8.4.4/32"
]
},
{
"type": "field",
"outboundTag": "direct",
"ip": [
"geoip:cn",
"geoip:private"
]
}
]
}
}
*/

@chengmeiqq chengmeiqq changed the title 根据教程已经设置成功,模块默认为PAC模式(小米10s可以成功),请问下怎么设置成全局模式? 修改为全局模式(配合电信停机卡免流使用!) Oct 4, 2021
@gdzhujun
Copy link

改了用正常卡可以 换停机就不行 我怀疑是dns的问题 请问配置文件里要设置dns吗

@GusRoth
Copy link

GusRoth commented Oct 17, 2022

改了用正常卡可以 换停机就不行 我怀疑是dns的问题 请问配置文件里要设置dns吗

请问您解决这个问题了吗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants