# Restrict node that can join cluster

**URL:** <https://discuss.elastic.co/t/restrict-node-that-can-join-cluster/248175>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-security\
**Created:** [September 10, 2020, 1:30pm UTC](https://discuss.elastic.co/t/restrict-node-that-can-join-cluster/248175 "2020-09-10T13:30:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nitin7](https://avatars.discourse-cdn.com/v4/letter/n/7ea924/32.png) [@nitin7](https://discuss.elastic.co/u/nitin7)\
**Post date:** [September 10, 2020, 1:30pm UTC](https://discuss.elastic.co/t/restrict-node-that-can-join-cluster/248175/1 "2020-09-10T13:30:41Z")

</div>

Hi all,  
Is there a way to define or restrict the host names which can join a specific cluster in the enterprise network on the same domain.

---

<div class="post-metadata">

**Author:** ![Frank\_Hassanabad](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/frank_hassanabad/32/49255_2.png) [@Frank\_Hassanabad](https://discuss.elastic.co/u/Frank_Hassanabad)\
**Post date:** [September 10, 2020, 4:49pm UTC](https://discuss.elastic.co/t/restrict-node-that-can-join-cluster/248175/2 "2020-09-10T16:49:25Z")

</div>

This part of the forums is mostly for SIEM/Endpoint security and you might have better luck on the Elastic stack part of the forums.

However, you can do it by IP, CIDR, and might even be able to use host names directly (I haven't used host names before) from the looks of things:  
[https://www.elastic.co/guide/en/elasticsearch/reference/current/ip-filtering.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/ip-filtering.html)

---

<div class="post-metadata">

**Author:** ![nitin7](https://avatars.discourse-cdn.com/v4/letter/n/7ea924/32.png) [@nitin7](https://discuss.elastic.co/u/nitin7)\
**Post date:** [September 11, 2020, 7:49am UTC](https://discuss.elastic.co/t/restrict-node-that-can-join-cluster/248175/3 "2020-09-11T07:49:25Z")

</div>

Thanks Frank!

---

<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:** [October 9, 2020, 7:49am UTC](https://discuss.elastic.co/t/restrict-node-that-can-join-cluster/248175/4 "2020-10-09T07:49:28Z")

</div>

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