AceRimmer Posted January 29, 2021 Share Posted January 29, 2021 (edited) 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, 2021 by CatMilk Marking topic as solved Quote Link to comment
rachid596 Posted January 29, 2021 Share Posted January 29, 2021 Hello, Maybe try to enable access to lan like the picture Quote Link to comment
AceRimmer Posted January 30, 2021 Author Share Posted January 30, 2021 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." Quote Link to comment
rachid596 Posted January 30, 2021 Share Posted January 30, 2021 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 Quote Link to comment
AceRimmer Posted January 30, 2021 Author Share Posted January 30, 2021 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? Quote Link to comment
rachid596 Posted January 30, 2021 Share Posted January 30, 2021 Sorry i can't help you. Maybe add route in Settings network Envoyé de mon HD1913 en utilisant Tapatalk Quote Link to comment
AceRimmer Posted February 1, 2021 Author Share Posted February 1, 2021 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. Quote Link to comment
northirid Posted May 22, 2021 Share Posted May 22, 2021 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? Quote Link to comment
AceRimmer Posted May 22, 2021 Author Share Posted May 22, 2021 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. Quote Link to comment
PlanetDyna Posted November 14, 2022 Share Posted November 14, 2022 (edited) 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, 2022 by PlanetDyna Quote Link to comment
jfoxwoosh Posted November 16, 2022 Share Posted November 16, 2022 (edited) @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, 2022 by jfoxwu Quote Link to comment
Hoopster Posted November 16, 2022 Share Posted November 16, 2022 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? Quote Link to comment
PlanetDyna Posted November 17, 2022 Share Posted November 17, 2022 Thank you very much! Quote Link to comment
Recommended Posts
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.