Search results

  • 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!

  1. L

    DDNS custom script for use with asus.com

    Killer, I have a public IP provided by my ISP. My asus router is behind a modem/router provided by the ISP, which has very little configurability. This is why I want to use the asus but of course the asus is double NAT behind the first router. The asus is running a VPN server and I use the ddns...
  2. L

    DDNS custom script for use with asus.com

    Killer, I've helped you as much as I easily can. You are going beyond what I have experience of. I'm not sure how threads are meant to work but perhaps you should start a thread of your own about your problem? I'm happy either way but you might get more help with a fresh thread? This thread was...
  3. L

    DDNS custom script for use with asus.com

    Killer, I had never heard of "openvpn-event script" but then I googled openvpn-event and asus merlin....I found this: https://www.snbforums.com/threads/openvpn-event-script-working.10961/ I only skim read it but it seems to be that you put a script call openvpn-event in the script directory...
  4. L

    DDNS custom script for use with asus.com

    RMerlin, OK thanks for the info...I just wish the home hub router/modem I'm forced to use didn't have so many options removed. If it had "bridged mode", (I think that's what it's called)...I'd be OK with the default asusmerlin ddns.... :)
  5. L

    DDNS custom script for use with asus.com

    Thanks RMerlin, I thought that the asusmerlin by default only did ddns updates if the WAN IP changed, meaning that if the WAN IP was a LAN IP, such that it didn't change, the default ddns implementation would never detect a public IP change and so never update the dns records. This is why I...
  6. L

    DDNS custom script for use with asus.com

    I am not permanently connected to an external VPN. I have one but only use it from specific machines on my LAN when I need to. I assume that if the VPN connection is permanent, and all traffic passes through it, specifically the traffic used by the ddns script to detect your external IP, then...
  7. L

    DDNS custom script for use with asus.com

    OK...I looked a bit closer. In my post earlier (and on my machine) the "ddns-start" file doesn't have ".sh" on the end. You have put a ".sh" on the end. The asus is probably trying to run "ddns-start" during boot or when you set ddns to custom but you don't have one. Suggest removing the...
  8. L

    DDNS custom script for use with asus.com

    Not sure what you mean by "But soon as i reboot it wont connect"? I just checked, apart from the fact that my forced refresh interval is set to 1 day, my settings look the same as yours. I just rebooted by router and looked in the system log and there was a reference to ddns having run. So it...
  9. L

    DDNS custom script for use with asus.com

    RMerlin, Could you confirm that "ez-ipupdate" will install on an asus running merlin and work in a double NAT situation? Because I would much rather use a solution like that than create and fiddle with custom scripts? I've quickly tried searching and can't find instructions on what to do to get...
  10. L

    DDNS custom script for use with asus.com

    Killeriq, Do you have ddns settings in asus merlin set to "custom"...this automatically runs ddns-start.sh when it boots (I think). If all else is correct, you shouldn't have to do anything else... The ddns should look after itself (mine does). If you have the vpn port forwarded to the asus...
  11. L

    DDNS custom script for use with asus.com

    ASUSWRT-Merlin RT-AC88U 380.66-6 Wed Jun 21 19:07:32 UTC 2017 admin@RT-AC88U-97F8:/tmp/home/root# cd /jffs/scripts admin@RT-AC88U-97F8:/jffs/scripts# ls ASUSddns2.sh ddns-start ddns_loop.sh admin@RT-AC88U-97F8:/jffs/scripts# ./ASUSddns2.sh Usage: mac wps host (register|update)...
  12. L

    DDNS custom script for use with asus.com

    thelonelycoder, your name suggests you know way more about coding than I do....The only thing I'd say is I'm running merlin and it works ok...at least the update part does...it's possible I registered with the unaltered script....then created my modified script to automate the update...not...
  13. L

    DDNS custom script for use with asus.com

    killeriq, Sorry it's a long time since I got this working so I can't easily answer your questions. As the sentence in capital letters says in my post above...yes you need to use the script in register mode first to register with the asus server. Register mode, performs the necessary...
  14. L

    DDNS custom script for use with asus.com

    Thanks MarCoMLXXV, I've edited the post with the code in....I knew there was a way to do it but couldn't quickly work it out in the time I had earlier...
  15. L

    DDNS custom script for use with asus.com

    Hi, My scripts are as follows (remember my coding is not the best but it works for me...). The following script is the one run by asus custom ddns. It checks script below (ddns_loop.sh) is running and runs it if it isn't admin@RT-AC88U-97F8:/jffs/scripts# cat ./ddns-start #!/bin/sh # check...
  16. L

    DDNS custom script for use with asus.com

    I really appreciate the replies. I went with the script in the link Dabombber provided. It was great in terms of showing what was possible and the syntax required. I had to modify it because on the Asus merlin, the DDNS custom script is triggered when the WAN ip changes but it won't in a...
  17. L

    DDNS custom script for use with asus.com

    Hi, Would it be possible to create a custom DDNS script that would operate with the free asus ddns service? My asus merlin router is subject to double NAT and I wondered if it were possible to still use asus ddns via a custom script. I've searched but not been able to find anything.... thanks :)
Top