Remote Home Assistant Access: How to Connect Safely
To access your Home Assistant server remotely, you need to expose its web interface to the internet securely—the recommended method is through the official Nabu Casa cloud service, which provides a secure tunnel without opening ports. Alternatively, you can set up a VPN (like WireGuard or Tailscale) or use a reverse proxy with a domain name and HTTPS. This article explains each option, how to choose, and the security pitfalls to avoid.
Why Remote Access Matters
Home Assistant (HA) is a local-first smart home hub. By default, it only responds to requests on your local network, which is great for privacy and security. But when you’re away—at work, on vacation, or commuting—you may want to check cameras, adjust the thermostat, or unlock a door. Remote access bridges that gap, letting your phone or laptop talk to your HA instance from anywhere. The challenge is doing so without exposing your entire home network to attackers.
Primary Methods: VPN, Cloud, or Reverse Proxy
Three main approaches dominate. Each has trade-offs in convenience, security, and cost.
- Nabu Casa (official cloud): A subscription service that creates a secure tunnel from your HA to their servers. You get a
https://yourname.nabu.casaURL. It also enables Alexa and Google Assistant integrations without extra setup. Cost is around $6.50/month (as of 2025). - VPN (WireGuard, Tailscale, OpenVPN): A VPN creates an encrypted tunnel between your device and your home network. You install a VPN server on your HA machine (or router) and a client on your phone. You then access HA via its local IP address, as if you were home. Tailscale is a popular mesh VPN that is free for personal use and very easy to set up.
- Reverse proxy (Nginx, Caddy, Traefik): You run a web server that forwards HTTPS requests to HA. You need a domain name, a dynamic DNS service (if your home IP changes), and open port 443 on your router. This is the most flexible but also the most complex and security-sensitive option.
How to Choose the Right Method
Your choice depends on your technical comfort and needs.
- Easiest & most reliable: Nabu Casa. No router config, no certificates, no maintenance. Best for non-technical users or those who want a quick setup.
- Best for privacy & no subscription: Tailscale. It’s free, uses modern WireGuard encryption, and runs on almost any device. You don’t need to open any ports. Ideal for tech-savvy users who want full control.
- Most powerful & customizable: Reverse proxy with a domain. You can add subdomains for other services, use custom authentication, and have a professional-looking URL. But you must handle SSL certificates, keep the proxy updated, and monitor for vulnerabilities.
Security Considerations (What Not to Do)
The biggest mistake is port-forwarding port 8123 (HA’s default port) directly to the internet without any protection. That exposes your HA login page to brute-force attacks and known vulnerabilities. Avoid that at all costs. Even with a strong password, it’s risky. Instead, always use one of the secure methods above. Additionally, enable two-factor authentication (2FA) on your HA account—this is a must for any remote access. Also, keep HA and its add-ons updated; security patches are frequent.
Step-by-Step: Setting Up Nabu Casa
If you choose the official cloud, follow these steps:
- Log into your Home Assistant interface (usually at
http://homeassistant.local:8123). - Go to Settings → Home Assistant Cloud.
- Click Start free trial (or sign in if you have an account).
- Create an account or log in to your Nabu Casa account.
- After a few seconds, you’ll see a remote URL like
https://yourname.nabu.casa. That’s your access point. - On your phone, open that URL and log in with your HA credentials.
That’s it. The cloud service handles the encryption and tunnel automatically.
Step-by-Step: Setting Up Tailscale
Tailscale is a great free alternative. Here’s how to set it up:
- Install the Tailscale add-on in Home Assistant: Settings → Add-ons → Add-on Store → search for “Tailscale� and install.
- Start the add-on and open the “Web UI� tab. Log in with your Tailscale account (create one if needed).
- On your phone, install the Tailscale app and log in with the same account.
- Now your phone and HA are on the same virtual network. Access HA via its Tailscale IP (shown in the add-on’s log, usually something like
100.x.x.x) or via its hostname (e.g.,homeassistant). - Use that IP/name in your browser or HA app.
Tailscale works by assigning each device a unique IP in a private network (100.64.0.0/10). It uses WireGuard encryption and doesn’t require any open ports on your router.
Common Problems and How to Fix Them
Here are issues you might encounter and their solutions.
- Nabu Casa URL doesn’t load: Check your internet connection, and ensure HA is running. Try logging out and back in on the cloud page.
- Tailscale can’t connect: Make sure the add-on is running and that you’re logged in on both devices. Also, check that your phone’s Tailscale app is toggled on.
- Reverse proxy gives 502 error: This usually means the proxy can’t reach HA. Verify HA is listening on
localhost:8123and that the proxy config points to the correct address. - Slow remote access: If you’re using a VPN, your home upload speed limits the experience. For cameras, consider lowering resolution.
- Certificate warnings: If using a reverse proxy, ensure you have a valid Let’s Encrypt certificate and that your domain resolves correctly.
Costs and Maintenance
Nabu Casa is the only paid option (around $6.50/month). Tailscale is free for personal use. A reverse proxy is free but requires a domain name (about $10/year) and a dynamic DNS service (often free). All options require periodic maintenance: updating HA, updating the VPN/proxy software, and rotating passwords. The cloud service minimizes maintenance—you just pay and it works.
Frequently Asked Questions
Is remote access safe? Yes, if you use a secure method like Nabu Casa, Tailscale, or a properly configured reverse proxy with HTTPS. Avoid direct port-forwarding without protection.
Can I access Home Assistant remotely without a subscription? Yes, using Tailscale or a self-hosted VPN like WireGuard. Both are free and secure.
Do I need a static IP address? Not for Nabu Casa or Tailscale. For a reverse proxy, you need a dynamic DNS service if your home IP changes.
What is the difference between Nabu Casa and a VPN? Nabu Casa is a cloud relay service—you don’t need to manage any networking. A VPN creates a direct encrypted tunnel to your home network, which can be faster but requires more setup.
Can I access Home Assistant remotely from any device? Yes, as long as you have the client (Tailscale app, VPN client, or a web browser for Nabu Casa). The HA mobile app also supports remote access through these methods.
What if I only need remote access for a short time? You can temporarily enable a VPN or use the Nabu Casa free trial. For a one-time need, you could also use a remote desktop tool, but that’s less secure.
Related
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.