Can not SSH to WAN on 4G LTE router

As in the title.

I can ssh to the router vie LAN but I cant SSH and even ping from outside.

Any idea?

By default, the firewall prevents ssh access from the outside, you will have to change its configuration to allow it (not a good idea). That said, most mobile carriers don't provide you with a globally routable IP address, but employ NAT with private (rfc1918) addresses instead - in this case you can't access your device from the outside at all.

1 Like

With such carriers you will see that your WAN IP is 10.x.x.x or 192.168.x.x this is a private IP so you will not be able to reach it from the Internet. The carrier blocks incoming connections.

2 Likes

hmm I did all firewall configuration and I cant see any reason why this is not working. So I suspect SIM provider must be blocking it. My IP is 172.34.8.x

That's also a private IP (Class B).

https://openwrt.org/docs/guide-user/firewall/misc/tcpdump_wireshark

So, is there any way to have a remote access to 4G Lte router?

what about setting up a cron job to ssh to me from the router?

@Hegabo

$ ipcalc 172.34.8.1
Address:	172.34.8.1
Address space:	Internet
Address class:	Class B

Oh right, my bad. The private ends at 172.31.255.255 (well, 172.31.255.254).

So in this case it should in theory be reachable!

2 Likes

Which doesn't mean that your carrier isn't filtering ports willy-nilly, which is common as well.

1 Like

But then different port can hopefully help