Setup Windows Wireguard Server

Modified on Wed, 14 May at 2:28 PM

Download and install WgServerforWindows

https://github.com/micahmo/WgServerforWindows/releases


Open WS4W and do these steps

  • Download and install WireGuard
  • Edit server configuration
    • Name: Put a name for the WG Server
    • Allowed IPs: This becomes a default for the client, so you can limit it to the LAN
    • Endpoint: Either detect, or change it to a dynamic DNS
    • Address: These are the addresses given out to the clients
    • Private Key: Click generate
    • Public Key: Click generate
    • Save
  • Install tunnel service
  • Enable Persistent Internet Sharing
  • Enable Internet Sharing
    • Select the current LAN port of the computer (i.e. the port that has a LAN IP)
  • Configure Client
    • Name: Something descriptive
    • Address: Generate from Server
    • Private Key: Generate
    • Public Key: Generate
    • Preshared Key: Generate
    • Save and then Export configuration file or QR

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article