ES的IP白名单

2021-08-06 15:25:05 浏览数 (1)

参考官方文档设置ES的IP白名单 https://www.elastic.co/guide/en/elasticsearch/reference/current/ip-filtering.html

代码语言:javascript复制
#https://www.elastic.co/guide/en/elasticsearch/reference/6.4/ip-filtering.html#_http_filtering
xpack.security.transport.filter.enabled: false
xpack.security.http.filter.enabled: true
#xpack.security.transport.filter.allow: [ "10.17.12.158", "10.17.35.68"]
#xpack.security.transport.filter.deny: _all
xpack.security.http.filter.allow: [ "10.17.12.158", "10.17.35.68" ]
xpack.security.http.filter.deny: _all

重启ES服务后,发现白名单不起作用。

https://www.elastic.co/cn/subscriptions

IP筛选属于收费服务。

0 人点赞