Wireguard client under Windows fails handshake, while Android works

Started by louis_nichols, July 03, 2025, 08:06:06 PM

Previous topic - Next topic
Hi,

I configured Wireguard in my OPNSense following these instructions:

https://docs.opnsense.org/manual/how-tos/wireguard-client.html

using IPv4 only. For Normalization, I set 1372.

I defined two peers using the Peer Generator. I use one with my Android phone, and the second is for Windows. In Windows, I copy-pasted the config from the peer generator, so there is no reason to suspect keys or anything.

And now, the Android client works, but the Windows client keeps showing

2025-07-03 19:27:42.550: [TUN] [My_Wireguard] Handshake for peer 1 (<edited>:57394) did not complete after 5 seconds, retrying (try 2).

Under the transfer counters, the Rx stays always at 0.

I've read some posts online that suggested modifying the MTU in the Windows peer. I tried several values, but none of them had any effect.

I am adding screenshots with part of my config to this post. I am not able to add more because of attachment limits. I will try to add the rest to a reply to this post.

Any ideas?


You cannot view this attachment.
You cannot view this attachment.
You cannot view this attachment.
You cannot view this attachment.


I am adding more screenshots of my config.
You cannot view this attachment.
You cannot view this attachment.
You cannot view this attachment.
You cannot view this attachment.


Please try and remove the peer from the list on the wg interface. save, edit wg interface again and add the windows peer. save again. I do not know why but it worked for me.