# Rules do not work

**URL:** <https://community.ipfire.org/t/rules-do-not-work/16021>\
**Category:** Firewall Rules\
**Created:** [27 July 2026 18:19 UTC](https://community.ipfire.org/t/rules-do-not-work/16021 "2026-07-27T18:19:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ferengie](https://community.ipfire.org/user_avatar/community.ipfire.org/ferengie/32/15482_2.png) [@ferengie](https://community.ipfire.org/u/ferengie)\
**Post date:** [27 July 2026 18:19 UTC](https://community.ipfire.org/t/rules-do-not-work/16021/1 "2026-07-27T18:19:48Z")

</div>

Hello,

I wanted to create a rule that allows GREEN to connect my mailgateway in DMZ (192.168.123.2) with port 8006. A few minutes it was working great but than I added a new rule for SMTP from RED to ORANGE 192.168.123.2 and I lost connection.

 ![image](https://community.ipfire.org/uploads/default/original/3X/d/5/d535aef791b7bbba8b6a246af2457fbc8cc4088c.png)

It would be great if someone can explain me, what’s wrong with this rule

Best Regards Ferengie

---

<div class="post-metadata">

**Author:** ![ferengie](https://community.ipfire.org/user_avatar/community.ipfire.org/ferengie/32/15482_2.png) [@ferengie](https://community.ipfire.org/u/ferengie)\
**Post date:** [27 July 2026 18:34 UTC](https://community.ipfire.org/t/rules-do-not-work/16021/2 "2026-07-27T18:34:00Z")

</div>

If I try to connect to the mailgateway there should be an entry in Firewall-Log as I understood the checkbox

![image](https://community.ipfire.org/uploads/default/original/3X/c/a/ca4abe5c02293ad8700463e70a7fc4b84930a8d4.png)

But I can not find anything there ..

---

<div class="post-metadata">

**Author:** ![hvacguy](https://community.ipfire.org/user_avatar/community.ipfire.org/hvacguy/32/8576_2.png) [@hvacguy](https://community.ipfire.org/u/hvacguy)\
**Post date:** [27 July 2026 19:15 UTC](https://community.ipfire.org/t/rules-do-not-work/16021/3 "2026-07-27T19:15:58Z")

</div>

I think SMTP should be network “any” not “red”

Mail servers need some crazy firewall rules.

Someone that runs a mail server would be more help

Maybe no rule for green, add rule from red to DMZ SMTP

---

<div class="post-metadata">

**Author:** ![ferengie](https://community.ipfire.org/user_avatar/community.ipfire.org/ferengie/32/15482_2.png) [@ferengie](https://community.ipfire.org/u/ferengie)\
**Post date:** [28 July 2026 17:32 UTC](https://community.ipfire.org/t/rules-do-not-work/16021/4 "2026-07-28T17:32:58Z")

</div>

Hi,  
I have found the issue:  
I used ALIASES to “use a name instead of an IP” - therefore the IPFire thought she is this IP.

This caused dublicated IPs but without an error message …

Best Regards
