Port Forwarding LinkitONE to Public IP & Domain
by ssarthak598 in Outside > Camping
1087 Views, 5 Favorites, 0 Comments
Port Forwarding LinkitONE to Public IP & Domain
Many of us make IoT applications with WiFi but they only work in your local area network. Do you want to forward your public IP address to your local IP that is linked to your LinkitONE or any other board?
Like 192.168.x.xx to www.example.com?
Here i'll show you how you can do so and also link your board with a domain name!
Why Port Forwarding?
We make cool projects like IoT powered lights, smart agriclture, smart air quality sensors etc. But if we want to port it to a public IP, that means anyone can access it online.
The main aim is to bring everything from a local IP like 192.168.x.x to a domain like www.example.com
What Do You Need?
1) no-ip.com account
2) A router that supports port forwarding (I'll be using 450TC1)
Register on Noip.com
First create an account on no-ip.com and register.
Get Your Gateway IP Address
Search your gateway IP address by running command ipconfig /all. It'll return you your internet connection info.
Setup Your Router
Now open your gateway page. It'll give you the connection settings. Here you can forward your local IP to public IP.
Navigate the "advanced Setup"
Now navigate to the advanced setup option and click on "NAT". Then go to "Virtual Server Option"
Set Up Virtual Servers
Noe enter the public and local IP in the setup virtual server page. Here you can edit any of the ports you forwarded earlier.
Mine local IP is 192.168.1.3 and i'm forwarding it to 122.160.202.xx
Enter all the details correctly and save them!
Setup Domain
Now We'll setup the domain!
Navigate to "Manage Hosts" page. There click on add host and add your public IP and port number. Then save it and you are done!
You'll get your own domain name! You can access your LinkitONE with this domain.
Attach the WiFi Antenna
Attach your Linkit's wifi antenna to test your board out!
Test It Out!
Now test it out!
Navigate to your local IP an show it off to your friends!
Congrats! you've forwarded your board to a domain!