dt: | 2020-03-06 |
---|---|
licence: | CC-BY |
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
- 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.
- 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
May setup scheduled task(s) to run start/stop batch script
refer: known_bugs.rst
https://opensource.org/licenses/MIT with Copyright 2020 H.R.Coles