mirror of https://github.com/mack-a/v2ray-agent
feat(脚本): 完善sing-box订阅通用配置
parent
5bcfb7d8a9
commit
d5d3fb537d
|
@ -34,7 +34,7 @@
|
|||
|
||||
- 支持不同核心之间的配置读取
|
||||
- 支持个性化安装单个协议
|
||||
- [支持无域名版本的VLESS Reality搭建](https://www.v2ray-agent.com/archives/1680104902581)
|
||||
- [支持无域名版本的VLESS Reality搭建](https://www.v2ray-agent.com/archives/1708584312877)
|
||||
- [支持多种分流用于解锁(wireguard、IPv6、Socks5、DNS、VMess(ws)、SNI反向代理)](https://www.v2ray-agent.com/archives/ba-he-yi-jiao-ben-yu-ming-fen-liu-jiao-cheng)
|
||||
- [支持批量添加CDN节点并配合ClashMeta自动优选](https://www.v2ray-agent.com/archives/1684858575649)
|
||||
- 支持普通证书和通配符证书自动申请及更新
|
||||
|
@ -46,6 +46,7 @@
|
|||
|
||||
# 二、使用指南
|
||||
|
||||
- [八合一脚本从入门到精通](https://www.v2ray-agent.com/archives/1710141233)
|
||||
- [脚本快速搭建教程](https://www.v2ray-agent.com/archives/1682491479771)
|
||||
- [垃圾VPS大救星,hysteria2最新协议一键搭建](https://www.v2ray-agent.com/archives/1697162969693)
|
||||
- [Tuic V5性能提升及使用方法](https://www.v2ray-agent.com/archives/1687167522196)
|
||||
|
|
|
@ -18,44 +18,63 @@
|
|||
},
|
||||
"dns": {
|
||||
"servers": [
|
||||
{
|
||||
"tag": "dns_proxy",
|
||||
"address": "https://1.1.1.1/dns-query",
|
||||
"address_resolver": "dns_resolver",
|
||||
"strategy": "ipv4_only",
|
||||
"detour": "select"
|
||||
},
|
||||
{
|
||||
"tag": "dns_direct",
|
||||
"address": "h3://dns.alidns.com/dns-query",
|
||||
"address_resolver": "dns_resolver",
|
||||
"strategy": "ipv4_only",
|
||||
"detour": "direct"
|
||||
},
|
||||
{
|
||||
"tag": "google",
|
||||
"address": "tls://8.8.4.4"
|
||||
},
|
||||
{
|
||||
"tag": "local",
|
||||
"address": "https://223.5.5.5/dns-query",
|
||||
"detour": "direct"
|
||||
"tag": "dns_block",
|
||||
"address": "rcode://success"
|
||||
},
|
||||
{
|
||||
"tag": "dns-block",
|
||||
"address": "rcode://success"
|
||||
"tag": "dns_resolver",
|
||||
"address": "114.114.114.114",
|
||||
"strategy": "ipv4_only",
|
||||
"detour": "direct"
|
||||
}
|
||||
],
|
||||
"rules": [
|
||||
{
|
||||
"outbound": "any",
|
||||
"server": "local"
|
||||
"server": "dns_direct"
|
||||
},
|
||||
{
|
||||
"clash_mode": "Direct",
|
||||
"server": "local"
|
||||
"clash_mode": "direct",
|
||||
"server": "dns_direct"
|
||||
},
|
||||
{
|
||||
"clash_mode": "Global",
|
||||
"server": "google"
|
||||
"clash_mode": "global",
|
||||
"server": "dns_proxy"
|
||||
},
|
||||
{
|
||||
"rule_set": "geosite-cn",
|
||||
"server": "local"
|
||||
"server": "dns_direct"
|
||||
},
|
||||
{
|
||||
"rule_set": "geoip-cn",
|
||||
"server": "local"
|
||||
"server": "dns_direct"
|
||||
},
|
||||
{
|
||||
"rule_set": "geosite-geolocation-!cn",
|
||||
"server": "dns_proxy"
|
||||
}
|
||||
],
|
||||
"independent_cache": true,
|
||||
"final": "google"
|
||||
"final": "dns_direct"
|
||||
},
|
||||
"inbounds": [
|
||||
{
|
||||
|
@ -66,6 +85,12 @@
|
|||
"auto_route": true,
|
||||
"strict_route": true,
|
||||
"sniff": true
|
||||
},
|
||||
{
|
||||
"type": "socks",
|
||||
"tag": "socks-in",
|
||||
"listen": "127.0.0.1",
|
||||
"listen_port": 7888
|
||||
}
|
||||
],
|
||||
"outbounds": [
|
||||
|
@ -126,6 +151,14 @@
|
|||
"direct"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "selector",
|
||||
"tag": "Github",
|
||||
"outbounds": [
|
||||
"全局代理",
|
||||
"direct"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "selector",
|
||||
"tag": "本地直连",
|
||||
|
@ -250,6 +283,13 @@
|
|||
"url": "https://mirror.ghproxy.com/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/geolocation-!cn.srs",
|
||||
"update_interval": "1d"
|
||||
},
|
||||
{
|
||||
"tag": "geosite-github",
|
||||
"type": "remote",
|
||||
"format": "binary",
|
||||
"url": "https://mirror.ghproxy.com/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/github.srs",
|
||||
"update_interval": "1d"
|
||||
},
|
||||
{
|
||||
"tag": "geosite-private",
|
||||
"type": "remote",
|
||||
|
@ -355,6 +395,10 @@
|
|||
"rule_set": "geosite-microsoft",
|
||||
"outbound": "Microsoft"
|
||||
},
|
||||
{
|
||||
"rule_set": "geosite-github",
|
||||
"outbound": "Github"
|
||||
},
|
||||
{
|
||||
"rule_set": "geosite-geolocation-!cn",
|
||||
"outbound": "全局代理"
|
||||
|
|
|
@ -8711,7 +8711,7 @@ menu() {
|
|||
cd "$HOME" || exit
|
||||
echoContent red "\n=============================================================="
|
||||
echoContent green "作者:mack-a"
|
||||
echoContent green "当前版本:v3.2.21"
|
||||
echoContent green "当前版本:v3.2.22"
|
||||
echoContent green "Github:https://github.com/mack-a/v2ray-agent"
|
||||
echoContent green "描述:八合一共存脚本\c"
|
||||
showInstallStatus
|
||||
|
|
Loading…
Reference in New Issue