Magnus Åhall
2ef2676b89
Some checks failed
Wireguard MFA Windows Agent build / release (push) Failing after 18s
|
||
---|---|---|
.gitea/workflows | ||
.gitignore | ||
go.mod | ||
go.sum | ||
main.go | ||
Makefile | ||
native.go | ||
README.md |
Installation
- Copy
wireguard-mfa.exe
toC:\Program Files\Gibon\
- Create the
C:\Program Files\Gibon\wg-spool\
directory and make sure users activating Wireguard tunnels have read- and write permissions to it. - 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
.
This directory is hosted on web01:/var/www/git.gibonuddevalla.se/cicd/
.