Home Assistant Community Add-on: ZeroTier One

FYI for Community.
Per ZeroTier Support here are the implications of the ZT One connection options:

allowManaged – If true, ZT-managed IPs and routes are assigned (default on)
allowGlobal – If true, ZT-managed IPs and routes can overlap public IP space (def off)
allowDefault – If true, network can override system default route (full tunnel) (def off)

Aha, yes I get this, but I don’t understand why all my ESPhome devices, Yeelight light and Google Home stopped connecting to WiFi.

On static route I guess I need to use the option LAN

Hi, so I am trying again. I did everything as you said, and I think that the problem is is the static route. I tried both LAN or WAN option but it does not work (BTW with the static route set all my WiFi devices stop connecting to the router, very strange)

Do you have any idea if I should put something in METRIC (I put nothing) ?

Please describe how you are testing and what “does not work”.

:tada: v0.3.0

Full Changelog

This add-on upgrades the internals of the add-on.
No breaking changes.

Changed

  • :arrow_up: Upgrades linux-headers to 4.19.36-r0
  • :arrow_up: Upgrades git to 2.22.0-r0
  • :arrow_up: Upgrades add-on base image to v4.0.1
  • :pencil2: Maintaince -> Maintenance
  • :sparkles: Adds FUNDING.yml

Questions? Join our Discord server! https://discord.me/hassioaddons
Enjoying my add-ons? Consider supporting my work: https://patreon.com/frenck

I had the same issues. I just found a way to enable all my LAN devices for ZeroTier access via this addon. I wrote down my way of achieving this here:

2 Likes

Hey guys,

I have hassio with Zero Tier addon running but I can’t access the frontend through the zero tier “vpn”.
SSH (Port 22) and Pi-hole work fine but when I try to go to zerotier_address.ip:8123 (192.168.192.10:8123) the page just keeps loading and I don’t know why.

I’ve also scanned the ports of the hassio instance over zero tier and 8123 is open.

the log of the zero tier addon seems fine:

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-banner.sh: executing... 

 Add-on version: 0.3.0
 You are running the latest version of this add-on.
 System: HassOS 2.12  (armv7 / raspberrypi3)
 Home Assistant version: 0.95.4
 Supervisor version: 167

[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing... 
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] zerotier.sh: executing... 
[22:49:43] INFO: ZeroTier node address: ##########
[22:49:43] INFO: Configuring network: ################
[cont-init.d] zerotier.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[22:49:44] INFO: Starting ZeroTier One...

Anybody an idea?

:tada: Release v0.3.1

Full Changelog

This is a maintenance release.

Changed

  • :arrow_up: Upgrades add-on base image to v4.0.2

Questions? Join our Discord server! https://discord.me/hassioaddons
Enjoying my add-ons? Consider supporting my work: https://patreon.com/frenck

:tada: Release v0.3.2

Full Changelog

This is a maintenance release.

Changed

  • :arrow_up: Upgrades add-on base image to v4.0.3

Questions? Join our Discord server! https://discord.me/hassioaddons
Enjoying my add-ons? Consider supporting my work: https://patreon.com/frenck

:tada: Release v0.4.0

Full Changelog

This release upgrades ZeroTier One to v1.4.0.1

Changed

  • :arrow_up: Upgrades ZeroTier One to v1.4.0.1

Questions? Join our Discord server! https://discord.me/hassioaddons
Enjoying my add-ons? Consider supporting my work: https://patreon.com/frenck

:tada: Release v0.4.1

Full Changelog

This is a general maintenance release.

Changed

  • :arrow_up: Upgrades ZeroTier One to v1.4.2

Questions? Join our Discord server! https://discord.me/hassioaddons
Enjoying my add-ons? Consider supporting my work: https://patreon.com/frenck

1 Like

Necroing a dead thread here.

I’ve installed the the add-on and it’s connecting to Zerotier and appearing in my Central control panel but it’s not getting an IP on the network. My iPhone is so everything seems to be set up right.

Am I missing something important?

:tada: Release v0.4.2

Full Changelog

This is a general maintenance release.

Changed

  • :arrow_up: Upgrades add-on base image to v4.1.1

Questions? Join our Discord server! https://discord.me/hassioaddons
Enjoying my add-ons? Consider supporting my work: https://patreon.com/frenck

Thank you!
Everything is working here.
I wanted to integrate Google Home Assistant + Home Assistant using ZeroTier.
Can I do that?
I cannot perform port forwarding on my router.
I wanted to integrate my Home Assistant with Google home Assistant.

I do t think you can do that. Nabu Casa will be your solution.

:tada: Release v0.4.3

Full Changelog

This is a general maintenance release.

Changed

  • :arrow_up: Upgrades ZeroTier One to 1.4.4

Questions? Join our Discord server! https://discord.me/hassioaddons
Enjoying my add-ons? Consider supporting my work: https://patreon.com/frenck

:tada: Release v0.5.0

Full Changelog

This is a general maintenance release.

Changed

  • :arrow_up: Upgrades ZeroTier One to 1.4.6
  • :arrow_up: Upgrades add-on base image to v5.0.1
  • :fire: Removes secrets resolving, now handled by Hassio

Questions? Join our Discord server! https://discord.me/hassioaddons
Enjoying my add-ons? Consider supporting my work: https://patreon.com/frenck

:tada: Release v0.5.1

Full Changelog

This is a general maintenance release.

Changed

  • :arrow_up: Upgrades add-on base image to v5.0.2

Questions? Join our Discord server! https://discord.me/hassioaddons
Enjoying my add-ons? Consider supporting my work: https://patreon.com/frenck

:tada: Release v0.6.0

Full Changelog

This is a general maintenance release.

Changed

  • :fireworks: Updates maintenance/license year to 2020
  • :books: Adjust add-on installation instructions
  • :pencil2: Funding adjustments
  • :pencil2: Fixes some spelling and grammar
  • :arrow_up: Upgrades add-on base image to v6.0.1
  • :arrow_up: Upgrades git to 2.24.1-r0
  • :arrow_up: Upgrades libgcc to 9.2.0-r3
  • :pencil2: Fixes some spelling and grammar
  • :ambulance: GCC 9.0 compatibility patch, since armv5 has been removed

Questions? Join our Discord server! https://discord.me/hassioaddons
Enjoying my add-ons? Consider supporting my work:
https://github.com/sponsors/frenck or https://patreon.com/frenck

I am kinda thinking in a solution for ISP with double NAT in which the ISP is does not help at all.

Maybe you could provide a better insight on whether something like this would work:

Basically receive all the traffic in a cloud VM with a reverse proxy, then forward all that traffic through ZeroTier network to a local HA instance with the ZeroTier add-on.
In this case the HA instance wouldn’t need any port forwarding or open ports on router.

Internet <-> Cloud VM w/reverse proxy and ZeroTier <-ZeroTier network-> Local HA Instance.

Would this work? Not experienced with ZeroTier.