OpenVPN client connected to HA server, but can't open Home Assistant

Hi all,

I recently started playing around with Home Assistant (version 0.103.6). I installed Home Assistant via python 3.6.3 on my Windows laptop (as I didn’t yet buy a Raspberry Pi and I’m still just testing). Also, I’m running an OpenVPN instance on my laptop for testing purposes.

With the above setup, I can succesfully connect my mobile phone over 4G to the OpenVPN instance. When connected to the VPN, I can also reach services that are hosted on my laptop. For instance, I was hosting a test http server (also with python) on my laptop via port 8000 and indeed when my mobile phone is connected to the VPN and I go to my browser on my mobile phone and go to http://<local_ip_of_laptop>:8000 I can reach that service and everything is working fine. However, when Home Assistant is running on the laptop via port 8123 and I’m on my mobile phone connected to the VPN and go in the browser to http://<local_ip_of_laptop>:8123 then I can not reach my Home Assistant.

I added firewall rules on my laptop that allow python as well as hass.exe to be reached (inbound and outbound rules). I don’t understand why I can’t reach my Home Assistant, because I should virtually be on the home network with my mobile phone. When my mobile phone is connected to WiFi (same network as laptop) I can reach HomeAssistant, also via browser, and everything is working fine.

Could anybody help me out here?

Thanks in advance!

Did you manage to solve this?

I have the exact same problem. My VPN client is able to access several machines on my network but not HA and anything under it (Node-Red, etc). I cant even ping HA. While I am in the same local network everything works fine.

Hi Vasco,

Unfortunately not. I did some looking around to find a solution, but couldn’t find one. To be honest I didn’t use Home Assistant after that, so maybe something changed in the meantime. Hope you can find a solution. Good luck!

Checking in, did you ever find a solution?

I’m having a similar issue – although I’m able to access literally everything related to home assistant (node red, ha-configurator, music assistant) over the vpn, just not the HA root webserver.

I can ever do API calls via http POST and GET requests over the vpn and it works no problem, it’s literally just the root webserver (http://x.x.x.x:8123/) that doesn’t work.