Secure Home Assistant Remote Access, Method by Method

Home Assistant runs on your own hardware, on your own network, and by default it is only reachable from inside the house. Everything called “remote access” is a decision about how to change that — and the methods differ a great deal in what they expose.

This page sets out the four approaches people actually use, what each one costs in setup and in surface area, and where HomeTunnel fits. It is written to answer the question first.

Four ways to reach Home Assistant from outside.

Each of these is a legitimate choice for somebody. The differences are concrete rather than a matter of opinion.

Home Assistant Cloud (Nabu Casa)

The official subscription from Nabu Casa gives your instance a remote URL without any networking work, and adds voice-assistant integrations. Subscriptions fund Home Assistant development, which is a real argument in its favour. For one home that wants remote access with nothing to configure, this is the straightforward answer, and we recommend it for that case.

Port forwarding, with DNS and TLS in front

Forward a port on the router to Home Assistant, point a hostname at your WAN address (usually through dynamic DNS), and terminate TLS — often with a reverse proxy. It works, costs nothing, and gives you a plain URL.

The trade-off is that your Home Assistant login page becomes reachable from the whole internet, and stays your responsibility to keep patched. It also needs a router you administer and an address that is reachable from outside, which rules it out behind carrier-grade NAT.

A VPN into the home network

Run a VPN server in the house — on the router, a small always-on machine, or a Home Assistant add-on — and dial in. Nothing is published publicly, and the traffic is encrypted.

Two things tend to bite. A self-hosted VPN server usually needs to be reachable inbound, which brings back the port-forward requirement and the CGNAT problem. And a conventional VPN typically routes a subnet, so once connected you can reach the whole LAN — more than Home Assistant, and more than you may want a phone to carry. It is also a configuration you maintain per house.

A scoped overlay network (what HomeTunnel does)

Both ends make outbound connections to a coordination service, negotiate a direct encrypted path where the networks allow it, and the remote client is granted routes to named services rather than to a network. Nothing is published publicly, there is no inbound rule, and access is explicit.

The cost is a dependency: a control plane has to be online to establish new connections and to reconcile routes. We would rather state that than imply otherwise.

What each method asks of you.

Official cloud

Home Assistant Cloud

  • No networking configuration
  • Voice-assistant integrations
  • Funds Home Assistant development
  • Per-instance, so per property
  • Scoped to Home Assistant itself
Self-published

Port forwarding

  • No subscription
  • A plain URL that works anywhere
  • Login page reachable from the internet
  • DNS, TLS, and patching are yours
  • Needs an inbound-reachable address
Self-hosted

A LAN VPN

  • Nothing published publicly
  • Full control of the server
  • Usually routes a whole subnet
  • Keys and peers maintained per house
  • Self-hosted servers need inbound reachability

Peer-to-peer first, encrypted either way.

The open-source add-on inside each home and the app on your device both join that home’s isolated network using a short-lived, single-use, home-scoped setup key issued by the Portal. Neither holds administrator credentials for the underlying NetBird platform.

From there the two peers use NAT traversal to negotiate a direct WireGuard path. WireGuard private keys are generated on the devices themselves and are not transmitted to HomeTunnel, so HomeTunnel cannot decrypt peer-to-peer traffic.

When a direct path is blocked, packets fall back to the open-source NetBird relay. They remain end-to-end WireGuard-encrypted, and the relay forwards packets it cannot read.

How connectivity works, in detail →

Encrypted connection path
DEVICEHOMEASSISTANTRELAY
No port forwarding. No exposed public IP, on either path.

Named services, not a network.

Being connected does not mean being on the LAN. Home Assistant is reached at its own IPv4 address on TCP port 8123, and a home can publish up to three custom routes beside it — each one a single IPv4 host and a single TCP port.

Each route carries its own access policy and its own route entry, so removing one removes exactly one service. There is no subnet route to widen.

  • Home Assistant host on TCP 8123
  • Up to three custom host-only routes per home
  • No general LAN or subnet access
  • No route between one home and another

Secure remote access to IoT devices

The parts people ask about next.

Away from home, on a phone

The iOS and Android apps enroll your phone as a client device for a home, connect peer-to-peer, and hand you off to Home Assistant — in the Home Assistant app or in a browser. The home view shows whether the current path is direct or relayed before you open anything.

