Skip to content
New issue

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

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

Already on GitHub? # to your account

导出了Actinium格式的配置文件,修改加入domain override以及chinasite、chinaip都无法实现绕过大陆域名和IP #60

Open
zsbstephen opened this issue Feb 22, 2018 · 1 comment

Comments

@zsbstephen
Copy link

如题,想办法用Universal Copy从手机上OCR识别并提取出了Actinium格式的配置文件,加入了domain override以及chinasite、chinaip,设置好分应用代理,用浏览器一测试,被代理的app依然是全局通过v2ray服务器端。希望下版更新作者能想办法解决一下这个问题。不胜感激~!

隔壁v2rayNG已经实现了绕过中国大陆域名和IP的功能(app全局设置以及修改配置文件加domain override、chinasite以及chinaip都可以),只是遗憾google play商店有问题。

@zsbstephen
Copy link
Author

贴一下配置文件

{
"log": {
"loglevel": "warning"
},
"inbound": {
"domainOverride": [
"http",
"tls"
],
"protocol": "socks",
"listen": "127.0.0.1",
"settings": {
"auth": "noauth",
"udp": true
}
},
"outbound": {
"protocol": "vmess",
"settings": {
"vnext": [
{
"address": "192.168.0.1",
"port": 12345,
"users": [
{
"id": "377c6594-4868-4454-ac6f-88de6124afe8",
"alterId": 64
}
]
}
]
}
},
"inboundDetour": [],
"outboundDetour": [
{
"protocol": "blackhole",
"settings": {},
"tag": "blocked"
}
],
"dns": {
"servers": [
"208.67.222.222",
"208.67.222.220",
"208.67.220.123",
"8.8.8.8",
"8.8.4.4",
"localhost"
]
},
"routing": {
"strategy": "rules",
"settings": {
"rules": [
{
"type": "chinasites",
"outboundTag": "direct"
},
{
"type": "chinaip",
"outboundTag": "direct"
},
{
"type": "field",
"domain": [
"geosite:cn"
],
"outboundTag": "direct"
},
{
"type": "field",
"ip": [
"0.0.0.0/8",
"10.0.0.0/8",
"100.64.0.0/10",
"127.0.0.0/8",
"169.254.0.0/16",
"172.16.0.0/12",
"192.0.0.0/24",
"192.0.2.0/24",
"192.168.0.0/16",
"198.18.0.0/15",
"198.51.100.0/24",
"203.0.113.0/24",
"::1/128",
"fc00::/7",
"fe80::/10"
],
"outboundTag": "blocked"
}
]
}
},
"port": 10808,
"#lib2ray": {
"enabled": true,
"listener": {
"onUp": "#none",
"onDown": "#none"
},
"env": [
"V2RaySocksPort\u003d10808"
],
"render": [],
"escort": [],
"vpnservice": {
"Target": "${datadir}tun2socks",
"Args": [
"--netif-ipaddr",
"26.26.26.2",
"--netif-netmask",
"255.255.255.0",
"--socks-server-addr",
"127.0.0.1:$V2RaySocksPort",
"--tunfd",
"3",
"--tunmtu",
"1500",
"--sock-path",
"/dev/null",
"--loglevel",
"4",
"--enable-udprelay"
],
"VPNSetupArg": "m,1500 a,26.26.26.1,24 r,0.0.0.0,0"
}
}
}

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant