Removed unnecessary part

This commit is contained in:
Whispering Wind
2025-02-17 00:32:49 +03:30
committed by GitHub
parent ddb6af750f
commit b020a4bb1a

View File

@ -27,21 +27,31 @@
"address": "rcode://success" "address": "rcode://success"
} }
], ],
"rules": [
{
"domain": "cp.cloudflare.com",
"server": "dns-remote",
"rewrite_ttl": 3000
}
],
"independent_cache": true "independent_cache": true
}, },
"inbounds": [ "inbounds": [
{ {
"type": "mixed", "type": "tun",
"tag": "mixed-in", "tag": "tun-in",
"listen": "127.0.0.1", "address": [
"listen_port": 2334, "172.18.0.1/30",
"fdfe:dcba:9876::1/126"
],
"mtu": 9000,
"auto_route": true,
"auto_redirect": false,
"strict_route": true,
"route_address": [
"0.0.0.0/1",
"128.0.0.0/1",
"::/1",
"8000::/1"
],
"route_exclude_address": [
"192.168.0.0/16",
"fc00::/7"
],
"sniff": true, "sniff": true,
"sniff_override_destination": true "sniff_override_destination": true
}, },
@ -99,6 +109,10 @@
], ],
"route": { "route": {
"rules": [ "rules": [
{
"inbound": "tun-in",
"action": "sniff"
},
{ {
"action": "reject", "action": "reject",
"rule_set": "geosite-category-ads-all" "rule_set": "geosite-category-ads-all"
@ -136,24 +150,9 @@
"action": "route", "action": "route",
"rule_set": "geoip-ir", "rule_set": "geoip-ir",
"outbound": "direct" "outbound": "direct"
},
{
"inbound": "dns-in",
"outbound": "dns-out"
},
{
"port": 53,
"outbound": "dns-out"
},
{
"clash_mode": "Direct",
"outbound": "direct"
},
{
"clash_mode": "Global",
"outbound": "select"
} }
], ],
"rule_set": [ "rule_set": [
{ {
"type": "remote", "type": "remote",
@ -220,7 +219,6 @@
"update_interval": "72h0m0s" "update_interval": "72h0m0s"
} }
], ],
"final": "select",
"auto_detect_interface": true, "auto_detect_interface": true,
"override_android_vpn": true "override_android_vpn": true
} }