mirror of
https://github.com/cedar2025/Xboard.git
synced 2025-01-23 02:58:14 -05:00
124 lines
3.1 KiB
JSON
124 lines
3.1 KiB
JSON
|
{
|
||
|
"dns": {
|
||
|
"rules": [
|
||
|
{
|
||
|
"outbound": [
|
||
|
"any"
|
||
|
],
|
||
|
"server": "local"
|
||
|
},
|
||
|
{
|
||
|
"disable_cache": true,
|
||
|
"geosite": [
|
||
|
"category-ads-all"
|
||
|
],
|
||
|
"server": "block"
|
||
|
},
|
||
|
{
|
||
|
"clash_mode": "global",
|
||
|
"server": "remote"
|
||
|
},
|
||
|
{
|
||
|
"clash_mode": "direct",
|
||
|
"server": "local"
|
||
|
},
|
||
|
{
|
||
|
"geosite": "cn",
|
||
|
"server": "local"
|
||
|
}
|
||
|
],
|
||
|
"servers": [
|
||
|
{
|
||
|
"address": "https://1.1.1.1/dns-query",
|
||
|
"detour": "节点选择",
|
||
|
"tag": "remote"
|
||
|
},
|
||
|
{
|
||
|
"address": "https://223.5.5.5/dns-query",
|
||
|
"detour": "direct",
|
||
|
"tag": "local"
|
||
|
},
|
||
|
{
|
||
|
"address": "rcode://success",
|
||
|
"tag": "block"
|
||
|
}
|
||
|
],
|
||
|
"strategy": "prefer_ipv4"
|
||
|
},
|
||
|
"experimental": {
|
||
|
"clash_api": {
|
||
|
"external_controller": "127.0.0.1:9090",
|
||
|
"secret": "",
|
||
|
"store_selected": true
|
||
|
}
|
||
|
},
|
||
|
"inbounds": [
|
||
|
{
|
||
|
"auto_route": true,
|
||
|
"domain_strategy": "prefer_ipv4",
|
||
|
"endpoint_independent_nat": true,
|
||
|
"inet4_address": "172.19.0.1/30",
|
||
|
"inet6_address": "2001:0470:f9da:fdfa::1/64",
|
||
|
"mtu": 9000,
|
||
|
"sniff": true,
|
||
|
"sniff_override_destination": true,
|
||
|
"stack": "system",
|
||
|
"strict_route": true,
|
||
|
"type": "tun"
|
||
|
},
|
||
|
{
|
||
|
"domain_strategy": "prefer_ipv4",
|
||
|
"listen": "127.0.0.1",
|
||
|
"listen_port": 2333,
|
||
|
"sniff": true,
|
||
|
"sniff_override_destination": true,
|
||
|
"tag": "socks-in",
|
||
|
"type": "socks",
|
||
|
"users": []
|
||
|
},
|
||
|
{
|
||
|
"domain_strategy": "prefer_ipv4",
|
||
|
"listen": "127.0.0.1",
|
||
|
"listen_port": 2334,
|
||
|
"sniff": true,
|
||
|
"sniff_override_destination": true,
|
||
|
"tag": "mixed-in",
|
||
|
"type": "mixed",
|
||
|
"users": []
|
||
|
}
|
||
|
],
|
||
|
"outbounds": [
|
||
|
],
|
||
|
"route": {
|
||
|
"auto_detect_interface": true,
|
||
|
"rules": [
|
||
|
{
|
||
|
"geosite": "category-ads-all",
|
||
|
"outbound": "block"
|
||
|
},
|
||
|
{
|
||
|
"outbound": "dns-out",
|
||
|
"protocol": "dns"
|
||
|
},
|
||
|
{
|
||
|
"clash_mode": "direct",
|
||
|
"outbound": "direct"
|
||
|
},
|
||
|
{
|
||
|
"clash_mode": "global",
|
||
|
"outbound": "节点选择"
|
||
|
},
|
||
|
{
|
||
|
"geoip": [
|
||
|
"cn",
|
||
|
"private"
|
||
|
],
|
||
|
"outbound": "direct"
|
||
|
},
|
||
|
{
|
||
|
"geosite": "cn",
|
||
|
"outbound": "direct"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|