1

I am setting up an IoT station, with a Raspberry Pi 3 and a mobile modem for the connectivity (Netgear LB1111) that work with a SIM card and it is connected to the RPI with an ethernet cable.

The main issue here is that I am not sure if I can get a fixed IP.

So how can I comunicate remotely with this RPI, to send real time command to the station?

closed as unclear what you're asking by joan, techraf, Milliways, Gene, Steve Robillard Jan 14 '18 at 20:10

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • I'm not sure if the Pi is relevant to this question. Wouldn't any box have the same issue? – joan Jan 10 '18 at 16:29
  • 1
    Yes, but maybe there is some ready to use RPI tools or library that I can use. – FabioDev Jan 10 '18 at 17:14
1

Remember that most carriers implement a very strict NAT when it comes to mobile data. You will need to, at least, implement a reverse connection from the Pi to the controller, depending on your setup. See below.

Depending on your setup

  • Whether your Pi asks for information (e.g. by polling a REST API) or
  • Whether your Pi acts as a server for you to connect to

You may or may not need to do any special measures.

If your Pi follows the first bullet, you do not need to do anything, since most carriers allow outbound connections.

If your Pi is a server (second bullet), you will need to implement reverse connections (or reverse tunneling, depending on your setup), since most carriers DO NOT allow port forwarding (or unrelated inbound connections) with mobile data.

Keyword is reverse tunneling. Go do some research. Start your experiments with reverse SSH. If you can do that, you can do anything.

Not the answer you're looking for? Browse other questions tagged or ask your own question.