Wednesday, January 10, 2018

MNO LAN: Use same MNOs SIM card in your IoT devices like GL-MiFi

One of the big issues with IoT is somehow enabling two end nodes to communicate with each other in the presence of Network Address Translation (NAT)
Now days most ISPs (and Mobile Network Operators or MNOs) use NAT by default and assign you local IP addresses in 10.*.*.* subnet. You usually have to pay an extra fee to get static global IP addresses assigned to you - this could be a security concern.
If your end nodes run embedded linux, the following solutions can be used:


  1. Use DDNS and UPnP together
    DDNS is not usually free, but the manufacturer of your embedded linux device (routers from goodlife of Vstarcam's IP camera) might provide you this service for free as it uses almost nil resources on the server side. Most ISPs have UPnP support disabled on their gateway. In a home environment, if you have your own static global IP for your home router, you can use UPnP and DDNS to your advantage. An end node will use UPnP to request your WiFi Router to open ad forward certain outward facing ports to it and then. It will then detect the global IP address of its parent's gateway (in your case, your own home router) and register it with its DDNS server. You can then use the URL assigned to the device to access it from anywhere in the world.
  2. Use Virtual Private Networking
    Pay for a virtual private networking service and use OpenVPN clients on your end devices and bring them all on the same LAN
  3. Use yaler.net
    Its a paid reverse SSH relay service. Works well for SSH and HTTPS connections to your device
  4. Use a server with a global IP address
    Rent virtual VM from digital ocean or amazon or google and develop software for your devices to send data to or receive data from. this is what most manufacturers do for their IoT appliances.

There is a 5th option if:

  1. You are working on a DIY project - handful of embedded linux devices with SSH access.
  2. Your devices are located in the same geographical area (i.e. within the same telecom circle)
  3. Your devices have 3G/4G modem
The trick is to stick the same network operators SIM card in all your devices. All these devices will be assigned IP addresses on the same subnet and would be able to ping each other.

The 10.*.*.* only allows around 16 million unique IP addresses and so I have reason to believe that in India, different MNO circles would be on different logical LANs

Here are the results of my tests - I used two GL-MiFi with 4G modems in them with Reliance Jio 4G SIM cards. Both the devices were located within Maharashtra (one in Pune and other in Talegaon)

I opened the outward facing ports on GL-MiFi and deactivated the firewall on them.
I then conducted iperf tests and here is what I got. It seems that we can easily transfer data between the devices at around 1-2 Mbps while on the Jio network.

Results. PDF is here.


14 comments:

Anonymous said...

This is the Most Valuable and trusted Site, if there any kind of happen on Technical cases Contact with "Aol Support" and They Know how to treat with the consumer, They all Technically sound and very much cum, and they Try to make sure at of the call The Consumer make happy with the getting Resolution .

Lauren Gottlieb said...

I am glad you take pride in what you write. This makes you stand way out from many other writers that push poorly written content. SIM only deals

Yousufzai said...

This put up is totaly unrelated to what I used to be looking google for, however it was indexed on the first page. I guess your doing something right if Google likes you adequate to place you at the first page of a non related search. apple tablet mockup

Yousufzai said...

Glad to be one of the visitors on this awe inspiring web site : D. ipad mockups

WebCodexIT said...

This is the right blog for anyone who wants to find out about this topic. You realize so much its almost hard to argue with you (not that I actually would want…HaHa). You definitely put a new spin on a topic thats been written about for years. Great stuff, just great! tablet mockup

authur said...

I have been reading out some of your stories and i can claim pretty nice stuff. I will surely bookmark your blog. device mockup

Hetuwa Duminda said...

I really got into this article. I found it to be interesting and loaded with unique points of interest. I like to read material that makes me think. Thank you for writing this great content. android mockup psd

Yousufzai said...

Informative Site… Hello guys here are some links that contains information that you may find useful yourselves. It’s Worth Checking out…. android psd

WebCodexIT said...

Excellently written article, doubts all bloggers offered the same content because you, the internet is a greater place. Please keep it up! apple app store mockup

Unknown said...

Regards for this post, I am a big big fan of this site would like to go on updated. app store template

Hetuwa Duminda said...

An attention-grabbing dialogue is price comment. I believe that it is best to write more on this matter, it might not be a taboo topic but usually people are not sufficient to talk on such topics. To the next. Cheers imac mock up

Hetuwa Duminda said...

Thanks for making the honest attempt to speak about this. I believe very robust approximately it and want to read more. If it’s OK, as you gain more in depth wisdom, would you thoughts adding extra articles similar to this one with additional information? It might be extremely useful and useful for me and my friends. watch mockup

sdexter said...

You are my intake , I have few blogs and very sporadically run out from to post : (. web development services company

Hetuwa Duminda said...

I really delighted to find this internet site on bing, just what I was searching for : D too saved to fav. front end developer

Post a Comment