# Connectivity schemes for ActiveGates? Bi-directional or uni-directional?

**URL:** <https://community.dynatrace.com/t/connectivity-schemes-for-activegates-bi-directional-or-uni-directional/32732>\
**Category:** Open Q&A\
**Tags:** installation, activegate, dynatrace-saas\
**Created:** [September 17, 2021, 4:14pm UTC](https://community.dynatrace.com/t/connectivity-schemes-for-activegates-bi-directional-or-uni-directional/32732 "2021-09-17T16:14:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![AK](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/ak/32/164_2.png) [@AK](https://community.dynatrace.com/u/AK)\
**Post date:** [September 17, 2021, 4:14pm UTC](https://community.dynatrace.com/t/connectivity-schemes-for-activegates-bi-directional-or-uni-directional/32732/1 "2021-09-17T16:14:57Z")

</div>

Hi Folks,

As I got to know from support that, the communication between ActiveGate and DT SaaS, and OneAgent to ActiveGate should be **bi-directional** however, arrows in following diagram shown **uni-directional** (one direction).

Is it the case that, just to seek configuration of ActiveGate (first time connection), communication from DT SaaS to ActiveGate over 443 is also needed?&nbsp;It is the same case for ActiveGate to OneAgent for 9999 port?

And as this connection is just one time connection hence arrows are shown in one direction in documentation?

 ![AK_0-1631892892218.png](https://global.discourse-cdn.com/dynatrace/original/3X/f/a/fa08d083bace94482598d4b4dbb035abc0c3b77f.png)

Can someone throw some light on this please.

Regards,

AK

---

<div class="post-metadata">

**Author:** ![dave\_mauney](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/dave_mauney/32/27784_2.png) [@dave\_mauney](https://community.dynatrace.com/u/dave_mauney)\
**Post date:** [September 18, 2021, 6:41pm UTC](https://community.dynatrace.com/t/connectivity-schemes-for-activegates-bi-directional-or-uni-directional/32732/2 "2021-09-18T18:41:24Z")

</div>

It is actually all uni-directional: from the OneAgent to the ActiveGate to the Cluster Nodes.

Below are some links that might help:

[https://community.dynatrace.com/t5/Dynatrace-Open-Q-A/Communication-between-OneAgent-amp-ActiveGate-between-ActiveGate/m-p/102000](https://community.dynatrace.com/post/102000)

> **[The Ins and Outs of Bi-directional Firewall Rules](https://www.fastvue.co/tmgreporter/blog/what-exactly-are-bi-directional-firewall-rules-and-when-do-you-need-them)**
>
> Creating unnecessary bi-directional firewall rules is a common mistake by firewall administrators. This article explains when to use bi-directional rules.

---

<div class="post-metadata">

**Author:** ![AK](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/ak/32/164_2.png) [@AK](https://community.dynatrace.com/u/AK)\
**Post date:** [September 20, 2021, 5:07am UTC](https://community.dynatrace.com/t/connectivity-schemes-for-activegates-bi-directional-or-uni-directional/32732/3 "2021-09-20T05:07:45Z")

</div>

Thanks for your reply&nbsp;[@dave\_mauney](https://community.dynatrace.com/user/771),

However, I was informed by support that, bi-directional communication is required here.

Following were the further words from support,

Outgoing rule for port 443 is required for the ActiveGate to communicate with the cluster. The incoming rule is set on our (dynatrace) end for inbound requests on the cluster.

The incoming port that the ActiveGate will use for inbound communication is going to be determined automatically during the TCP handshake, and does not need to a inbound rule created on your firewall.

**Conclusion here is,**  
Communication between AG and DT SaaS is technically bi-directional however, while raising a firewall request (with internal network team) for ActiveGate it is always outbound. We don’t need to take care of any incoming connection or request.

Regards,

AK

---

<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:** [September 20, 2021, 6:15am UTC](https://community.dynatrace.com/t/connectivity-schemes-for-activegates-bi-directional-or-uni-directional/32732/4 "2021-09-20T06:15:21Z")

</div>

Dynatrace uses HTTP for communication which uses of course TCP. This implies communication patterns in Dynatrace are **always unidirectional** - in terms of how the connection is established.
