Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95437

Reverse Proxy + HA

$
0
0

@ninjadog wrote:

Trying to understand Reverse Proxy (vs Port Forward). Nginx supposed to be more secure than IP forwarding on router. Closest I could find to what I want is this:

I have home assistant one one server and some apps on another server.
Main requirement is i do not want to run/need software, on a client, to access my HA instance & apps.
My router is connect to my ISP and I get a dynamic IP from that.
So I setup DDNS and my router provides the DDNS updater.
I would like to use a Digital Ocean Droplet to install nginx and then access my HA / apps via DDNS.

But, I’m confused here because :-
Am thinking that DO droplet nginx would need to forward traffic to my network via my router, using my router DDNS IP. On my router, I would need to open ports for my HA and apps - for example, 8123, 80, 8080, 66668 and 88888 (latter two being random ports running webapps). These ports need to be forwarded to relevant internal IPs on my LAN. So what is nginx giving me and/or how is it protecting me given that ports on the router still need to be open and forwarded anyway?

Or

Could I run a VPN server on the DO droplet in addition to nginx, and then forward traffic to different VPN clients dependent on the URI passed to nginx - I wouldnt need to open any ports on the router other than required for VPN - or is all that insecure?

I’m probably misunderstanding it all.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 95437

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>