Remote shh to FX30 in field


#1

Hi, I have an FX30s in the field which connects to airvantage. Is there a way to ssh to it through its cellular connection?

Thanks,
Karl


#2

Hi Karl,
Yes you can but you need to open port 22 on the INPUT chain of the firewall in /etc/iptables.rules
BR,
Chris


#3

Ahh great thanks @cchenry… Presumably I will need to have a static and public IP address for the SIM card? Or is there another way by say tunneling through airvantage or DynDNS etc.

Thanks,


#4

Hi Karl,
Yes you could use either a static public IP or dynDNS. I’m not aware of a mechanism to do this through AirVantage
BR,
Chris


#5

In case it is useful to anyone else.

My SIM provider does not allow traffic to go direct to the device from outside their network. Getting them to make it public is too much work, so I looked for another solutions…

I have managed to do this using reverse ssh tunneling. It involves setting up an ssh server, that you create a tunnel to from the device. You then connect to the selected port on your server which tunnels you through to your device.

As Chris mentions above, you need make sure the firewall is opened on the device and server. Search reverse SSH tunnel in google for more information.