New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wireguard network unreachable from HA #209
Comments
There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues. |
Not sure if "stale" should be added to issues after a month already :) it is still happening with the current version (which is the same version as when opening the case :) |
@github-k8n are you able do a ping from server to peer and from peer to server? I want to use it in the same way but in my case I cannot ping peer from HA |
@pilek , neither can I. IIRC it only works from client to "server" (which is probably the wireguard addon). The other way from HA itself (SSH) to the client IP it says the network is unreachable. |
@github-k8n can you execute traceroute <peer_IP> ?? and show the output ? |
|
i cannot reach the esphome sensors which are in the subnet of the wireguard client. |
There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues. |
Hi, I made a command to fix this, you need to add to configuration.yaml sensor:
- platform: command_line
name: Wireguard addon internal IP
command: host_result=$(host a0d7b954-wireguard); addon_ip=${host_result##* }; ip route replace 172.27.66.0/24 via $addon_ip; echo $addon_ip It runs in HASS and adds the correct route, feel free to use it. Not sure if this could be achieved from the plugin itself. |
There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues. |
Problem/Motivation
Multiple devices within the local network should be accessed via wireguard (from home assistant)
Therefore a corresponding configuration with IPs in the 10.84.x.x range (local network does use 192.168.x.x) was created.
I can verify that the wireguard connection is up and running, ICMP echo requests (ping) from the device to the "server" wireguard IP get a reply and logs show that the peer is connected.
However when trying to add an rtsp camera on that IP I get a timeout and the following error:
Error from stream worker: Error opening stream (ERRORTYPE_101, Network unreachable) rtsp://10.84.0.2:1935/cam/1
Expected behavior
Possible to have connectivity between devices and HA via wireguard.
Actual behavior
Error, wireguard network seems to be unreachable from HA
The text was updated successfully, but these errors were encountered: