# Elasticsearch cluster IP whitelist

**URL:** <https://discuss.elastic.co/t/elasticsearch-cluster-ip-whitelist/78877>\
**Category:** Elasticsearch\
**Created:** [March 16, 2017, 2:25pm UTC](https://discuss.elastic.co/t/elasticsearch-cluster-ip-whitelist/78877 "2017-03-16T14:25:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![amano](https://avatars.discourse-cdn.com/v4/letter/a/ee59a6/32.png) [@amano](https://discuss.elastic.co/u/amano)\
**Post date:** [March 16, 2017, 2:25pm UTC](https://discuss.elastic.co/t/elasticsearch-cluster-ip-whitelist/78877/1 "2017-03-16T14:25:04Z")

</div>

Hello,

we have an elasticsearch cluster composed of 1 coordinator node and 3 data nodes.

We need to block external access to the cluster.  
We want:

- the coordinator node to be accessible only by one specific machine were we are running nginx as a reverse proxy
- data nodes should only be accessible by each other and the coordinator node

Can someone point the direction on how to setup this?  
Is there any elasticsearch configuration for whitelisting?  
Googling for this I could only find solutions that use nginx on each node machine to filter requests.

Thanks,  
Antero

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [March 16, 2017, 2:37pm UTC](https://discuss.elastic.co/t/elasticsearch-cluster-ip-whitelist/78877/2 "2017-03-16T14:37:31Z")

</div>

X-pack security feature (commercial) does that.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [April 13, 2017, 2:38pm UTC](https://discuss.elastic.co/t/elasticsearch-cluster-ip-whitelist/78877/3 "2017-04-13T14:38:01Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
