January 29, 20215 yr I have Home Assistant Core running as a VM (192.168.0.37) and i also have WireGuard VPN running on the Unraid server. I can't get the HomeAssistant app that runs on my mobile to connect to my Home Assistant Core VM when away from home while im running WireGuard VPN on the phone. I presume this is a static route issue since WireGuard is running on 10.253.0.0 and my Home Network & HomeAssistant is on 192.168.0.0. My crappy home router doesn't have any option to set up static routes or vlans or anything advanced. Is there a way within Unraid to get these two networks talking to each other or is my only option a router upgrade or some kind of Frankenstein Pfsense Unraid VM setup. Bare with me, i am not a a network guy so some terminology may be incorrect. Edited May 22, 20215 yr by CatMilk Marking topic as solved
January 30, 20215 yr Author 3 hours ago, rachid596 said: Hello, Maybe try to enable access to lan like the picture No, that doesn't work. "Unable to connect to Home Assistant. There was an error loading Home Assistant, please review the connection settings and try again."
January 30, 20215 yr No, that doesn't work. "Unable to connect to Home Assistant. There was an error loading Home Assistant, please review the connection settings and try again."Very strange. Try to delete cache and restart everything. Envoyé de mon HD1913 en utilisant Tapatalk
January 30, 20215 yr Author 13 hours ago, rachid596 said: Very strange. Try to delete cache and restart everything. Envoyé de mon HD1913 en utilisant Tapatalk No. That doesn't fix it. I can reach my Docker containers just fine. Sonarr, Lidarr, Radarr, Emby etc no problem on either VPN type below remote tunneled access remote access to lan But i can't ping my Home Assistant Core VM server from my mobile over either of the above VPN types. On wireguard on the right side my screen is the below message: Quote Remark: docker containers on custom networks need static routing 10.253.0.0/24 to 192.168.0.214 So my Dockers are getting around this with the Unraid Docker "macvlan" network but is there a work around or a "macvlan" style of config for a VM?
January 30, 20215 yr Sorry i can't help you. Maybe add route in Settings network Envoyé de mon HD1913 en utilisant Tapatalk
February 1, 20215 yr Author I'm going to mark this topic as solved. If anyone ever finds this post and is wondering what my solution was it was to use DuckDNS + LetsEncrypt on the Home Assistant VM. I can access the HA server with the DuckDNS url on the mobile app and it signs in over SSL.
May 22, 20215 yr On 2/2/2021 at 8:39 AM, CatMilk said: I can access the HA server with the DuckDNS url on the mobile app and it signs in over SSL. Sorry to drag this up after so long, I'm just now trying to do the same thing. The way I read this, you're just opening access from the outside? Or are you still connected to wireguard and accessing the HA VM via hostname?
May 22, 20215 yr Author 2 hours ago, northirid said: Sorry to drag this up after so long, I'm just now trying to do the same thing. The way I read this, you're just opening access from the outside? Or are you still connected to wireguard and accessing the HA VM via hostname? I am not using wireguard to connect to the virtual machine. I am only using DuckDNS. My virtual machine is forwarding to an outside port which points to my DuckDNS URL and this is how I login to home assistant outside of my LAN. It works perfectly. If you search on YouTube for "DuckDNS Letsencrypt Home Assistant" you can see how it is done.
November 14, 20223 yr I run into the same problem. Wireguard VPN tells me: Remark: configure your router with a static route of 10.8.0.0/24 to 192.168.12.151 What is wrong? Edited November 14, 20223 yr by PlanetDyna
November 16, 20223 yr @PlanetDyna take a look at the Complex Networks section of this guide. If unraid wiregurad setting UI is telling you to setup static route, then you will have to make some changes accordingly. Edited November 16, 20223 yr by jfoxwu
November 16, 20223 yr On 11/14/2022 at 8:09 AM, PlanetDyna said: Wireguard VPN tells me: Remark: configure your router with a static route of 10.8.0.0/24 to 192.168.12.151 What is wrong? In my router (Ubiquiti USG), the static route configuration looks like this with WireGuard network as Destination Network and unRAID IP address as Next Hop: In fact, I have three different instances of WireGuard on my LAN each with a static route. Is the configuration screenshot from your router a static route or is it some other kind of routing rule?
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.