Search code examples
authenticationsshembeddedethernet

Remote connection to embedded device in field


I would like to ask about the way how to establish remote connection to Linux based embedded device in the field. I have a small linux board I want to place in remote location. It has an internet access through ethernet. Than I have a Linux server with public IP to be able to tunnel connection. And finally, I want to connect from my PC to this device.

I don't feel yet competent enough to code my own tcp sockets etc. to reroute the connection :) So what would be the easiest way to do that only with available linux tools? And BusyBox toolset on endpoints.

Thank's a lot!


Solution

  • I think that using OpenVPN would be a easy way to tunnel to the device. You can cross compile it and set it up as a client on the embedded device. Then you install it on your Linux box and set it up as a server. Finally you install it on your work PC and set up as a client there.

    It gives you a virtual network where all clients can talk to each other like they would be on a local network.