Carrier-grade NAT
Your router's WAN address is a private address shared with other subscribers, and the public address belongs to the ISP. There is nothing to forward a port to, and no hostname that will reach you.
Port forwarding is the traditional way to reach Home Assistant from outside the house: a rule on the router, a hostname pointing at your connection, and a certificate in front. For a growing number of connections it is not available at all, and for many people it is simply more exposure than they want.
This page explains what replaces it — outbound connections, NAT traversal, and an encrypted relay for the cases where a direct path cannot be found — and where the honest limits of that approach are.
A forwarding rule tells the router to send connections arriving on a particular public port to a particular machine inside the network. For Home Assistant that normally comes with three companions: a hostname that tracks your WAN address, TLS so the login page is not sent in the clear, and often a reverse proxy to terminate it.
It works, and it costs nothing. What it buys with that is exposure: your Home Assistant login page becomes reachable by anything on the internet, and keeping that surface patched becomes your responsibility. It also needs a connection that can be reached from outside, and a router whose forwarding table you control — two assumptions that hold less often than they used to.
Your router's WAN address is a private address shared with other subscribers, and the public address belongs to the ISP. There is nothing to forward a port to, and no hostname that will reach you.
An ISP gateway in front of your own router means a forwarding rule has to exist in both, and the outer one is often not yours to configure.
A managed building network, a rental, or a landlord's equipment. The device is on the network but the forwarding table is somebody else's.
Forwarding works, but the address moves. That brings in dynamic DNS as another moving part to keep alive at every property.
The rule works and you would still rather not have a Home Assistant login page answering the whole internet, with its patching on your shoulders.
Each additional property means another router, another rule, another hostname, and another certificate — including at houses you visit twice a year.
Both ends connect outward. The add-on inside the home and the app on your device each join that home’s isolated network using a short-lived, single-use, home-scoped setup key, and then use NAT traversal to negotiate a direct WireGuard path to each other.
Nothing listens for inbound connections from the internet, so there is no port to forward and no public endpoint to find. WireGuard private keys are generated on the devices and are not transmitted to HomeTunnel.
Where a direct path cannot be established, packets are forwarded through the open-source NetBird relay. They stay end-to-end WireGuard-encrypted, and the relay cannot read them.
Carrier-grade NAT is the case where this difference stops being a preference. Your router’s WAN interface holds a private address that the ISP shares between subscribers, and the public address belongs to the carrier. There is no address of yours for anyone to connect to, so a forwarding rule has nothing to forward and dynamic DNS has nothing useful to publish.
An outbound-established connection is unaffected by that, because it is started from inside the network — the same way every other connection from the house works. NAT traversal can often still negotiate a direct peer-to-peer path from behind CGNAT, and when it cannot, the encrypted relay carries the traffic instead.
Mobile data connections are usually in the same position, which is why a phone on a cellular network can reach a home it could never have port-forwarded to.
A direct path cannot be guaranteed. NAT, carrier-grade NAT, and restrictive firewalls can all force the encrypted relay fallback, and a network that blocks outbound traffic broadly can prevent a connection altogether. Nothing here defeats a firewall.
The control plane is a real dependency. Established peer-to-peer connections may continue during a temporary service interruption, but new connections, enrollment, authorization changes, and route reconciliation need the HomeTunnel service to be available.
And the add-on needs Home Assistant OS or Home Assistant Supervised. Container and Core installations cannot run add-ons, so they cannot be a home’s routing device.
Use a method where both ends make outbound connections instead of waiting for an inbound one. HomeTunnel does this: the open-source add-on inside the home and the app on your device each connect out to the Portal's coordination, then use NAT traversal to negotiate a direct WireGuard path to each other.
Because nothing is listening for inbound connections from the internet, there is no port to forward and no public endpoint for Home Assistant.
Not with port forwarding — behind carrier-grade NAT there is no public address of yours to forward from, so the traditional approach does not apply.
An outbound-established connection does work, because the connection is started from inside the network rather than from the internet. Where NAT traversal still cannot find a direct path, HomeTunnel falls back to the open-source NetBird relay, and the traffic stays end-to-end WireGuard-encrypted with the relay unable to read it.
No. No public IP, static IP, hostname, or dynamic DNS service is required, because Home Assistant is never published to the internet.
No, and it is worth being precise about that. Nothing here defeats a firewall — it relies on ordinary outbound connections being permitted, which is the default on most home and mobile networks.
A network that blocks outbound traffic broadly, or that blocks the paths NAT traversal needs, can prevent a direct connection. That is what the encrypted relay fallback exists for, and no method can guarantee a direct path on every network.
Packets are forwarded through the open-source NetBird relay instead. They remain end-to-end WireGuard-encrypted, and the relay forwards packets it cannot decrypt.
The app's home view shows whether the current connection is direct or relayed before you open Home Assistant.
The open-source HomeTunnel add-on, on a Home Assistant OS or Home Assistant Supervised instance. That instance is the home's routing device. Home Assistant Container and Core installations cannot run add-ons.
It pairs with the Portal using a time-limited pairing code that you confirm for the home you own, then joins that home's isolated network with a short-lived, single-use setup key. It does not hold administrator credentials for the network platform.
No. There is no public endpoint and no forwarded port, so Home Assistant is not reachable from the internet. It is reachable from the client devices enrolled in its home, over the tunnel, on its own route.
That route is the Home Assistant host on TCP 8123. A home may publish up to three additional host-and-port routes, and nothing else on the network becomes reachable.
Yes, and it is the main reason people reach for it. Each property is a separate home with its own isolated network, and none of them needs a router rule — including addresses where you have no administrative access to the router.
WireGuard without broad LAN routing, and no peer configuration to maintain by hand.
Read the guide →The common ways to reach Home Assistant from outside the house, compared honestly.
Read the guide →Set up remote access to multiple Home Assistant instances, with one account and isolated networks for each home.
Read the guide →Host-only routes for an NVR, NAS, camera interface or printer — one TCP port each.
Read the guide →Both plans start with a 14-day trial on monthly billing. Cancel anytime · no lock-in
Start your trialSecure sign-in and account creation powered by Microsoft Entra. Opens in a new tab.