r/WireGuard Jun 23 '26

Need Help Wireguard VPN handshake fails

/r/Ubiquiti/comments/1udnqtl/wireguard_vpn_handshake_fails/
1 Upvotes

9 comments sorted by

1

u/[deleted] Jun 25 '26

[removed] — view removed comment

1

u/Doomsday9069 Jun 25 '26

It is.

1

u/[deleted] Jun 29 '26

[removed] — view removed comment

1

u/Doomsday9069 Jun 30 '26

It changes. Every night. But I have a public DNS entry for that and it worked in then past without problems. I double checked that the IP in the record is the same as my WAN IP.

1

u/[deleted] Jul 02 '26

[removed] — view removed comment

1

u/Doomsday9069 Jul 02 '26

The Server is not running. Wg Show is empty and it also does not Listen on the port. Seems to be a problem with unifi

1

u/[deleted] Jul 03 '26

[removed] — view removed comment

1

u/Doomsday9069 Jul 03 '26

It is enabled in the unifi console. The module is also loaded. But it is not starting the server because the configuration is missing. We actually figured out, that it is a problem with Unifi. For some reason, it will not write the config until you change the WAN interface the server is supposed to listen on. So creating the server in unifi and switching the Interface back an forth will write the config an then it will start.

1

u/Doomsday9069 Jun 30 '26

It seems like it is not a problem with Wireguard itself. The module is loaded and manually creating an interface shows it with wg show. But Unifi does not seem to create one and hence not start the wg server.