How To Configure RAK Industrial LPWAN Gateway Remote Management with DDNS

Table of Contents

Overview

This tutorial describes on how to use the fast and simple Dynamic Domain Name System (DDNS) Service to access the RAK Industrial Gateways.

Several points must be taken into considerations:

  • For accessing the Gateway behind a router, you have to consult with your router documentation in order to implement Port Forwarding or Demilitarized Zone (DMZ), so you can remotely access your Gateway.

  • For accessing the Gateway, when connected through an LTE network, please contact your cellular service provider in order to implement Port Forwarding.

Register a DDNS Service

In using Dynamic Domain Name System (DDNS), you can assign a Domain name that you link to your Gateway’s Real IP Address. This allows you to access your Gateway with a Domain name that is static and will not change even if a new IP address is assigned to the Gateway, making sure you don’t have to keep a lengthy list of address that needs to be constantly updated. The DDNS service takes care of this for you.

Choosing your DDNS Provider

A list of providers supported by the RAK Industrial Gateway series can be found below.

📝 NOTE: For this sample demonstration, the dyndnss.net DDNS service provider shall be used.

 

3322.org afraid.org (6) changeip.com cloudflare.com (2) (5) (6)
core-networks.de (6) ddnss.de (6) dhis.org (6) dnsdynamic.org
dnsexit.com dnshome.de (6) dnsmax.com dnsomatic.com
dnspark.com do.de (6) dtdns.com duckdns.org (6)
dyns.net dynsip.org dynu.com dynv6.com (6)
easydns.com editdns.net goip.de (6) google.com (5) (6)
he.net (6) joker.com loopia.se (6) (loopia.com) mydns.jp (6)
myonlineportal.net (6) mythic-beasts.com (6) namecheap.com nettica.com
no-ip.com (1) (noip.com) no-ip.pl (6) nsupdate.info (6) nubem.com
ovh.com regfish.de (6) schokokeks.org selfhost.de
sitelutions.com spdyn.de (6) (spdns.de) strato.com system-ns.com
thatip.com twodns.de variomedia.de (6) zerigo.com (6)
zoneedit.com (5) zzzz.io (5) (6)   BIND nsupdate (3) (4) (6)

 

📝 NOTE:

(1) - requires additional package ddns-scripts_no-ip_com to be installed.
(2) - needs additional package ddns-scripts_cloudflare to be installed.
(3) - directly updates a PowerDNS (or maybe bind server) via nsupdate.
(4) - needs additional package ddns-scripts_nsupdate and bind-client to be installed.
(5) - SSL support required.
(6) - supports IPv6

 

📝 NOTE: You may also visit the OpenWrt DDNS Client Guide for more information.

Register your DYNDNS Account

Go to the DYNDNS Service website and click "Register" as shown in Figure 1.

KHM-069-01.png

Fill in the following details: Name, E-mail Address, User Name and Password. Agree with the terms and click "Create a Free Account".

KHM-069-02.png

📝 NOTE: A confirmation link shall be sent into your e-mail address which will bring you to the log-in page.

Create a DynDNS URL

Once logged, click on the "Creating a new DynDNS Url" link shown in Figure 3.

KHM-069-03.png

Input a Sub-Name for the domain. This will be used for accessing the Gateway later after configuring the service. Leave the Port field empty.

📝 NOTE: For demonstration, "rakwireless.dyndnss.net" shall be used.

KHM-069-04.png

The DDNS URL is created. The Subdomain should now have a password which we will needed to setup the Gateway DDNS Service, full DDNS URL and “ENTER” button that will force the DynDNSS service to get the Gateway current IP.

KHM-069-05.png

Gateway DDNS Service Set-up

Log into the Web UI by following the steps in the Access in the Web Management Platform section.

In the Web UI, navigate to Services>Dynamic DNS (Beta) as shown in Figure 6. For further details, read the Services section of the Web Management Platform User Manual.

KHM-069-06.jpg

In the Dynamic DNS (Beta) tab, input a name for the service in the text box and click the “Add” button as shown in Figure 7.

KHM-069-07.jpg

In the Dynamic DNS (Beta) configuration page, Enable the service. Next, fill in the necessary credentials:

  • Lookup Hostname: dyndnss.net
  • DDNS Service provider: dyndnss.net
  • Hostname/Domain: The domain created in the Create a DynDNS URL (see Figure 4)
  • Username: DynDNSS Username used.
  • Password: DynDNSS Password Create a DynDNS URL (see Figure 5).

KHM-069-08.jpg

Open the Advanced Settings tab. Next, fill in the necessary credentials and click "Save & Apply".

  • IP Address source: Network (default)
  • Network: WAN (default)
📝 NOTE: This mean that the DDNS Service of the Gateway will check and report to dyndnss.net the WAN IP of the Gateway. If you want to access your Gateway trough different backhaul you can choose it here.

KHM-069-09.jpg

KHM-069-010.jpg

  • After the configuration is saved, you will be redirected to the main Dynamic DNS page.

To start the Dynamic DNS Service, click the “Start” button.

📝 NOTE: This is the page where you can see the dyndnss.net IP, which is the IP address that the Gateway reports any change in the IP address you chose in Figure 4.

KHM-069-011.jpg

Go back to the dyndnss.net web page and click on the “ENTER” button.

KHM-069-012.jpg

  • If the setup is correct, a confirmation message is seen with the real IP Address same as shown in Figure 8.
    KHM-069-013.jpg

Click the “To Account” button to turn back to the DynDNS Url Information page. The assigned IP Address is now shown and the last time it was updated.

KHM-069-014.jpg

Open the URL in the Web Browser and the RAK Gateway Web UI Log-in should appear. You can access your Gateway from anywhere using this URL.

KHM-069-015.jpg

Updated