#WireGuard leads to local connection loss

1 messages · Page 1 of 1 (latest)

void ibex
#

Hey there,

I have recently set up WireGuard VPN with DuckDNS on a HomeAssistant Green and I have the following issue.

When I establish the VPN connection everything works exactly as it should but after some time / traffic sent (usually a matter of seconds or minutes) the HA instance looses local connectivity.

This means that it is no longer reachable locally (and therefore of course the VPN won’t work anymore as well). The only way to recover from this state is to either reboot HA or replug the Ethernet cable.

What I’ve figured / tried out so far:

HA is not crashing and continuous to work fine (apart from the connectivity issue)
Changing the MTU does not fix the issue
It does not matter where the VPN traffic goes (locally or the Internet)
Using the network info on the CLI does not show any changes when the issue occurs

Did someone experience a similar issue or has some ideas on how to debug this further?

elfin prairie
#

I'm a total noob and, in fact, here to chase my own ghosts with Wireguard and HA (unsuccesfully). In any case, there's two things I'd try if I were you.

#
  1. I'd take a look at the router/firewall... what happens when you lose connectivity?
#
  1. Maybe try using a mobile phone hotspot to create a small (W)LAN with your HA and a PC in it and see what happens then. You'd probably need a WiFi dongle for the HA device (from what I've seen on the product page, it doesn't have WiFi) or maybe you could "tether" your phone to it via USB.
#

Just so you see if the problem is with the HA apliance or is it in/with your other network equipment.