What's new

[Feature request] sollution for double nat and ASUS DDNS

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

mmjlmjl

Occasional Visitor
I've been searching long and hard to find a solution but my limited programming and bash skills leave me without a solution.

I used the ASUS ddns service (RT87U) within the firmware for quite a while until I recently switched internet provider. The new provider does not allow me to put the modem in bridge mode wich results in

"The wireless router currently uses a private WAN IP address.
This router may be in the multiple-NAT environment and DDNS service cannot work in this environment."

I found that one can put costum scripts in the jffs partition:

https://github.com/RMerl/asuswrt-merlin/wiki/User-scripts
https://github.com/RMerl/asuswrt-merlin/wiki/Custom-DDNS
https://github.com/RMerl/asuswrt-merlin/wiki/DDNS-Sample-Scripts
And this wonderful example for the No-IP service:
https://github.com/Meliox/Utils/blob/master/ddns-start/ddns-start

Nevertheless, these are for other services but not the (free) asus ddns service.

As in several results I found this is a way to get your actual external IP:
Code:
IP=$(wget -O - -q http://myip.dnsomatic.com/)

I was hoping to find a script for the asus ddns service and insert it somehow.

I cannot find it though, I do find many posts on this issue on the internet (users seeking a solution), so this would not just help me...

So my request:

Can the IP for the double NAT situation be fixed/added in the Merlin Firmware?
Or: can anyone provide a script on how to set the IP for the ASUS ddns service?
 
Last edited:
I've been searching long and hard to find a solution but my limited programming and bash skills leave me without a solution.

I used the ASUS ddns service (RT87U) within the firmware for quite a while until I recently switched internet provider. The new provider does not allow me to put the modem in bridge mode wich results in

"The wireless router currently uses a private WAN IP address.
This router may be in the multiple-NAT environment and DDNS service cannot work in this environment."

I found that one can put costum scripts in the jffs partition:

https://github.com/RMerl/asuswrt-merlin/wiki/User-scripts
https://github.com/RMerl/asuswrt-merlin/wiki/Custom-DDNS
https://github.com/RMerl/asuswrt-merlin/wiki/DDNS-Sample-Scripts
And this wonderful example for the No-IP service:
https://github.com/Meliox/Utils/blob/master/ddns-start/ddns-start

Nevertheless, these are for other services but not the (free) asus ddns service.

As in several results I found this is a way to get your actual external IP:
Code:
IP=$(wget -O - -q http://myip.dnsomatic.com/)

I was hoping to find a script for the asus ddns service and insert it somehow.

I cannot find it though, I do find many posts on this issue on the internet (users seeking a solution), so this would not just help me...

So my request:

Can the IP for the double NAT situation be fixed/added in the Merlin Firmware?
Or: can anyone provide a script on how to set the IP for the ASUS ddns service?
Have you tried this post yet it looks at first glance to reference asus ddns.
HTML:
https://www.snbforums.com/threads/double-nat-custom-ddns-script.34431/
 
While that script posted will get you your real public IP, don’t forget you will also need to set the Asus as the DMZ host on the WAN facing modem.

Out of interest, why can’t you just get a modem that does work in Bridge mode?


Sent from my iPhone using Tapatalk
 
While that script posted will get you your real public IP, don’t forget you will also need to set the Asus as the DMZ host on the WAN facing modem.

Out of interest, why can’t you just get a modem that does work in Bridge mode?


Sent from my iPhone using Tapatalk
I found that script already, it is for the no-ip.com service not the asus service. If I could snif out the traffic to the asus site I could probably figure it out...

The internet provider provides the modem, and they do not support bridge mode.
 
Just buy a new modem that does support bridged mode! That's what I did. I don't want to use some low quality modem my ISP has produced
used for the cheapest possible price, especially if it means issues like double NAT.
Why not use one of the MANY other DDNS providers for which a script does already exist?
 
What modem is it vdsl2 or cable or adsl?
 

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top