i was looking around the internet for hours now. I try to describe my topic. Hopefully someone knows what might be the right setting.
DSL (public Dynamic IP) on the WAN interface of the DSL Router AllNet All-BM.
Then the internal Interface with static 22.214.171.124 is directly connected to an Openwrt router (WAN: 126.96.36.199) and LAN: 192.168.1.1. On the local Lan on the IP: 192.168.1.12 is my destination Server located.
So, did a Portforwarding from the WAN Allnet to the LAN(WAN) of the OPENWRT and here a Portforwarding to the local device 192.168.1.12.
I use dynamic DNS and an host.ddnss.de(443 &80) to reach the machine on 192.168.1.12 -> This Works like a charm If i am outside my local LAN.
If i try to reach the host.ddnss.de from inside the local LAN. I get an timeout. I can only reach the 192.168.1.12 if i use the local IP or the name which is different then the host.ddnss.de.
In the Openwrt router i have enabled NAT Loopback with Option to use External IP.
Switched this Option to internal makes no difference.
Is there a way to tell my default -Gateway (Openwrt Router 192.168.1.1) that it should resolve the host.ddnss.de from local lan?
If i traceroute i can see that the first hop is the 192.168.1.1 and 2nd the public IP of host.ddnss.de
So it seem the Openwrt does all right but if i try to connect in browser (LAN) to it give me an timeout.
Maybe there is an DNS Problem but i dont have any idea unfortunately.