I have developed a local web page for controlling various smart devices in my home. Currently, I can only access it within my local network, but I would like to control these devices over the internet from my remote workplace where I cannot install any tools beyond a web browser.
I’m aware of the possibility to use dynamic DNS to access my router and then use port forwarding to reach my web server. However, my custom webpage does not have any built-in authentication, which is a major security concern. I would prefer to implement a pre-configured authentication system that is easy to set up.
Considering the risks of port forwarding and not wanting to expose my private IP address, another option could be using a cloud provider to establish an authentication system, which would then relay requests to my home server, connected via a VPN to the cloud server.
I am looking for advice on whether there are secure methods to implement an authenticated proxy or readily available authentication services to safeguard my setup.
Any suggestions or insights into how I can achieve this would be greatly appreciated!