# Use kibana connected to elasticsearch through a proxy

**URL:** https://discuss.elastic.co/t/use-kibana-connected-to-elasticsearch-through-a-proxy/148429
**Category:** Kibana
**Created:** [September 13, 2018, 9:39am UTC](https://discuss.elastic.co/t/use-kibana-connected-to-elasticsearch-through-a-proxy/148429 "2018-09-13T09:39:12Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Remi\_ROSENTHAL](https://avatars.discourse-cdn.com/v4/letter/r/0ea827/32.png) [@Remi\_ROSENTHAL](https://discuss.elastic.co/u/Remi_ROSENTHAL)
#### Post date: [September 13, 2018, 9:39am UTC](https://discuss.elastic.co/t/use-kibana-connected-to-elasticsearch-through-a-proxy/148429/1 "2018-09-13T09:39:12Z")

</div>

Hi,

I'm new to elasticsearch and kibana.  
I connect to elasticsearch using a socket proxy:  
curl --proxy socks5h://localhost:8001 \<server\_address\>  
I tried to set HTTP\_PROXY environment variable to socks5h://localhost:8001 which did not work.  
I did not succeed in setting the same proxy socket for kibana so that I can reach elasticsearch.  
Is there any way to do that ?

Best,  
Rémi

---

<div class="post-metadata">

### Author: ![jbudz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jbudz/32/45922_2.png) [@jbudz](https://discuss.elastic.co/u/jbudz)
#### Post date: [September 13, 2018, 3:57pm UTC](https://discuss.elastic.co/t/use-kibana-connected-to-elasticsearch-through-a-proxy/148429/2 "2018-09-13T15:57:02Z")

</div>

Unfortunately we don't have support for socks proxies currently, the only real workaround is to add another layer to the proxy that lets Kibana speak http.

---

<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 11, 2018, 3:57pm UTC](https://discuss.elastic.co/t/use-kibana-connected-to-elasticsearch-through-a-proxy/148429/3 "2018-10-11T15:57:11Z")

</div>

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