0

I setup a 4G connection using below link viewtopic.php?t=302262

I have a ZTE MF820B dongle. When my home WIFI is on, I can ssh to the pi. But when I turn off the wifi and use only the ZTE usb dongle, I am not able to ssh.

Only think I know about networking in PING and ROUTE commands.

I have been struggling for a week and am out of ideas and search topics,

Please advice how to connect to my rpi with just my ZTE 4G dongle.

Walton


Thank you . This is good advice. I will work on updating my static IP.
my regular ssh on my ethernet of home wifi is over port 22. Doesnt that mean port 22 is also open when the 4g dongle is connected?

mY port 22 is active . I used below link to setup static IP.
circuitbasics.com/how-to-set-up-a-static-ip-on-the-raspberry-pi . I Still cannot connect over the 4g dongle.
Can you tell me what else am I missing . What do I need to check?

1 Answer 1

0

You need to learn more about how networking works. You can only SSH into your raspberry pi if your USB dongle has a static IP address and have port 22 opened.

One option is to make a reverse proxy that creates a secure tunnel from a public endpoint to a locally running service. You can use ngrok, frp or localtunnel like tools for making a reverse proxy.

If you are looking for a managed and easy-to-use solution, use Dataplicity which will allow you to open the terminal of your raspberry pi within their webapp regardless of the network. Dataplicity also make use of reverse proxy behind the scene.

6
  • Thank you . This is good advice. I will work on updating my static IP.
    – walton
    May 28, 2021 at 19:48
  • my regular ssh on my ethernet of home wifi is over port 22. Doesnt that mean port 22 is also open when the 4g dongle is connected?
    – walton
    May 28, 2021 at 19:49
  • mY port 22 is active . I used below link to setup static IP.
    – walton
    May 28, 2021 at 20:06
  • circuitbasics.com/how-to-set-up-a-static-ip-on-the-raspberry-pi . I Still cannot connect over the 4g dongle.
    – walton
    May 28, 2021 at 20:07
  • Can you tell me what else am I missing . What do I need to check?
    – walton
    May 28, 2021 at 20:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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