30 lines
1.1 KiB
Markdown
30 lines
1.1 KiB
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`. \
|
|
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/`. |