I’m curious on suggestions/best ways to be able to remotely SSH to a LoRa GW that is running Chirpstack v4? Currently just running v4.10 full image on a Raspberry Pi 4B.
Can you just NAT your gateway so it is publicly reachable?
You also don’t need to download the AWS tunnel directly onto the gateway, you could install it onto a different device in your private network, like a Pi, and still use it to access your gateway.
I have used a remote port forwarding/reverse tunneling solution. The solution works well. One part of the application runs in a public data center and the other end runs in a private network.
The autossh solution is running in a docker container. The system has been operating for over ten months without extra maintenance. So it seems like a good solution.
Here are some notes about the solution
"…Autossh Docker image to create a stable and reliable auto-ssh connection between two hosts by using ssh port forwarding. Port forwarding is a method for safely transmitting data over an encrypted SSH connection between a local and remote server.
GLS-autossh can configured two different port forwarding mode:
Local port forwarding Redirects traffic from a local port on the client machine to a specified port on a remote server via an SSH connection.
Remote port forwarding Redirects traffic from a port on the remote server to a specified port on the client machine.
Remote port forwarding reroutes traffic from a specified port on the remote server to a designated port on the local machine. This is in contrast to local port forwarding, which forwards data from a local machine to a remote server…"