My Mikrotik router is behind a dsl modem that has NAT.
I searched for error given by ddns cloud “DDNS server received request from IP xxx.xxx..xxx.xxx but your local IP was 192.168.1.50; DDNS service might not work” it was given by a 4g modem. the solution provided was to enable dmz to the mikrotik ip.
My TP-Link adsl modem has the dmz feature I enabled it to the ip 192.168.1.50 on the pvc4 which is the working profile but still not having working ddns.
Can anyone help me to make it work?
dsl modems have firewall rules on the wan side you need to configure it to allow remote connections through this can be a risk or you might be behind an isp nat
I checked my ip address on the adsl wan port and I think it is a private ip (pvc4 is the working one and its ip in range 10.0.0.0) and thus I guess I am behind a nat source from the isp.
I asked them if I can be directly connected through public ip address and they are checking it.
Am I wrong or everything stated is true??
hoping to be solved
Can you put the DSL modem into bridge mode and then use the MikroTik as the router with a public IP? You might need to set up a PPPoE client using your username and login to your ISP.
I don’t know but if I can in this case I think I will have the private ip 10.x.x.x on the mikrotik router and It will not work also since I am still behind NAT and getting prvate IP. Or am I wrong.
You probably want the DDNS to then reach your own system from outside using that DNS name.
That is never going to work! There is no way of doing incoming connects on a system behind a NAT you don’t control.
Your options:
ask your provider if they do IPv6. they should, really. on IPv6 there is no such trouble. of course you will only be able to connect from a system that has IPv6 as well
setup a VPN to some other system on internet that can do the incoming port forwarding for you. you will be reachable on the IPv4 address of that system