Can I block i.p address using ROR?

Hi,

is it possible to block i.p address from getting access to Elasticsearch using ROR ?
if so , which parameter do I have to set in the yml file ?

Thanks .

sure, there’s the hosts rule:

- name: "test hosts"
  hosts: ["10.0.0.1", "10.0.1.0/24"]
  type: allow # (or, can be "forbid")
1 Like

thanks a lot , I’ll try that .