I am trying to build a security camera, which is intended to be connected to my private LAN by wifi. With other words behind my router. I have installed "Motion". I have also successsfully port forwarded my router som that I can connect from a computer on a different LAN to view a live stream by using a public portnumber (on my router) 80 and, private port (on raspberry) port number 8080. "Motion" is also configured to send images to my e-mail when motion is detected. Everything works fine. The only problem is that this is not a secure connection. I have searched all over the internet to find a way to make the connection secure. I managed to install and connect hma vpn on the Raspberry, but then I couldn´t connect to it anymore from the outside.
Being a "newbie/beginner" I haven´t found any good precise description how to make the connection secure. I saw one post where using "Stunnel" was proposed, however, being a beginner in this, it seemed to complicated to set this up.
Is there anyone who could give a detailed description on how to set up a Raspberry with Motion installed, in which I can connect from an external device using ssl encryption, so that watching a live stream from the camera is secure?