Rollback to version 1.11

This commit is contained in:
Whispering Wind
2025-06-03 23:47:46 +03:30
committed by GitHub
parent dbe347c865
commit e9aa6bcb23

View File

@ -1,159 +1,155 @@
{ {
"log": {
"level": "info",
"timestamp": true
},
"dns": { "dns": {
"final": "local-dns",
"rules": [
{
"action": "route",
"clash_mode": "Global",
"server": "proxy-dns",
"source_ip_cidr": [
"172.19.0.0/30",
"fdfe:dcba:9876::1/126"
]
},
{
"action": "route",
"server": "proxy-dns",
"source_ip_cidr": [
"172.19.0.0/30",
"fdfe:dcba:9876::1/126"
]
}
],
"servers": [ "servers": [
{ {
"type": "https", "tag": "proxyDns",
"server": "1.1.1.1", "address": "tls://8.8.8.8",
"detour": "proxy", "detour": "Proxy"
"tag": "proxy-dns"
}, },
{ {
"type": "local", "tag": "localDns",
"detour": "direct", "address": "8.8.8.8",
"tag": "local-dns" "detour": "direct"
} }
], ],
"strategy": "prefer_ipv4" "rules": [
{
"outbound": "any",
"server": "localDns"
},
{
"rule_set": "geosite-ir",
"server": "proxyDns"
},
{
"clash_mode": "direct",
"server": "localDns"
},
{
"clash_mode": "global",
"server": "proxyDns"
}
],
"final": "localDns",
"strategy": "ipv4_only"
}, },
"inbounds": [ "inbounds": [
{ {
"address": [ "type": "tun",
"172.19.0.1/30", "tag": "tun-in",
"fdfe:dcba:9876::1/126" "address": "172.19.0.1/30",
],
"auto_route": true, "auto_route": true,
"endpoint_independent_nat": false, "strict_route": true
"mtu": 9000,
"platform": {
"http_proxy": {
"enabled": true,
"server": "127.0.0.1",
"server_port": 2080
}
},
"stack": "system",
"strict_route": false,
"type": "tun"
},
{
"listen": "127.0.0.1",
"listen_port": 2080,
"type": "mixed",
"users": []
} }
], ],
"log": {
"level": "warn",
"timestamp": true
},
"outbounds": [ "outbounds": [
{ {
"tag": "Proxy",
"type": "selector",
"outbounds": [ "outbounds": [
"auto", "auto",
"direct" "direct"
], ]
"tag": "proxy", },
"type": "selector" {
"tag": "Global",
"type": "selector",
"outbounds": [
"direct"
]
}, },
{ {
"interval": "10m",
"outbounds": [],
"tag": "auto", "tag": "auto",
"tolerance": 50,
"type": "urltest", "type": "urltest",
"url": "http://www.gstatic.com/generate_204" "outbounds": [
"Proxy"
],
"url": "http://www.gstatic.com/generate_204",
"interval": "10m",
"tolerance": 50
}, },
{ {
"tag": "direct", "type": "direct",
"type": "direct" "tag": "direct"
},
{
"type": "direct",
"tag": "local"
} }
], ],
"route": { "route": {
"auto_detect_interface": true, "auto_detect_interface": true,
"final": "proxy", "final": "Proxy",
"rule_set": [
{
"download_detour": "direct",
"format": "binary",
"tag": "geosite-ads",
"type": "remote",
"url": "https://raw.githubusercontent.com/Chocolate4U/Iran-sing-box-rules/rule-set/geosite-category-ads-all.srs"
},
{
"download_detour": "direct",
"format": "binary",
"tag": "geoip-private",
"type": "remote",
"url": "https://raw.githubusercontent.com/Chocolate4U/Iran-sing-box-rules/rule-set/geoip-private.srs"
},
{
"download_detour": "direct",
"format": "binary",
"tag": "geosite-ir",
"type": "remote",
"url": "https://raw.githubusercontent.com/Chocolate4U/Iran-sing-box-rules/rule-set/geosite-ir.srs"
},
{
"download_detour": "direct",
"format": "binary",
"tag": "geoip-ir",
"type": "remote",
"url": "https://raw.githubusercontent.com/Chocolate4U/Iran-sing-box-rules/rule-set/geoip-ir.srs"
}
],
"rules": [ "rules": [
{ {
"inbound": [
"tun-in",
"mixed-in"
],
"action": "sniff" "action": "sniff"
}, },
{ {
"action": "route", "type": "logical",
"clash_mode": "Direct", "mode": "or",
"rules": [
{
"port": 53
},
{
"protocol": "dns"
}
],
"action": "hijack-dns"
},
{
"rule_set": "geosite-category-ads-all",
"action": "reject"
},
{
"rule_set": "geosite-category-ads-all",
"outbound": "Proxy"
},
{
"ip_is_private": true,
"outbound": "direct" "outbound": "direct"
}, },
{ {
"action": "route", "action": "route",
"clash_mode": "Global", "rule_set": "geosite-ir",
"outbound": "proxy" "outbound": "direct"
},
{
"action": "hijack-dns",
"protocol": "dns"
}, },
{ {
"action": "route", "action": "route",
"outbound": "direct", "rule_set": "geoip-ir",
"rule_set": [ "outbound": "direct"
"geosite-ir", }
"geoip-ir", ],
"geoip-private" "rule_set": [
] {
"tag": "geosite-category-ads-all",
"type": "remote",
"format": "binary",
"url": "https://raw.githubusercontent.com/Chocolate4U/Iran-sing-box-rules/rule-set/geosite-category-ads-all.srs",
"download_detour": "direct"
}, },
{ {
"action": "reject", "type": "remote",
"rule_set": [ "tag": "geoip-ir",
"geosite-ads" "format": "binary",
] "url": "https://raw.githubusercontent.com/Chocolate4U/Iran-sing-box-rules/rule-set/geoip-ir.srs",
"update_interval": "120h0m0s"
},
{
"type": "remote",
"tag": "geosite-ir",
"format": "binary",
"url": "https://raw.githubusercontent.com/Chocolate4U/Iran-sing-box-rules/rule-set/geosite-ir.srs",
"update_interval": "120h0m0s"
} }
] ]
} }
} }