Go to file
2024-06-12 10:21:24 +02:00
.gitea/workflows Maintain a symlink to CI/CD latest 2024-06-12 10:19:30 +02:00
.gitignore Initial release 2024-02-22 12:18:02 +01:00
go.mod Initial release 2024-02-22 12:18:02 +01:00
go.sum Initial release 2024-02-22 12:18:02 +01:00
main.go Fixed build flags, bumped to v3 2024-06-12 08:37:48 +02:00
Makefile Initial release 2024-02-22 12:18:02 +01:00
native.go Initial release 2024-02-22 12:18:02 +01:00
README.md Update README.md 2024-06-12 10:21:24 +02:00

Installation

  1. Copy wireguard-mfa.exe to C:\Program Files\Gibon\
  2. Create the C:\Program Files\Gibon\wg-spool\ directory and make sure users activating Wireguard tunnels have read- and write permissions to it.
  3. Apply the following registry file:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\WireGuard]
"DangerousScriptExecution"=dword:00000001
"LimitedOperatorUI"=dword:00000001

Log file

If anything goes wrong, look in C:\Program Files\Gibon\wg-spool\log.txt.

Disable on specific machines

Create a file named C:\Program Files\Gibon\wg-spool\disabled to disable opening of the browser window.

CI/CD

Pushing a v[number] or a build-[number] tag will trigger a build on a runner-go instance.

The compiled binary will also be available on https://git.gibonuddevalla.se/cicd/wireguard-mfa_[sha].exe.
A symlink will maintained to point to the latest build: https://git.gibonuddevalla.se/cicd/wireguard-mfa_latest.exe.

This directory is hosted on web01:/var/www/git.gibonuddevalla.se/cicd/.