Pritunl client not connecting using wireguard protocol

I have installed pritunl server in Ubuntu 22.04 and installed pritunl client and wireguard in my windows machine.It works fine with Openvpn Protocol where as with wireguard its trying to create new adaptor and my machine gets disconnected i have to restart again to try .It gives handshake timeout error. Sharing the wireguard logs below . Could someone please assist me on this.

2024-09-17 16:40:07.274897: [TUN] [pritunl0] Creating adapter
2024-09-17 16:40:07.626866: [TUN] [pritunl0] Using WireGuardNT/0.10
2024-09-17 16:40:07.626866: [TUN] [pritunl0] Enabling firewall rules
2024-09-17 16:40:07.513768: [TUN] [pritunl0] Interface created
2024-09-17 16:40:07.641426: [TUN] [pritunl0] Dropping privileges
2024-09-17 16:40:07.642336: [TUN] [pritunl0] Setting interface configuration
2024-09-17 16:40:07.642934: [TUN] [pritunl0] Peer 1 created
2024-09-17 16:40:07.647406: [TUN] [pritunl0] Monitoring MTU of default v4 routes
2024-09-17 16:40:07.660032: [TUN] [pritunl0] Setting device v4 addresses
2024-09-17 16:40:07.647406: [TUN] [pritunl0] Interface up
2024-09-17 16:40:07.732530: [TUN] [pritunl0] Sending handshake initiation to peer 1 (13.88.100.33:19151)
2024-09-17 16:40:07.903948: [TUN] [pritunl0] Monitoring MTU of default v6 routes
2024-09-17 16:40:07.903966: [TUN] [pritunl0] Setting device v6 addresses
2024-09-17 16:40:07.905988: [TUN] [pritunl0] Warning: the “Wi-Fi” interface has Forwarding/WeakHostSend enabled, which will cause routing loops
2024-09-17 16:40:08.063197: [TUN] [pritunl0] Startup complete
2024-09-17 16:40:12.760282: [TUN] [pritunl0] Sending handshake initiation to peer 1 (10.80.10.35:19151)
2024-09-17 16:40:17.879388: [TUN] [pritunl0] Sending handshake initiation to peer 1 (10.80.10.35:19151)
2024-09-17 16:40:23.015129: [TUN] [pritunl0] Handshake for peer 1 (10.80.10.35:19151) did not complete after 5 seconds, retrying (try 2)
2024-09-17 16:40:23.015129: [TUN] [pritunl0] Sending handshake initiation to peer 1 (10.80.10.35:19151)
2024-09-17 16:40:28.184616: [TUN] [pritunl0] Handshake for peer 1 (10.80.10.35:19151) did not complete after 5 seconds, retrying (try 2)
2024-09-17 16:40:28.184724: [TUN] [pritunl0] Sending handshake initiation to peer 1 (10.80.10.35:19151)

Thanks

Run sudo wg show to check the status of the connection. WireGuard uses a different port than OpenVPN verify the firewall has both open.

Hello Zach

Thank you for your reply

interface: wgh0

interface: wg4
public key: wfrengrgorgrfhnthtdsngrngrgrfbfb
private key: (hidden)
listening port: 19151

It gives me the above result… Yes port 19151 ,443, 19150,80 are open

If it doesn’t show any handshakes and sudo wg show all latest-handshakes also doesn’t show any it’s the WireGuard connection that isn’t working. It is most likely either a firewall or network issue. Reducing the mtu to 1300 in the Pritunl server settings may work.

Set the mtu to 1300 but still same issue .For wireguard everytime the WG virtual network won’t get created and gets handshake timeout error.

I am using Virtual Network address 192.168.222.0/24 and my WG Virtual Network is 192.168.223.0/24 …

I tested in mac it works and it works in linux as well .Its Just doesn’t work in Windows.

My firewalls looks correct as they are working in linux and Mac. Could you please assist what else we need to do in Windows.
Do we need to activate Wireguard in client as well in windows.?
Here is my wg handshakes
wg9 dfr1orMcZfkWf6kSfqd4F2aRl3CWPmk5YfPYJ66cZxk= 0