LightYourWay / wireguard-tools-windows

An easy to use windows only version of wireguard-tools build with TypeScript on deno.
MIT License
6 stars 2 forks source link

wireguard-tools-windows

An easy to use windows only version of wireguard-tools build with TypeScript on deno.

install

automatic install

The following command can be executed in a non elevated powershell window (copy, paste, enter) and will automatically download and install the tool.

(-NOT (iwr https://github.com/LightYourWay/wireguard-tools-windows/releases/download/v0.9.1/wg-quick.exe -OutFile wg-quick.exe)) -and (.\wg-quick.exe --install)

build on windows

(New-Item -ItemType Directory -Force -Path ./build) -and (deno compile --allow-read --allow-write --allow-run --allow-env --unstable --target x86_64-pc-windows-msvc --output ./build/wg-quick ./src/wg-quick.ts)

build on linux

mkdir -p build && deno compile --allow-read --allow-write --allow-run --allow-env --unstable --target x86_64-pc-windows-msvc --output ./build/wg-quick ./src/wg-quick.ts