Blackhole 传出协议

Blackhole是阻断数据协议,可以达到禁止访网站或IP地址。

例子:

"outbound": {
"sendThrough": "0.0.0.0",
"protocol": "freedom",
"settings": {
  "response": {
    "type": "none"
  }
},
"tag": "标识",
"streamSettings": {},
"proxySettings": {
"tag": "another-outbound-tag"
},
"mux": {}
}

详细配置说明:

  • response: 配置黑洞的响应数据。Blackhole 会在收到待转发数据之后,发送下面的响应数据(如果有的话),然后关闭连接。待转发的数据将被丢弃。
    • type: 数据类型,可选的值有:
      • "none": 默认值,不返回任何数据直接关闭连接;
      • "http": 返回一个简单的 HTTP 403 响应;

results matching ""

    No results matching ""