mirror of
https://github.com/TheyCallMeSecond/sing-box-manager.git
synced 2024-11-16 03:32:31 +08:00
102 lines
1.7 KiB
JSON
102 lines
1.7 KiB
JSON
{
|
|
"log": {
|
|
"level": "info",
|
|
"timestamp": true
|
|
},
|
|
"dns": {
|
|
"servers": [
|
|
{
|
|
"tag": "google",
|
|
"address": "tls://8.8.8.8",
|
|
"address_resolver": "local",
|
|
"detour": "proxy"
|
|
},
|
|
{
|
|
"tag": "local",
|
|
"address": "223.5.5.5",
|
|
"detour": "direct"
|
|
},
|
|
{
|
|
"tag": "block",
|
|
"address": "rcode://success"
|
|
}
|
|
],
|
|
"rules": [
|
|
{
|
|
"geosite": "category-ads-all",
|
|
"server": "block",
|
|
"disable_cache": true
|
|
},
|
|
{
|
|
"outbound": "any",
|
|
"server": "local"
|
|
},
|
|
{
|
|
"geosite": "cn",
|
|
"server": "local"
|
|
}
|
|
],
|
|
"strategy": "ipv4_only"
|
|
},
|
|
"inbounds": [
|
|
{
|
|
"type": "mixed",
|
|
"tag": "mixed-in",
|
|
"listen": "127.0.0.1",
|
|
"listen_port": 1080,
|
|
"sniff": true,
|
|
"set_system_proxy": false
|
|
}
|
|
],
|
|
"outbounds": [
|
|
{
|
|
"type": "hysteria",
|
|
"server": "w2.losem3.tk",
|
|
"server_port": 10010,
|
|
"up_mbps": 50,
|
|
"down_mbps": 100,
|
|
"auth_str": "kKGGl94KkCm5",
|
|
"tls": {
|
|
"enabled": true,
|
|
"server_name": "w2.losem3.tk",
|
|
"alpn": [
|
|
"h3"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "direct",
|
|
"tag": "direct"
|
|
},
|
|
{
|
|
"type": "block",
|
|
"tag": "block"
|
|
},
|
|
{
|
|
"type": "dns",
|
|
"tag": "dns-out"
|
|
}
|
|
],
|
|
"route": {
|
|
"rules": [
|
|
{
|
|
"protocol": "dns",
|
|
"outbound": "dns-out"
|
|
},
|
|
{
|
|
"geosite": "cn",
|
|
"geoip": [
|
|
"private",
|
|
"cn"
|
|
],
|
|
"outbound": "direct"
|
|
},
|
|
{
|
|
"geosite": "category-ads-all",
|
|
"outbound": "block"
|
|
}
|
|
],
|
|
"auto_detect_interface": true
|
|
}
|
|
}
|