blob: 9b020b636a9f61e8e4127bfffa7349d6b75c48d9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# [WireGuard](https://www.wireguard.com/) for Windows
Nothing to see here yet. Come back later.
### Requirements
- [Wintun](https://git.zx2c4.com/wintun) (at runtime)
- [Go ≥1.12.2](https://golang.org/) (for compilation)
- [Mingw](http://www.mingw.org/) (for compilation)
### Building on Windows
The build script will take care of downloading, verifying, and extracting the right versions of Go, Mingw, and Patch.
```
C:\Projects> git clone https://git.zx2c4.com/wireguard-windows
C:\Projects> cd wireguard-windows
C:\Projects\wireguard-windows> build
```
### Building on Linux
You must first have Go and Mingw installed.
```
$ sudo apt install mingw-w64 golang-go
$ git clone https://git.zx2c4.com/wireguard-windows
$ cd wireguard-windows
$ make
```
### Running
After you've built the application, run `wireguard.exe` to install the manager service and show the UI.
```
C:\Projects\wireguard-windows> wireguard
```
### Signing Binaries
Add a file called `sign.bat` in the root of this repository with these contents, or similar:
```
set SigningCertificate=DF98E075A012ED8C86FBCF14854B8F9555CB3D45
set TimestampServer=http://timestamp.digicert.com
```
|