aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/README.md
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-02-25 18:08:53 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2019-02-25 18:09:08 +0100
commit492639fce95c50a9c48905a18863af1d35f69827 (patch)
treecb7d56666379b3a47e2cfc721017597fe9f1a129 /README.md
downloadwireguard-windows-492639fce95c50a9c48905a18863af1d35f69827.tar.xz
wireguard-windows-492639fce95c50a9c48905a18863af1d35f69827.zip
Initial scaffolding
Diffstat (limited to 'README.md')
-rw-r--r--README.md42
1 files changed, 42 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 00000000..dadee93d
--- /dev/null
+++ b/README.md
@@ -0,0 +1,42 @@
+# [WireGuard](https://www.wireguard.com/) for Windows
+
+Nothing to see here yet. Come back later.
+
+### Requirements
+
+ - [Go](https://www.golang.org) 1.11
+ - [rsrc tool](https://github.com/akavel/rsrc)
+ - [Wintun](https://git.zx2c4.com/wintun)
+
+
+### Clone
+
+This has a few submodules at the moment, so you'll need to clone recursively. While building (below) uses WSL, it's recommended that you still clone into Windows per usual.
+
+```
+$ cd Projects
+$ git clone --recursive https://git.zx2c4.com/wireguard-windows
+```
+
+### Building
+
+Currently a mess while we transition a few things, so you'll actually need to use WSL. Here are instructions for the latest Ubuntu from the Windows Store on WSL:
+
+```
+$ sudo add-apt-repository ppa:longsleep/golang-backports
+$ sudo apt update
+$ sudo apt install mingw-w64 make golang-go
+$ mkdir "$HOME/.go"
+$ export GOPATH="$HOME/.go"
+$ go get github.com/akavel/rsrc
+$ cd /mnt/c/Users/YourUsername/Projects/wireguard-windows
+$ make
+```
+
+### Running
+
+After you've built the application, run `wireguard.exe` to install the manager service and show the UI.
+
+```
+$ ./wireguard.exe
+```