Closed northalpha closed 3 years ago
Hi @northalpha , thank you for reporting this issue but there's no default port identified as 42529 for Wireguard. I could suspect some misconfiguration in your environment instead. Please try to unistall, clean up all docker detached images and reinstall this add-on again.
sorry for that confusion. this was done. docker system prune
and reinstall the addon later i am having the same issue. the wrong udp port seems to be a red hearing, this was keep-alive packet from another device.
i have restarted the wg-server to have a clean start.
i can invoke a nc -uvz
inside the container and see a single UDP packet arriving at the wg server on that port but i do not see anything coming from the wg inside the container.
Hi @northalpha is this an emulated environment?
System: Home Assistant OS 6.6 (amd64 / qemux86-64)
If yes I suspect other kind of issue in your system because no other one reported this error.
Yes this is a VM on a libvirt/KVM running HassOS. Just for the sake of my own ease of mind i tried the keys on my mobile and had to come to the conclusion that i had mixed up the keys from client/server.
turns out: if you are using the correct keys, everything is working as expected. Now i have some internal routing issues but this is non of your business, thanks for this nice addon and sorry for the noise!
Problem/Motivation
i am trying to set up
wireguard-client
on HA and connecting to an WG Server with an non default port and no DNS Name.Config
wireguard-client Log
WG Server tcpdump
external ip: 1.2.3.4 (of courses NAT behind home router) wg-server ip: 5.6.7.8 wg-server port: 1194
This Setup ist working perfectly fine using ubuntu 20.04 something from the same network but other VM.
Troubleshooting from inside container
config files looks correct:
Expected behavior
Connection is possible
Actual behavior
wireguard-client
connecting to a different port42529
Steps to reproduce
Spawn an new WG server and using the non-default port
Proposed changes