# Dns DoH and port 53

**URL:** <https://forum.mikrotik.com/t/dns-doh-and-port-53/264323>\
**Category:** General\
**Created:** [August 29, 2025, 1:22pm UTC](https://forum.mikrotik.com/t/dns-doh-and-port-53/264323 "2025-08-29T13:22:08Z")\
**Posts on this page:** 1\
**Showing post:** 40

<div class="post-metadata">

**Author:** ![CGGXANNX](https://forum.mikrotik.com/user_avatar/forum.mikrotik.com/cggxannx/32/55490_2.png) [@CGGXANNX](https://forum.mikrotik.com/u/CGGXANNX)\
**Post date:** [August 29, 2025, 7:21pm UTC](https://forum.mikrotik.com/t/dns-doh-and-port-53/264323/40 "2025-08-29T19:21:30Z")

</div>

Hm, I think with the starting point of a _defconf_ firewall, `in-interface-list=LAN` is not really needed in these rules.

We'll use the numbering from the [flowchart thread](https://forum.mikrotik.com/t/the-ultimate-mikrotik-iptables-flowchart/184101). Incoming packets **not from LAN** but matched by those DSTNAT rules would go through:

#1 -\> #2 -\> #3 -\> #4 -\> #5 (N) -\> #10 (rewrite `dst-address` to `192.168.88.1`) -\> #11 -\> #12 (now Y branch is taken, because `192.168.88.1 = self`) -\> #6 -\> #7 ( **dropped** by _defconf: drop all not coming from LAN_ in the **`input`** chain).

The branch with #14 (the `connection-nat-state=!dstnat` drop rule) is not taken at all. That rule is not relevant.

---

_[View the full topic](https://forum.mikrotik.com/t/dns-doh-and-port-53/264323)._
