OPNsense Forum

English Forums => Virtual private networks => Topic started by: louis_nichols on July 03, 2025, 08:06:06 PM

Title: Wireguard client under Windows fails handshake, while Android works
Post by: louis_nichols on July 03, 2025, 08:06:06 PM
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?


2025-07-03 19_31_23-WireGuard _ VPN _ opnsense.lan — Mozilla Firefox Private Browsing.png
2025-07-03 19_37_15-WireGuard _ VPN _ opnsense.lan — Mozilla Firefox Private Browsing.png
2025-07-03 19_36_19-WireGuard _ VPN _ opnsense.lan — Mozilla Firefox Private Browsing.png
2025-07-03 19_38_15-Assignments _ Interfaces _ opnsense.lan — Mozilla Firefox Private Browsing.png

Title: Re: Wireguard client under Windows fails handshake, while Android works
Post by: louis_nichols on July 03, 2025, 08:07:32 PM
I am adding more screenshots of my config.
2025-07-03 19_48_27-Document1 - Word.png
2025-07-03 19_44_12-Document1 - Word.png
2025-07-03 19_40_53-Document1 - Word.png
2025-07-03 19_50_16-Document1 - Word.png
Title: Re: Wireguard client under Windows fails handshake, while Android works
Post by: louis_nichols on July 03, 2025, 08:08:17 PM
And this is my Windows Config.