Total 3 devices are connected to the Router as shown below. The Router is WIFI enabled so that I can connect multiple devices wirelessly. A ROUTER is on the top of the network for which the Internet Service Provider is Airtel. But from outside world this IP cannot be reached.Here I will walk you through the steps to contact the local IP from outside world.This procedure is a major step needed in IOT projects, without which external control is not possible.įollowing is the setup of my Network. This post is all about converting your device address in Network to STATIC & establish PORT FORWARDING.įor IOT projects it is easy to test in local setup using the LAN IP starting with 192.x.x.x. Select RAW & feed in the host name & port as 350. You can test the access to ESP server now from a distant PC.įrom anywhere in the world, make open a PUTTY window. Now you can see all TICK marks in the DUC window.ĭUC runs in the background & follows your public IP to the domain name you created. Select the host name you created & click save. Once you log in, the following windows appear. Now you’ll be asked to login your NO-IP account again You’ll be taken to next window to download DUC.ĭUC- Dynamic Update Client is a software which runs in the background of your PC to follow your public IP.īefore FINISH ensure to tick mark “Run DUC in the background” Go back to your NO-IP account & click YES to the question “Is there a computer always running on your Network?”. If you do not see NO-IP under drop down of DDNS settings of Router, Now you’re done with DDNS settings.You need not go further to Port forward tab, as we’ve already done it.įollowing is the procedure, in case your Router doesn’t support NO-IP. Now go back to your NO-IP account window.Īfter a short time you should see SUCCESS. Provide the email & password you used to create the NO-IP account.Ĭlick on ADD to save to DDNS Table of Router. Most of the Routers support NO-IP & is listed on the drop down.įeed in the Host Name as On the next window, before clicking YES to log in device, go to the Router settings in browser where you typed in 192.168.1.1 We shall come back to this window shortly after setting the Router for NO-IP. Next step is to fill in the Device details. Under the dropdown select the host name we created, Next, click on Device Configuration Assistant. To make it STATIC we shall use a service called NO-IP which converts your public IP to a Domain name & follows the changes.Įnter the host name, for e.g, as testmyiot & from the dropdown select a domain, say,. The external world communicates with your ESP server using the Public IP of your Network.This IP is generally DYNAMIC which means it changes on every boot of your Router. Now the Server starts listening on PORT 350. Now open the Putty window where you’ve connected ESP8266 ( refer part 1 for details)īefore starting server, issue the command Under Action select “Allow the Connection” Open Windows Firewall with Advanced Security. Next is the Windows firewall settings to allow communication through port 350. Once the APPLY CHANGES button is clicked, the entry appears under Forwarding Table. Under LAN IP feed in the static IP of our ESP8266.Here it is 192.168.1.10 which we made static as described in part 1. Under Virtual Server feed in the WAN & LAN ports as 350. In my case the VIRTUAL SERVER is under ADVANCED -> NAT The PORT Forwarding is done under VIRTUAL SERVER.įor different Router, you can check out this excellent link which guides settings for almost all types of Routers in the World. In this part 2 we shall see how to make your Dynamic Public IP as STATIC using NO-IP account & then Port forward to the server started on port 350 of ESP.įirst let us do the PORT FORWARD settings.įor this, type in your Router’s Gateway IP in the browser & log in to Router’s Settings.Here my Router’s gateway is 192.168.1.1 In the previous post PART 1 we explored the ways to make the local IP address of PC/ESP8266 STATIC.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |