Not sure if this belongs in “Forwarding Protocols” section – if so, sorry!
I’m new to RouterOS, and some things that I’ve done for years with consumer hardware is proving to be difficult for me with RouterOS.
I have a main RouterOS rounter, doing all the normal things a SOHO router usually does. I have a number of local machines with various services, some used internally only and some that have NAT rules to allow external access. The problem I am having…
- I have a domain mydomain.com, and a subdomain sub.mydomain.com with CNAME record pointing to a DDNS service, which points to the public IP of the router.
- Machine A inside the network hosts a service on port X that needs to be externally accessible.
- I have added a Firewall NAT rule for this:
Chain: dstnat
Protocol: TCP
Dst. Port: X
Action: dst-nat
To Address: <A’s local address>
To Ports: X - Connecting to A on port X from another local machine using A’s internal address works fine.
- Connecting to A on port X from a remote machine using the subdomain works fine.
- Connecting to A on port X from another local machine using the subdomain does not work.
- The subdomain always resolves to the proper router public address.
What am I doing wrong?