Wireguard on Windows
dt: | 2020-03-06 |
---|---|
licence: | CC-BY |
Introduction
Use wireguard as a server (multi client endpoint) on MS Windows OS
Based on excellent how-to on henrychang.ca
This package tries to simplify the config and setup needed to run wireguard as a server on windows, into a start and stop script
Reference
Install
- Download and Install latest windows package from wireguard, at: https://download.wireguard.com/windows-client/
- Copy (or git clone) repo files into, say,
C:\wireguard\
- Update configuration files and batch scripts
- wg0_server.conf -- your server's adapter / interface config
- note: name of file becomes adapter name (without '.conf')
- wireguard_start.bat
- wireguard_stop.bat
- You may test drive the config in 'wg0_server.conf' by importing with the wireguard GUI and activating.
Usage
- Start server with batch script 'wireguard_start.bat'
- Stop server with batch script 'wireguard_stop.bat'
- Note: Batch scripts need to be run with administrator privilege
Deployment
May setup scheduled task(s) to run start/stop batch script
BUGS
refer: known_bugs.rst
Licence
https://opensource.org/licenses/MIT with Copyright 2020 H.R.Coles