networking:misc:wireguard_01
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| networking:misc:wireguard_01 [2021/12/17 10:03] – created rplecko | networking:misc:wireguard_01 [2025/03/17 16:37] (current) – sysadmin | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| === Setting WireGuard Client for non administrative accounts === | === Setting WireGuard Client for non administrative accounts === | ||
| - | |||
| To make the WireGuard windows app better (for non-admin users) you need to make your user(s) a member of the //" | To make the WireGuard windows app better (for non-admin users) you need to make your user(s) a member of the //" | ||
| Line 6: | Line 5: | ||
| This allows you enable/ | This allows you enable/ | ||
| - | Here's the powershell code to do that: | + | Here's the powershell code to do that (run PowerShell as administrator): |
| + | |||
| + | < | ||
| + | New-ItemProperty " | ||
| + | |||
| + | </ | ||
| + | |||
| + | Or you can do it from command prompt: | ||
| + | < | ||
| + | reg add HKLM\Software\WireGuard /v LimitedOperatorUI /t REG_DWORD /d 1 /f | ||
| + | </ | ||
| + | |||
| + | When this key is set to DWORD(1), the UI will be launched on desktops of users belonging to the Network Configuration Operators builtin group (S-1-5-32-556), | ||
| + | |||
| + | * Configurations are stripped of all public, private, and pre-shared keys; | ||
| + | * No version update popup notifications are shown, and updates are not permitted, though a tab still indicates the availability; | ||
| + | * Adding, removing, editing, importing, or exporting configurations is forbidden; and | ||
| + | * Quitting the manager is forbidden. | ||
| + | |||
| + | |||
| + | Add user to the group (replace " | ||
| + | Here's the powershell code to do that (run PowerShell as administrator): | ||
| + | < | ||
| + | Add-LocalGroupMember -Group " | ||
| + | |||
| + | </ | ||
| + | |||
| + | **HKLM\Software\WireGuard\DangerousScriptExecution** | ||
| + | |||
| + | When this key is set to DWORD(1), the tunnel service will execute the commands specified in the //PreUp, PostUp, PreDown//, and // | ||
| + | |||
| + | reg add HKLM\Software\WireGuard /v DangerousScriptExecution /t REG_DWORD /d 1 /f | ||
| + | |||
| + | |||
| + | * [[: | ||
| + | |||
| + | https:// | ||
| - | New-ItemProperty " | ||
| - | Add-LocalGroupMember -Group " | ||
networking/misc/wireguard_01.1639735409.txt.gz · Last modified: 2021/12/17 10:03 by rplecko
