outbound/outboundDetour 传出配置
outbound与outboundDetour都是传出配置,即客户端使用,区别是outbound是唯一的主传出配置接口,outboundDetour可以使用多个传出方式。
主传出配置使用{}总括好包裹,例如:"
outbound"{}
,outboundDetour额外传出配置使用"[{}]"方括号加以区别,例如:outboundDetour[{}]
。
outbound的详细配置如下
"outbound"{
"sendThrough": "0.0.0.0",
"protocol": "协议名称",
"settings": {},
"tag": "标识",
"streamSettings": {},
"proxySettings": {
"tag": "another-outbound-tag"
},
"mux": {}
}
outboundDetour的详细配置如下
"outboundDetour"[{
"sendThrough": "0.0.0.0",
"protocol": "协议名称",
"settings": {},
"tag": "标识",
"streamSettings": {},
"proxySettings": {
"tag": "another-outbound-tag"
},
"mux": {}
}]
"protocol" 传输协议
传出协议中"protocol"同样是重要的协议参与,其中传出协议支持Blackhole、Freedom、Shadowsocks、Socks、VMess。