Can I block i.p address using ROR?


#1

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 .


(Simone Scarduzio) #2

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")

#3

thanks a lot , I’ll try that .