views:

24

answers:

1

Hi
We have a device with a web server running on it. From a PC, you can access web ui of the device using a web browser. This works fine when the pc and device are under same corporate network. We sell these devices to lots of customers. I am working on a tool that helps our support guys to access the web ui of the device that are running behind customer firewall.
The device runs on top of embedded Linux. What I am looking for is something like Copilot that can expose web server to outside world. Lets assume the security things are taken care of somehow. Imagine there is a server running at our company that all these devices can post to using https. Is there any library (open source or commercial) that I can use and build an app

    that runs on the device, 
    connects to our server in the cloud, 
    if there is a pending connection from a support guy, 
       it passes that http request to web server and 
       any result from web server back to the support server.

If it is a PC based device, I can use copilot or VNC. This is embedded device with our own set of applications. Just wondering whether there is any library that I can start with instead of building my own from scratch

I appreciate any pointers.

Thanks Video guy

A: 

OMG
You are right. I did some research on ssh. ssh is swiss army knife. This is what I think might work.

1) Run Open ssh server on our company cloud that our devices can connect to. Lets call this host companyxssh.com
2) On our device, run the following command when user requests for help
ssh -R 8080:localhost:80 [email protected]
That will open an outward ssh tunnel initiated from device to ssh daemon. Now the daemon on company server forwards any connections on port 8080 to this tunnel. That means if the support guy types http://companyxssh.com:8080/, he should get access to the webserver of the device.

Its all theory. I will give it a try.

Thanks
Videoguy

videoguy
John Saunders