What's new
  • 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!

Help with openvpn server and asus ddns

ryancharles

Occasional Visitor
I have an n56u with a qnap TS-121p NAS. I setup openvpn on the NAS, inserted my public ip (174.x.x.x) in my config file, added my port forward rule to my NAS and voila, everything is working.

then I wanted to enable and setup ddns for when my public ip changes. I decided to use the asus DDNS service. Logged into the router, navigated to the DDNS tab, registered my name and I got the message that mydomain.asuscomm.com should now resolve to my public router ip.

I noticed that on the front page there's a yellow outlined exclamation mark next to my DDNS name mydomain.asuscomm.com. When I used nslookup to lookup mydomain.asuscomm.com it does not resolve to 174.*.*.*. It resolved to 217.162.*.* I Replaced the public ip with mydomain.asuscomm.com in my openvpn config file and due to the incorrect resolution my vpn is no longer connecting.

Am I missing something? Any help would be appreciated.
 
Did you try a reboot of the router?
 
Check the System Log, and see if there's a more specific error in there regarding ez-ipupdate.
 
Ok...I here's the system log from the gui....

Jan 8 20:35:40 rc_service: ntp 361:notify_rc restart_upnp
Jan 8 20:56:11 rc_service: httpd 283:notify_rc start_webs_update
Jan 8 20:59:12 rc_service: httpd 283:notify_rc restart_ddns
Jan 8 20:59:12 ddns: clear ddns cache file for server/hostname change
Jan 8 20:59:12 ddns update: ez-ipupdate: starting...
Jan 8 20:59:12 ddns update: connected to ns1.asuscomm.com (103.10.4.108) on port 80.
Jan 8 20:59:15 ddns update: Asus update entry:: return: HTTP/1.1 203 |mydomain.asuscomm.com|mydomain1112.asuscomm.com^M Date: Thu, 09 Jan 2014 01:44:06 GMT^M Server: Apache/2.4.3 (Unix) PHP/5.4.14^M X-Powered-By: PHP/5.4.14^M Content-Length: 0^M Content-Type: text/html^M ^M
Jan 8 20:59:15 ddns update: retval= 1, ddns_return_code (,203)
Jan 8 20:59:15 ddns update: asusddns_update: 1

interesting..not sure why 1112 would have be appended to the name. still not working though
 
Ok...I here's the system log from the gui....

Jan 8 20:35:40 rc_service: ntp 361:notify_rc restart_upnp
Jan 8 20:56:11 rc_service: httpd 283:notify_rc start_webs_update
Jan 8 20:59:12 rc_service: httpd 283:notify_rc restart_ddns
Jan 8 20:59:12 ddns: clear ddns cache file for server/hostname change
Jan 8 20:59:12 ddns update: ez-ipupdate: starting...
Jan 8 20:59:12 ddns update: connected to ns1.asuscomm.com (103.10.4.108) on port 80.
Jan 8 20:59:15 ddns update: Asus update entry:: return: HTTP/1.1 203 |mydomain.asuscomm.com|mydomain1112.asuscomm.com^M Date: Thu, 09 Jan 2014 01:44:06 GMT^M Server: Apache/2.4.3 (Unix) PHP/5.4.14^M X-Powered-By: PHP/5.4.14^M Content-Length: 0^M Content-Type: text/html^M ^M
Jan 8 20:59:15 ddns update: retval= 1, ddns_return_code (,203)
Jan 8 20:59:15 ddns update: asusddns_update: 1

interesting..not sure why 1112 would have be appended to the name. still not working though

Have you tried changing your domain name to something else? I had this happened to me when I switched routers, from N66u to AC66u and tried using the same ddns domain name with asus ddns service, had to registered another name in order for it to work - now I can access my network from outside (external IP)
 

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

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