# Elasticsearch IP Filtering Not Working

**URL:** <https://discuss.elastic.co/t/elasticsearch-ip-filtering-not-working/239486>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-security\
**Created:** [July 1, 2020, 12:38pm UTC](https://discuss.elastic.co/t/elasticsearch-ip-filtering-not-working/239486 "2020-07-01T12:38:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rameshkokare1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rameshkokare1/32/55902_2.png) [@rameshkokare1](https://discuss.elastic.co/u/rameshkokare1)\
**Post date:** [July 1, 2020, 12:38pm UTC](https://discuss.elastic.co/t/elasticsearch-ip-filtering-not-working/239486/1 "2020-07-01T12:38:15Z")

</div>

# Hello, Trying to white list IP's using XPACK security but not workign as expected My config is as below

cluster.name: elasticsearch-acsrep  
node.name: ES1  
path.data: /home/ematoacs/data/  
path.logs: /home/ematoacs/log/  
network.host: 10.x.x.48  
http.host: 10.x.x.48  
http.port: 9200  
#cluster.initial\_master\_nodes: ["ES1"]  
#http.cors.enabled: true  
#http.cors.allow-origin: "\*"  
xpack.security.enabled: true  
discovery.type: single-node  
#xpack.security.http.ssl.enabled: true

xpack.security.http.filter.enabled: true  
xpack.security.http.filter.allow: 10.x.x.181  
xpack.security.http.filter.deny: 10.x.x.55

xpack.security.transport.filter.enabled: true  
xpack.security.transport.filter.allow: 10.x.x.181  
xpack.security.transport.filter.deny: \_all

================================================  
still m able to access the ES API's from any host in my network

---

<div class="post-metadata">

**Author:** ![Yang\_Wang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yang_wang/32/48857_2.png) [@Yang\_Wang](https://discuss.elastic.co/u/Yang_Wang)\
**Post date:** [July 1, 2020, 1:01pm UTC](https://discuss.elastic.co/t/elasticsearch-ip-filtering-not-working/239486/2 "2020-07-01T13:01:05Z")

</div>

What is the license of the cluster? IP filtering is a feature for [Gold license and up](https://www.elastic.co/subscriptions). You can also try it out by [activating trial license](https://www.elastic.co/guide/en/elasticsearch/reference/current/start-trial.html).

---

<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:** [July 29, 2020, 1:01pm UTC](https://discuss.elastic.co/t/elasticsearch-ip-filtering-not-working/239486/3 "2020-07-29T13:01:06Z")

</div>

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