Sing-box 配置 detour 链式出站Sing-box 原生支持强大的 detour(绕路)机制。在 outbounds 数组中定义机场节点(tag 设为 transit-out)和住宅 SOCKS5 节点(tag 设为 residential-landing-out),并在住宅节点中加入 "detour": "transit-out":
{
"outbounds": [
{
"type": "vless",
"tag": "transit-out",
"server": "transit.airport.com",
"server_port": 443
// ... 机场前置节点详细参数
},
{
"type": "socks",
"tag": "residential-landing-out",
"server": "us.resip.net",
"server_port": 10800,
"user": "resip_user",
"password": "resip_password",
"detour": "transit-out" // 关键:指定经由前置节点打出
}
],
"route": {
"rules": [
{
"domain_suffix": ["claude.ai", "anthropic.com", "openai.com", "tiktok.com"],
"outbound": "residential-landing-out"
}
]
}
}