How can I create an external SSL wrapper/tunnel page for an insecure webpage behind a firewall?

Posted by Ross Rogers on Super User See other posts from Super User or by Ross Rogers
Published on 2011-03-14T22:42:04Z Indexed on 2011/03/15 0:12 UTC
Read the original article Hit count: 383

Filed under:
|
|
|

I have an security cam with a built-in webpage inside my home network. That camera is using basic HTTP authentication instead of SSL. I want to be able to access the camera's webpage from outside my network, but I don't want to open an unencrypted video stream to the outside world.

Right now, I'm doing some cumbersome ssh tunneling where I bounce off an ssh server like:

ssh -N -L 9090:CAMERA_IP:80 [email protected]

and then I connect to my web page like:

http://localhost:9090

But this is a pain.

Now, gentle reader, I beseech you to tell me how I can use linux (Ubuntu) to get a fully encrypted SSL connection to my internal web page without the hassle of creating an ssh tunnel each time.

I believe I can use stunnel, but I'm not sure of the command.

© Super User or respective owner

Related posts about linux

Related posts about ssh