modify default templates

This commit is contained in:
2025-02-12 23:19:28 +08:00
parent 273856968a
commit 59ccf8a3c7
16 changed files with 141 additions and 364 deletions

View File

@ -6,6 +6,7 @@
"clash_api": {
"external_controller": "127.0.0.1:9090",
"external_ui": "./ui",
"external_ui_download_url": "https://github.com/Zephyruso/zashboard/releases/latest/download/dist.zip",
"external_ui_download_detour": "default",
"default_mode": "Enhanced"
}

View File

@ -8,14 +8,6 @@
{
"tag": "direct",
"type": "direct"
},
{
"tag": "block",
"type": "block"
},
{
"tag": "dns",
"type": "dns"
}
]
}

View File

@ -2,17 +2,20 @@
"route": {
"rules": [
{
"type": "logical",
"mode": "or",
"rules": [
{
"protocol": "dns"
},
{
"port": 53
}
],
"outbound": "dns"
"action": "resolve",
"strategy": "prefer_ipv4"
},
{
"action": "sniff",
"timeout": "1s"
},
{
"protocol": "dns",
"action": "hijack-dns"
},
{
"port": [3478, 5348, 5349],
"outbound": "direct"
},
{
"ip_is_private": true,
@ -31,18 +34,23 @@
"outbound": "default"
},
{
"type": "logical",
"mode": "or",
"rules": [
{
"rule_set": [
"geoip-cn",
"geosite-geolocation-cn",
"geosite-cn",
"geosite-category-games@cn",
"geosite-steam@cn"
]
}
"rule_set": "geosite-bahamut",
"outbound": "台湾(TW)"
},
{
"process_path_regex": [
"^.+/steam/compatibilitytools.d/.+",
"^.+/steamapps/common/.*"
],
"outbound": "direct"
},
{
"rule_set": [
"geoip-cn",
"geosite-geolocation-cn",
"geosite-cn",
"geosite-category-games@cn",
"geosite-steam@cn"
],
"outbound": "direct"
}