42

I had to add this:

http:
  use_x_forwarded_for: true
  trusted_proxies:
    - 127.0.0.1

to config, but overall it's very useful article.

top 6 comments
sorted by: hot top new old
[-] stsquad@lemmy.ml 3 points 2 years ago

I tried all sorts of port forwarding tricks to get wireguard working on the VM that runs my HA instance to no avail. The trailscale solution works really well. The only real problem I had was magic DNS conflicts with DNS66 on my phone (which I use for ad blocking). In the end I just used a hardwired VPN IP for my HA connection.

[-] SethranKada@lemmy.ca 2 points 2 years ago

Thank you for bringing this to my attention! I just enabled it, and it's working flawlessly.

[-] Lifebandit666@feddit.uk 2 points 2 years ago

I did this a while ago. The useful thing (and I don't know if it's covered in the blog because I didn't read it) is setting it up as an exit node.

This is useful because I have other things on my network that I wanna access, like my server, and with the exit node I can type Lan IP addresses into my browser while I'm outside the house and still access them, not just HA

[-] starman@programming.dev 2 points 2 years ago

You have to use tailscale VPN for this, right? The article explains how to setup access to HA via the internet, without using tailscale client.

Anyway, the exit node thing is indeed very nice.

[-] Lifebandit666@feddit.uk 1 points 2 years ago

I've just clicked into the article and no, it's set up the same way as I have, except I set HA as an exit node in the Tailscale console.

[-] brownmustardminion@lemmy.ml 1 points 2 years ago

Do you need to use tailscales server for anything (like certs)?

I want to try to set up a network but prefer keeping everything 100% self-hosted.

this post was submitted on 01 May 2024
42 points (95.7% liked)

homeassistant

20441 readers
15 users here now

Home Assistant is open source home automation that puts local control and privacy first.
Powered by a worldwide community of tinkerers and DIY enthusiasts.

Home Assistant can be self-installed on ProxMox, Raspberry Pi, or even purchased pre-installed: Home Assistant: Installation

Discussion of Home-Assistant adjacent topics is absolutely fine, within reason.
If you're not sure, DM @GreatAlbatross@feddit.uk

founded 3 years ago
MODERATORS