-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
userspace_networking needs to be enabled and disabled to allow for peer to peer connections #462
Comments
Accept dns, accept routes, taildrop are enabled by default. Enable + disable: yeah, sadly this is a HA UI (!!!) bug, it shows unused, undefined options as disabled instead of grayed out, when you enable it, only then inserts it into the YAML, save, then you can disable it, save, restart... This UI bug is known for years... I never use the UI for configuration editing, I always edit the YAML. We should add after each option, that "don't use the UI editor, edit the yaml", but I think that wouldn't be merged. Docs: There are a few open PR-s to update the docs, you can see the planned version below. Please check, what's left out, because as a first time user, you can spot bugs in it, that we never notice. And the DNS (referenced in this doc) is a long story: #455 Option:
|
I think this works for the docs section. I'm a PM for a developer platform by day. After searching for how to make this work for hours and reading all kinds of forums, I think it be helpful to have a guide for the most common use cases that just tells you what to do. Connecting two HA instance in different networks seems to be a common thing. So I'd just add a section for this and put the config in there to copy paste. I'm happy to open a PR if you tell me where this docs should live. |
Disclaimer: I'm just a contributor for this add-on, though contributed a lot. If I understand correctly, you wanted to disable userspace networking, a few clicks, and it should work, but didn't... And a long battle started... Solutions:
|
Desc
I setup tailscale for a peer to peer connection between to HA devices to be able to use Remote HomeAssistant.
Even when seeing both instance connected in the tailscale dashboard, I was not able to ping the internal IPs from within the HA terminal.
I needed to enable and then disable the
userspace_networking
.See post where I found this: https://community.home-assistant.io/t/remote-access-to-two-ha-instances/424162/19
After I've done this, I can ping the other instance directly. Final configuration:
I also think the documentation would benefit from a section on how to connect two different HA instance with the settings from above.
State
Tailscale version: 0.24.0
The text was updated successfully, but these errors were encountered: