Closed omriasta closed 6 months ago
Hi @omriasta , this is not an issue for this add-on, rather you would like to find help for your needs. However... When you set AllowedIPs = 10.253.0.0/24 in your WireGuard client configuration, you are instructing the client to route only traffic destined for the 10.253.0.0/24 network through the VPN tunnel. This means that any traffic destined for other networks, such as your local network 192.168.0.0/24, will not be routed through the tunnel and instead will use the regular network interface. Since your local device has an IP address of 192.168.86.x and you are trying to reach devices in the 192.168.0.0/24 network, this traffic is not being routed through the WireGuard tunnel and is likely not being routed correctly on your local network either. You could modify the AllowedIPs setting to include both the VPN network and your local network but ensure that the WireGuard server is set up to correctly route traffic to the 192.168.0.0/24 network. Other "solution" as add a Static Route on the Client is forbidden because add-on structure is read-only.
Please read this help: https://github.com/bigmoby/addon-wireguard-client/issues/34#issuecomment-2109181459
Thanks @bigmoby that was very helpful, most of the issue was of course an oversight on my end being the server network was 192.168.1.0/24 and not 192.168.0.0/24 and I confused them. All working now!
Problem/Motivation
Having an issue pinging the WG server network from my homeassistant install. The WG server has a Lutron hub on subnet 192.168.0.0/24 I am unable to ping the 192.168.0.0/24 subnet from the terminal addon in Homeassistant. I was able to import the configuration from my server onto my own laptop and was able to ping the 192.168.0.0/24 subnet without an issue. I wish to be able to add the Lutron Caseta integration to my homeassistant even though they are at 2 different locations/networks. The homeassistant install is on 192.168.86.0/24 subnet.
Expected behavior
Expect to be able to reach the 192.168.0.0/24 subnet
Actual behavior
Unable to reach the subnet, the logs are filled with "nc: bind: Address in use"
Steps to reproduce
Configuration: Interface:
Peers:
Logs:
Proposed changes