From 8890b5d371b002f1ca42bc6cfa838473403d0cbe Mon Sep 17 00:00:00 2001 From: Danny Tsang <567982+dannytsang@users.noreply.github.com> Date: Fri, 6 Oct 2023 19:06:46 +0100 Subject: [PATCH] Added VPN to remote access page (#29081) * Added VPN to remote access. Fixes #28982 Changed page layout into distinct options with headers. * Apply suggestions from code review Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com> --------- Co-authored-by: Franck Nijhof Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com> --- source/_docs/configuration/remote.markdown | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/source/_docs/configuration/remote.markdown b/source/_docs/configuration/remote.markdown index 975afd8884a..010514553c8 100644 --- a/source/_docs/configuration/remote.markdown +++ b/source/_docs/configuration/remote.markdown @@ -3,11 +3,7 @@ title: "Remote access" description: "Setting up remote access for Home Assistant." --- -
-Users of Home Assistant Cloud can use the Remote UI without requiring any configuration. -
- -If you're interested in logging in to Home Assistant while away, you'll have to make your instance remotely accessible. +If you're interested in logging in to Home Assistant while away, you'll have to make your instance remotely accessible. Below are a few options to do this.
@@ -15,7 +11,21 @@ Remember to follow the [securing checklist](/docs/configuration/securing/) befor
-The most common approach is to set up port forwarding (for any port) from your router to port 8123 on the computer that is hosting Home Assistant. General instructions on how to do this can be found by searching ` port forwarding instructions`. You can use any free port on your router and forward that to port 8123. +## Home Assistant Cloud + +Users of Home Assistant Cloud can use the Remote UI without requiring any configuration. + +A unique remote URL will be generated and given to you along with a certificate so all your traffic to Home Assistant is encrypted automatically. + +## VPN + +A secure way to remotely access your Home Assistant is to use a Virtual Private Network (VPN) service such as [Tailscale](https://tailscale.com/) or [ZeroTier One](https://www.zerotier.com/). + +A VPN connection needs to be established before you can connect to your Home Assistant from outside your local network. The VPN makes this connection secure. When using the Home Assistant Companion app (such as on a mobile device), without this connection, your sensors will not update in Home Assistant. + +## Port Forwarding + +Set up port forwarding (for any port) from your router to port 8123 on the computer that is hosting Home Assistant. General instructions on how to do this can be found by searching ` port forwarding instructions`. You can use any free port on your router and forward that to port 8123. A problem with making a port accessible is that some Internet Service Providers only offer dynamic IPs. This can cause you to lose access to Home Assistant while away. You can solve this by using a free Dynamic DNS service like [DuckDNS](https://www.duckdns.org/).