Changes

Line 1: Line 1:  +
==Preconditions==
 +
 +
There is one mandatory precondition for DDNS to work - you must have a '''Static or Dynamic Public IP address'''. Dynamic DNS will not work with a '''Shared Public IP'''. You can read up more on this in our article on '''[[Private and Public IP Addresses]]'''.
 +
 +
The easiest way to find out this information is to log in to the router's WebUI and check the '''WAN''' widget in the '''Overview''' page. You will be automatically redirected to the Overview page after you log in and the WAN widget will be on the right side of the page, second widget from the top. If the WAN widget displays a Public IP address, your DDNS configuration should work; if it displays a Private IP address, that means you're using a Shared Public IP address and you won't be able to reach your router with the help of DDNS.
 +
 +
[[File:Private vs public ip.png|1150px]]
    
== Step 1. Dynu DDNS configuration ==
 
== Step 1. Dynu DDNS configuration ==
First of all we need to visit DDNS provider website - #REDIRECT [[www.dynu.com]], once we are here we have two options: create new user or use existing one.
+
First of all we need to visit DDNS provider website - '''[https://www.dynu.com https://www.dynu.com]''', once we are here we have two options: create new user or use existing one.
 +
 
 +
[[File:Dynu starting.jpg|1150px]]
 +
 
 +
If you do not have existing account click "'''Create Account'''"
 +
 
 +
To login into your account click "'''Login'''"
 +
 
 +
Enter your account details and press "'''Login'''"
 +
 
 +
[[File:Login_dynu.jpg|1150px]]
 +
 
 +
=== Adding new host ===
 +
----
 +
You need to click "'''DDNS services'''"
 +
 
 +
[[File:Control_panel.jpg|1150px]]
 +
 
 +
Then "'''Add'''"
 +
 
 +
[[File:Add.jpg|1150px]]
 +
 
 +
And finally you need to choose one of two options to use their domain name (red square) or your personal domain name (blue square) and click "'''Add'''"
 +
 
 +
[[File:Host.jpg|1150px]]
 +
 
 +
After all these steps you should see this window
 +
 
 +
[[File:final.jpg|1150px]]
 +
 
 +
== Step 2. Router configuration ==
 +
To configure the router we need to enter the router's WebUI. To access it enter your router IP (eg. 192.168.1.1), into your web browser's URL bar.
 +
After that you should click "'''Dynamic DNS'''": '''Services''' -> '''Dynamic DNS'''
 +
 
 +
[[File:Dynamic.jpg|1150px]]
 +
 
 +
Then enter '''new configuration name''' and click '''Add new'''
 +
 
 +
[[File:NewA.jpg]]
 +
 
 +
After that you will see new line with two options "'''Delete'''" and "'''Edit'''". Click '''Edit'''
 +
 
 +
[[File:NewE.jpg]]
 +
 
 +
=== Dynamic DNS configuration ===
 +
 
 +
Once you have completed all steps before you will see window with important DDNS configuration settings.
 +
First of all, check "'''Enable'''" box
 +
 
 +
[[File:Config.jpg]]
 +
 
 +
Next, you need to select service provider: '''Service''', however our routers do not have Dynu as default provider, so you have to select '''custom'''.
 +
<br />
 +
After that it is important to create good "'''Custom update URL'''". It should look like this:
 +
<br />
 +
<nowiki>http://api.dynu.com/nic/update?hostname=</nowiki>['''DOMAIN''']&myip=['''IP''']&username=['''USERNAME''']&password=['''PASSWORD''']
 +
<br />
 +
'''DOMAIN'''    -> your registered domain eg. teltonikademo.dynu.net
 +
<br />
 +
'''IP'''        -> your IP address eg. 214.154.12.47
 +
<br />
 +
'''USERNAME'''  -> your Dynu account username eg. teltonikademo
 +
<br />
 +
'''PASSWORD'''  -> your Dynu account password eg. yourpassword
 +
<br />
 +
'''IMPORTANT''' use hash methods that covers your password for security reasons. You can do that [https://www.dynu.com/NetworkTools/Hash here] 
 +
<br />
 +
<br />
 +
Complete URL example: http://api.dynu.com/nic/update?hostname=teltonikademo.dynu.net&myip=212.47.100.158&username=teltonikademo&password=28c7e9d80022be6f5c801cc9a7d0e13ee1647579df1f4911c7cfb6f0cca323f3
 +
 
 +
 
 +
[[File:Config2.jpg]]
 +
 
 +
Once you created URL you need to fill in last three fields:
 +
<br />
 +
Hostname -> your registered domain eg. teltonikademo.dynu.net
 +
<br />
 +
Username -> your Dynu account username eg. teltonikademo
 +
<br />
 +
Password -> your Dynu account password eg. yourpassword
 +
<br />
 +
And click "'''Save'''"
 +
<br />
 +
[[File:Config3.jpg]]
 +
 
 +
=== Remote access configuration ===
 +
 
 +
After you complete DDNS configuration last thing you need to do is to allow Remote access using HTTP. These options can be found
 +
'''System''' -> '''Administration''' -> '''Access control'''
 +
 
 +
[[File:Access.jpg]]
 +
 
 +
And then click "'''Access Control'''" tab
 +
 
 +
[[File:Access control.jpg]]
 +
 
 +
Here you need to select "'''Enable remote HTTP access'''" option and press '''Save'''
 +
 
 +
[[File:AccessEnable.jpg]]
 +
 
 +
== Test your DDNS ==
 +
 
 +
Enter your hostname into browser and you should see something similar
 +
 
 +
[[File:Testing.jpg]]
 +
 
 +
==See also==
 +
 
 +
[[Dynamic_DNS]] - general information on the DDNS service.
 +
 +
[[DDNS Configuration Examples]] - additional examples for different DDNS providers.
 +
 
 +
==External links==
 +
 
 +
https://www.dynu.com/

Navigation menu