# Webhook integration: Can you bypass the proxy server for local Addresses

**URL:** <https://community.dynatrace.com/t/webhook-integration-can-you-bypass-the-proxy-server-for-local-addresses/10297>\
**Category:** Automations\
**Tags:** integrations\
**Created:** [January 11, 2018, 11:54am UTC](https://community.dynatrace.com/t/webhook-integration-can-you-bypass-the-proxy-server-for-local-addresses/10297 "2018-01-11T11:54:39Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![AmitChiba](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/amitchiba/32/17623_2.png) [@AmitChiba](https://community.dynatrace.com/u/AmitChiba)\
**Post date:** [January 11, 2018, 11:54am UTC](https://community.dynatrace.com/t/webhook-integration-can-you-bypass-the-proxy-server-for-local-addresses/10297/1 "2018-01-11T11:54:39Z")

</div>

We have configured our Dynatrace Managed Cluster to use a proxy server to connect to Dynatrace Mission Control, and this works as desired. We are now trying to integrate Dynatrace Managed to our local Ticketing tool using WebHooks. Our ticketing tool is internal and as such, has a local IP address. When trying to integrate, it seems as though Dynatrace tries to use the proxy and this fails.

Is there any way of specifying that local IP addresses should be ignored?

---

<div class="post-metadata">

**Author:** ![AmitChiba](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/amitchiba/32/17623_2.png) [@AmitChiba](https://community.dynatrace.com/u/AmitChiba)\
**Post date:** [January 17, 2018, 1:36pm UTC](https://community.dynatrace.com/t/webhook-integration-can-you-bypass-the-proxy-server-for-local-addresses/10297/2 "2018-01-17T13:36:39Z")

</div>

After trying numerous options, I finally managed to get this to work. The following solution worked in my environment (OS = RHEL):

- Navigate to $DT\_HOME/services

- Make a backup of the server.sh file

- Edit the server.sh file and add the following to the “export” section

export http\_proxy=http://\<proxyserver\>:\<port\>

export https\_proxy=$http\_proxy

export no\_proxy=“.\<yourdomain\>”

- Save the file and recycle your Managed Environment

---

<div class="post-metadata">

**Author:** ![markus\_reusch](https://avatars.discourse-cdn.com/v4/letter/m/7ab992/32.png) [@markus\_reusch](https://community.dynatrace.com/u/markus_reusch)\
**Post date:** [January 30, 2018, 12:08pm UTC](https://community.dynatrace.com/t/webhook-integration-can-you-bypass-the-proxy-server-for-local-addresses/10297/3 "2018-01-30T12:08:26Z")

</div>

Forgot to mention that an update could overwrite this script and the settings are gone. One more reason to integrate it somehow.

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [June 13, 2018, 2:13pm UTC](https://community.dynatrace.com/t/webhook-integration-can-you-bypass-the-proxy-server-for-local-addresses/10297/4 "2018-06-13T14:13:52Z")

</div>

Is this still valid for recent Dynatrace Managed sprints? Is has no effect in any environment I’ve tried. And the cluster management console still does not have any option to specify proxy exceptions.

---

<div class="post-metadata">

**Author:** ![christoph\_kopf](https://avatars.discourse-cdn.com/v4/letter/c/b9e5f3/32.png) [@christoph\_kopf](https://community.dynatrace.com/u/christoph_kopf)\
**Post date:** [June 29, 2018, 6:53am UTC](https://community.dynatrace.com/t/webhook-integration-can-you-bypass-the-proxy-server-for-local-addresses/10297/5 "2018-06-29T06:53:15Z")

</div>

Hi there, the following configuration of /opt/dynatrace-managed/server/conf/config.properties does the trick. It then disable the proxy for all WebHooks.

```auto
[http.client.external]
...
proxy-off = true

```

- Christoph

---

<div class="post-metadata">

**Author:** ![eddie\_marrett](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/eddie_marrett/32/988_2.png) [@eddie\_marrett](https://community.dynatrace.com/u/eddie_marrett)\
**Post date:** [November 13, 2018, 4:13am UTC](https://community.dynatrace.com/t/webhook-integration-can-you-bypass-the-proxy-server-for-local-addresses/10297/6 "2018-11-13T04:13:10Z")

</div>

It seems a bit like this was a secret ‘feature’ of Managed. If you’re still using it Amit C does it still work? It seems even Dynatrace support can’t confirm if this would work!

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [November 13, 2018, 7:17am UTC](https://community.dynatrace.com/t/webhook-integration-can-you-bypass-the-proxy-server-for-local-addresses/10297/7 "2018-11-13T07:17:36Z")

</div>

Eddie, use the solution by Christoph below.

---

<div class="post-metadata">

**Author:** ![eddie\_marrett](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/eddie_marrett/32/988_2.png) [@eddie\_marrett](https://community.dynatrace.com/u/eddie_marrett)\
**Post date:** [November 13, 2018, 7:45pm UTC](https://community.dynatrace.com/t/webhook-integration-can-you-bypass-the-proxy-server-for-local-addresses/10297/8 "2018-11-13T19:45:27Z")

</div>

The problem with Chris’s solution below is it applies to _all_ the webhooks - I want to be able to config some of our webhooks to use the proxy and some not. Or am i misunderstanding and it is possible with Chris’s solution?

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [November 13, 2018, 8:24pm UTC](https://community.dynatrace.com/t/webhook-integration-can-you-bypass-the-proxy-server-for-local-addresses/10297/9 "2018-11-13T20:24:32Z")

</div>

This is not possible I think.  
There are least two options I can think of in this case:

- be nice to the network/security team to allow direct connection without proxy to all services 🙂
- use a proxy tunnelling mechanism to expose the remote webhooks via proxy as local endpoints. For example use socat or proxytunnel. ([http://proxytunnel.sourceforge.net/](http://proxytunnel.sourceforge.net/)), If you have several foreign webhooks you will need to setup socat/proxytunnel for each one.

---

<div class="post-metadata">

**Author:** ![AmitChiba](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/amitchiba/32/17623_2.png) [@AmitChiba](https://community.dynatrace.com/u/AmitChiba)\
**Post date:** [November 22, 2018, 6:15am UTC](https://community.dynatrace.com/t/webhook-integration-can-you-bypass-the-proxy-server-for-local-addresses/10297/10 "2018-11-22T06:15:55Z")

</div>

I am no longer using the above solution. I eventually went to our Security guys and asked them to redirect traffic to the specific IP address for the Webhook back internally. I havent had an issue since.

---

<div class="post-metadata">

**Author:** ![jiji\_joseph](https://avatars.discourse-cdn.com/v4/letter/j/82dd89/32.png) [@jiji\_joseph](https://community.dynatrace.com/u/jiji_joseph)\
**Post date:** [April 15, 2019, 3:41am UTC](https://community.dynatrace.com/t/webhook-integration-can-you-bypass-the-proxy-server-for-local-addresses/10297/11 "2019-04-15T03:41:39Z")

</div>

None of these solutions work acros upgrades. The upgrade process will remove all changes you made these files. This is the case for the solution mentioned by @Amit C and @Christoph K. Anyone found a method that would work consistently across upgrades?

Jiji Joseph

---

<div class="post-metadata">

**Author:** ![AmitChiba](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/amitchiba/32/17623_2.png) [@AmitChiba](https://community.dynatrace.com/u/AmitChiba)\
**Post date:** [October 16, 2019, 12:50pm UTC](https://community.dynatrace.com/t/webhook-integration-can-you-bypass-the-proxy-server-for-local-addresses/10297/12 "2019-10-16T12:50:00Z")

</div>

Here is the official solution from Dynatrace:

[https://www.dynatrace.com/support/help/setup-and-configuration/dynatrace-managed/configuration/configurable-properties-of-dynatrace-managed/](https://www.dynatrace.com/support/help/setup-and-configuration/dynatrace-managed/configuration/configurable-properties-of-dynatrace-managed/)

---

<div class="post-metadata">

**Author:** ![AmitChiba](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/amitchiba/32/17623_2.png) [@AmitChiba](https://community.dynatrace.com/u/AmitChiba)\
**Post date:** [October 16, 2019, 12:50pm UTC](https://community.dynatrace.com/t/webhook-integration-can-you-bypass-the-proxy-server-for-local-addresses/10297/13 "2019-10-16T12:50:30Z")

</div>

Hi,

Please see this link: [https://www.dynatrace.com/support/help/setup-and-configuration/dynatrace-managed/configuration/configurable-properties-of-dynatrace-managed/](https://www.dynatrace.com/support/help/setup-and-configuration/dynatrace-managed/configuration/configurable-properties-of-dynatrace-managed/)

---

<div class="post-metadata">

**Author:** ![Yosi\_Neuman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/yosi_neuman/32/9845_2.png) [@Yosi\_Neuman](https://community.dynatrace.com/u/Yosi_Neuman)\
**Post date:** [January 10, 2023, 7:48am UTC](https://community.dynatrace.com/t/webhook-integration-can-you-bypass-the-proxy-server-for-local-addresses/10297/14 "2023-01-10T07:48:14Z")

</div>

Hi guys,

We have found out that there is a new section in CMC under **Home** --\> **Settings** --\> **Internet proxy** page that you can exclude hosts from using the proxy.

 ![Yosi_Neuman_0-1673336780701.png](https://global.discourse-cdn.com/dynatrace/original/2X/8/819797192aa98a946f5b59d0c1d0448a6aa7c1ec.png)

HTH

Yos
