Skip to content

fallback ​

客户端连接按成员顺序尝试,探测失败的成员排在最后。

yaml
outbounds:
  direct:
    type: direct
  proxy:
    type: socks
    server: proxy.example:1080
  backup:
    type: fallback
    outbounds: [proxy, direct]
    interval: 5m

route:
  final: backup

dns:
  servers:
    default: {type: udp, address: 127.0.0.1:53}
  final: default

字段 ​

type ​

  • 类型:字符串。
  • 必填:是,第一项。
  • 取值:fallback。

说明 ​

没有额外自有字段。成员、过滤和探测字段见公共分组字段;默认每 5m 探测一次。

相关 ​

页面历史

开发者设计、代码地图和验证记录保留在仓库 manual/。