wireguard-mfa_windows/README.md

30 lines
1.1 KiB
Markdown
Raw Permalink Normal View History

2024-02-22 12:18:02 +01: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.
2024-02-22 12:32:25 +01:00
3. Apply the following registry file:
```
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\WireGuard]
"DangerousScriptExecution"=dword:00000001
"LimitedOperatorUI"=dword:00000001
```
2024-02-22 12:18:02 +01:00
Log file
========
If anything goes wrong, look in `C:\Program Files\Gibon\wg-spool\log.txt`.
2024-06-04 12:09:36 +02:00
Disable on specific machines
============================
2024-06-12 10:07:17 +02:00
Create a file named `C:\Program Files\Gibon\wg-spool\disabled` to disable opening of the browser window.
CI/CD
=====
2024-06-12 10:21:24 +02:00
Pushing a `v[number]` or a `build-[number]` tag will trigger a build on a runner-go instance.
2024-06-12 10:07:17 +02:00
The compiled binary will also be available on `https://git.gibonuddevalla.se/cicd/wireguard-mfa_[sha].exe`. \
2024-06-12 10:21:24 +02:00
A symlink will maintained to point to the latest build: `https://git.gibonuddevalla.se/cicd/wireguard-mfa_latest.exe`.
2024-06-12 10:07:17 +02:00
This directory is hosted on `web01:/var/www/git.gibonuddevalla.se/cicd/`.