引言 sing-box 使用 JSON 作为配置文件格式。 结构 { "log": {}, "dns": {}, "inbounds": [], "outbounds": [], "route": {}, "experimental": {} } 字段 Key Format log 日志 dns DNS inbounds 入站 outbounds 出站 route 路由 experimental 实验性 检查 $ sing-box check 格式化 $ sing-box format -w