endpointOptions.blockListPolicy


  • 类型:<string> 'deny''allow' 之一。
  • 默认: 'deny'

控制 endpointOptions.blockList 的解释方式:

🌐 Controls how the endpointOptions.blockList is interpreted:

  • 'deny' — 来自与阻止列表匹配的地址的数据包会被丢弃。所有其他地址的数据包都会被接受。这是典型的阻止列表模式。
  • 'allow' — 只接受来自匹配阻止列表地址的数据包,所有其他地址都会被丢弃。这是一种允许名单模式,用于限制仅已知客户端的访问。

如果没有配置阻止列表,这个选项不起作用。

🌐 If no block list is configured, this option has no effect.