# Problem: loss of firewall rules when reloading the firewalld service

**URL:** <https://community.dynatrace.com/t/problem-loss-of-firewall-rules-when-reloading-the-firewalld-service/40029>\
**Category:** Dynatrace Managed\
**Tags:** problem-detection, dynatrace-managed\
**Created:** [June 1, 2023, 12:44pm UTC](https://community.dynatrace.com/t/problem-loss-of-firewall-rules-when-reloading-the-firewalld-service/40029 "2023-06-01T12:44:35Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![patrick\_romee](https://avatars.discourse-cdn.com/v4/letter/p/b5a626/32.png) [@patrick\_romee](https://community.dynatrace.com/u/patrick_romee)\
**Post date:** [June 1, 2023, 12:44pm UTC](https://community.dynatrace.com/t/problem-loss-of-firewall-rules-when-reloading-the-firewalld-service/40029/1 "2023-06-01T12:44:35Z")

</div>

Hello,

When our infrastructure team performs deployments for patch management the command firewall-cmd --reload is executed.&nbsp;The result is that all rules dynatrace in firewalld are destroyed.

Could you make the rules persistent to prevent this problem ?

Regards

Patrick

---

<div class="post-metadata">

**Author:** ![Radoslaw\_Szulgo](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/radoslaw_szulgo/32/1977_2.png) [@Radoslaw\_Szulgo](https://community.dynatrace.com/u/Radoslaw_Szulgo)\
**Post date:** [June 1, 2023, 1:37pm UTC](https://community.dynatrace.com/t/problem-loss-of-firewall-rules-when-reloading-the-firewalld-service/40029/2 "2023-06-01T13:37:23Z")

</div>

Please align with your infrastructure team to ensure ./reconfigure.sh is run after system patching. This should apply required firewall rules at the cluster node.

---

<div class="post-metadata">

**Author:** ![patrick\_romee](https://avatars.discourse-cdn.com/v4/letter/p/b5a626/32.png) [@patrick\_romee](https://community.dynatrace.com/u/patrick_romee)\
**Post date:** [June 7, 2023, 12:57pm UTC](https://community.dynatrace.com/t/problem-loss-of-firewall-rules-when-reloading-the-firewalld-service/40029/3 "2023-06-07T12:57:18Z")

</div>

Hello,

Thank you for your anwser.

It isn’t possible for us we had considered this solution but given the number of customers our system team did not see to manage specificities for each of them. And

Regards

---

<div class="post-metadata">

**Author:** ![Radoslaw\_Szulgo](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/radoslaw_szulgo/32/1977_2.png) [@Radoslaw\_Szulgo](https://community.dynatrace.com/u/Radoslaw_Szulgo)\
**Post date:** [June 12, 2023, 9:35am UTC](https://community.dynatrace.com/t/problem-loss-of-firewall-rules-when-reloading-the-firewalld-service/40029/4 "2023-06-12T09:35:42Z")

</div>

Would at least restart of the machine be possible? A restart of firewall service also recreates rules.

---

<div class="post-metadata">

**Author:** ![patrick\_romee](https://avatars.discourse-cdn.com/v4/letter/p/b5a626/32.png) [@patrick\_romee](https://community.dynatrace.com/u/patrick_romee)\
**Post date:** [June 15, 2023, 2:04pm UTC](https://community.dynatrace.com/t/problem-loss-of-firewall-rules-when-reloading-the-firewalld-service/40029/5 "2023-06-15T14:04:17Z")

</div>

Hello,

Yes it is, but our system team can’t tell us when the reload is done so between&nbsp; the reload and time when the problem is detected the cluster is unavailable even if the problem is detected rapidly&nbsp; in production environement this isn’t acceptable.

Regards

Patrick

---

<div class="post-metadata">

**Author:** ![patrick\_romee](https://avatars.discourse-cdn.com/v4/letter/p/b5a626/32.png) [@patrick\_romee](https://community.dynatrace.com/u/patrick_romee)\
**Post date:** [July 4, 2023, 6:45am UTC](https://community.dynatrace.com/t/problem-loss-of-firewall-rules-when-reloading-the-firewalld-service/40029/6 "2023-07-04T06:45:52Z")

</div>

Hello,

Any other solution ?

Best regards

Patrick
