How to Setup Remote Access with using Router DDNS

I am new to the community but like to share how to use your Router internal DDNS for the Mobile APP and also HTTP Access.

  1. The first step will be to set up your DDNS features in your router. Most of the new +$50 routers have DDNS (Dynamic DNS) features with them but first, check your router spec sheet to make sure about it. I used ASUS and TP-Link, and both offer free DDNS for the router owners.
    and they will give you a link like this sample: http://yourname.tplinkdns.com

  1. Reserve the IP Address. If you are using a static IP Address for your HA device you can go to the next step but if using a DHCP to assign an IP you need to set up an IP Address Reservation tor if to make sure it always will have the same IP address. To do this you will need the MAC address of your HA Device and the current IP and you should be able to find both of them in your DHCP list on your router webpage and then using them to set up an Address Reservation:

  1. Setup NAT forwarding. We need to set up a port forwarding to let the router know when it needs to forward the request to your HA device. To Setup that you will need an External Port (I used the same 8123 port that HA using for the internal communication but you can select a different port if you want) and then map it to your HA IP address and Port 8123. here is the setting for my Router

Now your network is ready to respond to the HA requests from outside without paying for the Cloud service. to connect to your system using an internet browser, you can use your DDNS address by adding the port you selected as the external port on your NAT Forwarding like this: http://yourname.tplinkdns.com:8123

To set it in your mobile APP you should go to “APP Configuration -> Connection -> Connection via” and used the same address for the external URL (Make sure also keep your internet URL setting)

Now enjoy your app everywhere

1 Like

I highly suggest that you at least add SSL certificates to browse over https to make it at least a bit more secure.

1 Like

Setup a reverse proxy like Traefik

2 Likes

Thanks a good idea to add more security to the connection and I may add it later but I originally was thinking as this will not be a public link/website and it will be only shown on my app setting that might not be as necessary.

You exposing site to web?
This is public.

You doing as http.
This is open

You use tplinkdns.com
This is likely watched by people looking to exploit novice setting up http site exposed to web

2 Likes

Suppose I only wanted to be able to send a WOL token to a specific pc on my network remotely. Is this possible using this method?

Can you let me know which TP Link router you are using? (I have now 3 TP Link Deco M4) but i’m not sure if the port forwardings are correct… So maybe a better router than my ISP will work…

Hi,

I am using a TP-Link AC1750 router, but I also checked the manual of your router and looks like there is a Port Forwarding option under the Advance menu. Let me know if there is anything I can help you.

It should works if you have a static IO on that device

I use Nabu Casa because it is so easy AND it is a way of contributing to this fantastic open source project.