-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Server Setup not possible without Preshared Key #34
Comments
Hey @okastl, thanks for bringing this up! I realized that not only should WS4W not require preshared keys (because they're optional, like you said), but the way they were configured was totally wrong. Instead of preshared keys being something you generate once for the server and copy to all clients, they should be generated uniquely for each client, and the server should be aware of each client's PSK (if any). This has been fixed in the latest release, v1.7.7. I verified that upgrades from pervious versions work fine too, but for anyone who had used the previous versions and configured multiple clients, it might be a good idea to go in again and generate new PSKs for each client; otherwise, they will all be using the same one. |
Hi, it is my understanding, that usage of a Preshared Key in server and client configuration is optional in Wireguard.
But I can't try it, as WireGuardServerForWindows doesn't allow to setup configuration without Preshared Key.
It would be nice, if Preshared Key could be optional.
The text was updated successfully, but these errors were encountered: