# Access to dsnated services from LAN

**URL:** <https://forum.mikrotik.com/t/access-to-dsnated-services-from-lan/267739>\
**Category:** General\
**Created:** [January 12, 2026, 4:28am UTC](https://forum.mikrotik.com/t/access-to-dsnated-services-from-lan/267739 "2026-01-12T04:28:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![offreal](https://forum.mikrotik.com/user_avatar/forum.mikrotik.com/offreal/32/58035_2.png) [@offreal](https://forum.mikrotik.com/u/offreal)\
**Post date:** [January 12, 2026, 4:28am UTC](https://forum.mikrotik.com/t/access-to-dsnated-services-from-lan/267739/1 "2026-01-12T04:28:14Z")

</div>

Hi,

- HW: RB5009UPr+S+
- RouterOS: 7.16.2 (stable)

The setup:

1. PPPoE interface (listed as WAN) with a dynamic public IPv4 address `A.B.C.D`
2. bridge (listed as LAN), network `192.168.88.0/24`
3. dstnat rules for my site and some other services: `6 ;;; https | site`  
`chain=dstnat action=dst-nat to-addresses=192.168.88.201 to-ports=8880`  
`protocol=tcp in-interface-list=WAN dst-port=8880 log=no log-prefix=""`
4. Configured dynamic DNS: `home.mydomain.com → A.B.C.D`
5. LAN clients have internet access, everything works fine

The problem:

When I try to access my website `home.mydomain.com:8880` from a different ISP or through a VPN, everything works fine.

When I try to do this from the local network, it doesn't work.

Of course, NAT dstnat rules technically don't apply to connections coming from the local network. The router processes these connections in the `input` chain.

What's the best way to solve this problem?  
I previously had an ASUS router with the basic version of ASUSWRT, with PPPoE and port forwarding configured, and it worked perfectly in all cases.

---

<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:** [January 12, 2026, 4:47am UTC](https://forum.mikrotik.com/t/access-to-dsnated-services-from-lan/267739/2 "2026-01-12T04:47:58Z")

</div>

You can search for _"Hairpin-NAT"_ in the documentation:

[NAT - RouterOS - MikroTik Documentation](https://help.mikrotik.com/docs/spaces/ROS/pages/3211299/NAT#NAT-HairpinNAT)

and on this forum for more information. In short, what you need are:

- A SRCNAT `masquerade` rule (see the documentation above).

- Modify your DSTNAT rule to no longer use `in-interface-list=WAN`, but one of the following alternatives when your public WAN IP address is dynamic:

If you have control of DNS for all your LAN devices, an alternative is to have `home.mydomain.com` resolves to `192.168.88.201` for all devices in LAN (with a static DNS A record). This actually achieves the best performance in your case (when both server and clients are in the `192.168.88.0/24` subnet) because the devices talk directly to each other and the router doesn't need to act as intermediate gateway. Especially if `192.168.88.201` is a NAS device, for example.

---

<div class="post-metadata">

**Author:** ![offreal](https://forum.mikrotik.com/user_avatar/forum.mikrotik.com/offreal/32/58035_2.png) [@offreal](https://forum.mikrotik.com/u/offreal)\
**Post date:** [January 12, 2026, 6:59am UTC](https://forum.mikrotik.com/t/access-to-dsnated-services-from-lan/267739/3 "2026-01-12T06:59:45Z")

</div>

Big thanx!

Another question: how often will the внтфьшс address list entry be updated? I deleted a dynamic entry, but it won't be recreated.

---

<div class="post-metadata">

**Author:** ![offreal](https://forum.mikrotik.com/user_avatar/forum.mikrotik.com/offreal/32/58035_2.png) [@offreal](https://forum.mikrotik.com/u/offreal)\
**Post date:** [January 12, 2026, 7:38am UTC](https://forum.mikrotik.com/t/access-to-dsnated-services-from-lan/267739/4 "2026-01-12T07:38:53Z")

</div>

Found it. The dynamic record will be updated according to the DNS cache.

---

<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:** [January 12, 2026, 8:00am UTC](https://forum.mikrotik.com/t/access-to-dsnated-services-from-lan/267739/5 "2026-01-12T08:00:28Z")

</div>

Do you mean the dynamic address list entry created from the entry with the specified domain? Normally the TTL of the domain is used, the dynamic items are updated when the TTL expires. The doc doesn't mention that, but you can see in the recent changelog of 7.21beta:

> [@V7.21beta \[testing\] is released!](https://forum.mikrotik.com/t/v7-21beta-testing-is-released/265403/1):
>
> - firewall - use the highest TTL as timeout value for domain address list entries if multiple domain names resolve to same IP;

That the TTL is used as timeout value for the entries.

7.21 only updates the behavior when you have for example both entries `sub1.example.com` and `sub2.example.com` in the list `MY_LIST` and both entries resolve to the same address. The entry with that address will now have the timeout of the longer TTL of the two subdomains.
