How to Setup Wireguard VPN Server On Windows
This tutorial goes through the process of setting up a Wireguard server on Windows. Most Wireguard tutorials on the internet only give you the choice of hosting a server in a Linux environment. However, it is very possible to setup a windows server.
After searching for a tutorial to no avail, I spent a couple days to figure out the best way to do it and how to automate the process. Ideally you would still want to run it in an Linux environment, but if you have a use case for a windows server like me, you would appreciate just how flexible Wireguard is!
Prerequisite
- Latest Wireguard Windows Client installed (Download here from official site)
- Setup firewall rules (just as you would for a Linux server setup: open and forward ports 51820, configure ddns etc)
Disclaimer
Using Wireguard on Windows as server is not officially supported. Use at your own risk.