-1

I have a Raspberry Pi Device where I use a 4g modem (D-link DWM-222) to connect it to the internet.

The interface ppp0 gets an IP and everything works great. I was thinking that I would get a public IP and be able to connect to this device over the internet. But when I try to ssh into it I just get "Connection timed out".

I have a another sim-card from the same ISP that I use for my home network with a router. And there I'm able to forward a port to a device on my home network to enable ssh into it from the internet, and it just works. So this led me to believe that I should be able to access my 4g connected Raspberry Pi device directly.

The IP i see when i type ifconfig is different from the one I see when I visit ifconfig.me

What am I missing? How can I make this work?

Andreas Larsson
  • 135
  • 1
  • 4

0 Answers0