# Access ELK Stack using PAC file

**URL:** <https://forum.opensearch.org/t/access-elk-stack-using-pac-file/2246>\
**Category:** Security\
**Created:** [February 19, 2020, 7:18pm UTC](https://forum.opensearch.org/t/access-elk-stack-using-pac-file/2246 "2020-02-19T19:18:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ghaith](https://avatars.discourse-cdn.com/v4/letter/g/cab0a1/32.png) [@ghaith](https://forum.opensearch.org/u/ghaith)\
**Post date:** [February 19, 2020, 7:18pm UTC](https://forum.opensearch.org/t/access-elk-stack-using-pac-file/2246/1 "2020-02-19T19:18:26Z")

</div>

So i have a proxy server that im using and in my proxy settings (windows) i configured it to use a PAC file so that it will only use the proxy for certain internal sites.

Now the issue im having is that apparently the ELK stack does not like being accessed using a proxy, so i keep getting this error:

![image](https://us1.discourse-cdn.com/flex019/uploads/mauve_hedgehog/original/1X/01c49d0f50556d7015e7fbbbb61bc86086b5b7c5.png)

Is there anyway around this?

Any help or tips is greatly appreciated!

Thanks

---

<div class="post-metadata">

**Author:** ![pablo](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.opensearch.org/pablo/32/10363_2.png) [@pablo](https://forum.opensearch.org/u/pablo)\
**Post date:** [April 22, 2021, 1:46pm UTC](https://forum.opensearch.org/t/access-elk-stack-using-pac-file/2246/2 "2021-04-22T13:46:16Z")

</div>

Hello @ghaith

Were you able to fix this issue? Did you try to use proxy-based authentication?

> **[Proxy-based authentication](https://opendistro.github.io/for-elasticsearch-docs/docs/security/configuration/proxy/)**
>
> Documentation for Open Distro, the community-driven, 100% open source distribution of Elasticsearch OSS with advanced security, alerting, deep performance analysis, and more.
