mirror of https://github.com/mack-a/v2ray-agent
feat(脚本): 更新sing-box订阅配置以忽略警告
parent
e19e9a101f
commit
161b6ecc9a
|
@ -205,26 +205,9 @@
|
||||||
],
|
],
|
||||||
"default": "direct"
|
"default": "direct"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"type": "selector",
|
|
||||||
"tag": "reject",
|
|
||||||
"outbounds": [
|
|
||||||
"block",
|
|
||||||
"direct"
|
|
||||||
],
|
|
||||||
"default": "block"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"tag": "direct",
|
"tag": "direct",
|
||||||
"type": "direct"
|
"type": "direct"
|
||||||
},
|
|
||||||
{
|
|
||||||
"tag": "block",
|
|
||||||
"type": "block"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"tag": "dns",
|
|
||||||
"type": "dns"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"route": {
|
"route": {
|
||||||
|
@ -357,6 +340,13 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"rules": [
|
"rules": [
|
||||||
|
{
|
||||||
|
"action": "sniff"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"protocol": "dns",
|
||||||
|
"action": "hijack-dns"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"clash_mode": "global",
|
"clash_mode": "global",
|
||||||
"outbound": "手动切换"
|
"outbound": "手动切换"
|
||||||
|
@ -365,10 +355,6 @@
|
||||||
"clash_mode": "direct",
|
"clash_mode": "direct",
|
||||||
"outbound": "本地直连"
|
"outbound": "本地直连"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"protocol": "dns",
|
|
||||||
"outbound": "dns"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"type": "logical",
|
"type": "logical",
|
||||||
"mode": "or",
|
"mode": "or",
|
||||||
|
@ -389,7 +375,9 @@
|
||||||
"protocol": "stun"
|
"protocol": "stun"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"outbound": "block"
|
"action": "reject",
|
||||||
|
"method": "default",
|
||||||
|
"no_drop": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"rule_set": [
|
"rule_set": [
|
||||||
|
@ -411,7 +399,9 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"rule_set": "geosite-openai@ads",
|
"rule_set": "geosite-openai@ads",
|
||||||
"outbound": "block"
|
"action": "reject",
|
||||||
|
"method": "default",
|
||||||
|
"no_drop": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"rule_set": "geosite-openai",
|
"rule_set": "geosite-openai",
|
||||||
|
|
|
@ -9748,7 +9748,7 @@ menu() {
|
||||||
cd "$HOME" || exit
|
cd "$HOME" || exit
|
||||||
echoContent red "\n=============================================================="
|
echoContent red "\n=============================================================="
|
||||||
echoContent green "作者:mack-a"
|
echoContent green "作者:mack-a"
|
||||||
echoContent green "当前版本:v3.4.1"
|
echoContent green "当前版本:v3.4.2"
|
||||||
echoContent green "Github:https://github.com/mack-a/v2ray-agent"
|
echoContent green "Github:https://github.com/mack-a/v2ray-agent"
|
||||||
echoContent green "描述:八合一共存脚本\c"
|
echoContent green "描述:八合一共存脚本\c"
|
||||||
showInstallStatus
|
showInstallStatus
|
||||||
|
|
Loading…
Reference in New Issue