26 lines
982 B
Markdown
26 lines
982 B
Markdown
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`. \
|
|
This directory is hosted on `web01:/var/www/git.gibonuddevalla.se/cicd/`. |