Home Assistant on iPhone and Android

Networks that block direct paths

Carrier-grade NAT, double NAT, locked-down ISP routers, and restrictive firewalls all prevent a direct peer-to-peer connection. HomeTunnel does not need an inbound rule to work in those conditions, but it also cannot guarantee a direct path — that is what the encrypted relay fallback is for.

Home Assistant without port forwarding

When each one is the right answer.

HomeTunnel is a good fit when

  • You run Home Assistant at more than one property
  • You maintain a relative’s instance and do not want their whole LAN
  • You cannot or will not open a port on the router
  • Your connection is behind carrier-grade NAT
  • You want specific devices reachable, not the network they sit on
  • You would rather not maintain VPN peers per address

Secure remote connections to multiple Home Assistant homes

Home Assistant Cloud is a better fit when

You have one home, you want remote access that is set up in a few minutes, and voice assistants matter to you. The official Nabu Casa Home Assistant Cloud is the turnkey option built for exactly that, and subscriptions directly fund Home Assistant development.

HomeTunnel is not trying to displace it. It exists for the multi-home and scoped-service case beside it.

Reaching Home Assistant from outside.

How do I connect to Home Assistant remotely?

There are four approaches in common use: Home Assistant Cloud from Nabu Casa, exposing Home Assistant through a router port-forward rule with DNS and TLS in front of it, running a VPN into the home network, or using a scoped overlay network that reaches only the services you nominate.

They differ mainly in what they expose and what you have to maintain. HomeTunnel is the fourth kind: the Home Assistant host on its own route, reached over WireGuard, with no inbound router rule.

What is the most secure way to access Home Assistant remotely?

Security here is mostly a question of surface area and of who holds the keys, rather than of one method being universally better. Publishing Home Assistant on a public port gives it the largest surface: anything on the internet can reach the login page. A VPN removes that, but a conventional VPN usually routes a whole subnet, so a compromised client reaches far more than Home Assistant.

HomeTunnel narrows the surface at both ends. There is no public endpoint to find, and a client device receives only the routes belonging to its home — the Home Assistant host on TCP 8123, plus any custom routes that home publishes. WireGuard private keys are generated on your devices and are not transmitted to HomeTunnel.

Does HomeTunnel expose my whole home network?

No. Home Assistant access is a single IPv4 address on a /32 route, reached on TCP port 8123. A home may add up to three custom routes beside it, each naming one IPv4 host and one TCP port.

There is no subnet option, so there is no general LAN access to grant.

Does my Home Assistant traffic go through HomeTunnel servers?

Not when a direct path is available. Your device and the home's routing add-on use NAT traversal to establish a peer-to-peer WireGuard connection whenever network conditions allow, and application traffic then does not pass through a HomeTunnel relay.

When a direct path is blocked, packets are forwarded through the open-source NetBird relay instead. They stay end-to-end WireGuard-encrypted and the relay cannot decrypt or read them.

Do I need a public IP address or a domain name?

No. No public IP, DNS record, dynamic-DNS service, or TLS certificate is required, because Home Assistant is not published to the internet.

Connections are established outbound from the home and from your devices, which is also what makes this work behind carrier-grade NAT.

Is HomeTunnel a replacement for Home Assistant Cloud?

No. For a single home, Home Assistant Cloud from Nabu Casa is the official turnkey option, it includes voice-assistant integrations, and subscriptions fund Home Assistant development.

HomeTunnel is aimed at people managing several homes, and at reaching specific non-Home-Assistant services inside those homes. The two are complementary.

What happens to my access if HomeTunnel is unavailable?

Existing peer-to-peer connections may continue operating during a temporary interruption. New connections, device coordination, enrollment, authorization changes, and route reconciliation require the HomeTunnel service to be available.

No online service can guarantee uninterrupted availability, and the control plane is a real dependency rather than one we would describe away.

What should I do if a device is lost or stolen?

Sign in to the HomeTunnel web app at my.hometunnel.io and revoke that device. Revoking it removes its network access to your homes.

Control plane, data plane, and what HomeTunnel cannot do →

Start your 14-day free trial.

Both plans start with a 14-day trial on monthly billing. Cancel anytime · no lock-in

Start your trial

Secure sign-in and account creation powered by Microsoft Entra. Opens in a new tab.