### Build Installer Source: https://github.com/amnezia-vpn/amneziawg-windows-client/blob/master/docs/buildrun.md Navigate to the 'installer' directory and run the build script to create the application installer. This script manages dependency downloads and extraction. ```text C:\Projects\amneziawg-windows-client> cd installer C:\Projects\amneziawg-windows-client\installer> build ``` -------------------------------- ### Run AmneziaWG Windows Client Source: https://github.com/amnezia-vpn/amneziawg-windows-client/blob/master/docs/buildrun.md Execute the compiled application to install the manager service and launch the user interface. Choose between the 64-bit or 32-bit executable. ```text C:\Projects\amneziawg-windows-client> amd64\amneziawg.exe ``` -------------------------------- ### Build AmneziaWG Windows Client from Linux Source: https://github.com/amnezia-vpn/amneziawg-windows-client/blob/master/docs/buildrun.md Install necessary dependencies (Mingw, ImageMagick) on Linux, clone the repository, and use 'make' to build the Windows client. This is an alternative to building on Windows. ```text $ sudo apt install mingw-w64 imagemagick $ git clone https://github.com/amnezia-vpn/amneziawg-windows-client $ cd amneziawg-windows-client $ make ``` -------------------------------- ### Install AmneziaWG Manager Service Source: https://github.com/amnezia-vpn/amneziawg-windows-client/blob/master/docs/enterprise.md Use this command to install the AmneziaWG manager service silently. This creates a service named 'AmneziaWGManager'. ```text > amneziawg /installmanagerservice ``` -------------------------------- ### Install Tunnel Service Source: https://github.com/amnezia-vpn/amneziawg-windows-client/blob/master/docs/enterprise.md Installs a WireGuard tunnel service using a configuration file. The service will be named AmneziaWGTunnel$myconfname. ```bash > amneziawg /installtunnelservice C:\path\to\some\myconfname.conf ``` -------------------------------- ### Prepare Localization Files and Build Source: https://github.com/amnezia-vpn/amneziawg-windows-client/blob/master/docs/buildrun.md Set the GoGenerate environment variable to 'yes' and run the build script to prepare the initial localization message file. Then, copy the generated output to the messages file. ```text C:\Projects\amneziawg-windows-client> set GoGenerate=yes C:\Projects\amneziawg-windows-client> build C:\Projects\amneziawg-windows-client> copy locales\\out.gotext.json locales\\messages.gotext.json ``` -------------------------------- ### Configure Signing Binaries Source: https://github.com/amnezia-vpn/amneziawg-windows-client/blob/master/docs/buildrun.md Define the signing provider and timestamp server by creating a 'sign.bat' file in the repository root. This is a prerequisite for signing binaries. ```text set SigningProvider=/sha1 8BC932FDFF15B892E8364C49B383210810E4709D set TimestampServer=http://timestamp.entrust.net/rfc3161ts2 ``` -------------------------------- ### Deploy AmneziaWG Windows Client from Linux Source: https://github.com/amnezia-vpn/amneziawg-windows-client/blob/master/docs/buildrun.md Use the 'make deploy' target to deploy the 64-bit build to a specified SSH host and remote directory. Environment variables DEPLOYMENT_HOST and DEPLOYMENT_PATH can be used to customize the deployment target. ```text $ make deploy ``` -------------------------------- ### Create Localization Directory Source: https://github.com/amnezia-vpn/amneziawg-windows-client/blob/master/docs/buildrun.md Create a new directory within the 'locales' folder to house translations for a specific language. Replace '' with the appropriate language identifier. ```text C:\Projects\amneziawg-windows-client> mkdir locales\ ``` -------------------------------- ### Clone and Build AmneziaWG Windows Client Source: https://github.com/amnezia-vpn/amneziawg-windows-client/blob/master/docs/buildrun.md Clone the repository and execute the build script to compile the AmneziaWG Windows client. This process handles dependency downloads and verification. ```text C:\Projects> git clone https://github.com/amnezia-vpn/amneziawg-windows-client C:\Projects> cd amneziawg-windows-client C:\Projects\amneziawg-windows-client> build ``` -------------------------------- ### Build awg(8) Support for Windows from Linux Source: https://github.com/amnezia-vpn/amneziawg-windows-client/blob/master/docs/buildrun.md Clone the amneziawg-tools repository and use the 'build' script to compile the 'awg(8)' command-line utility. This utility is used to interact with AmneziaWG instances. ```text $ git clone https://github.com/amnezia-vpn/amneziawg-tools $ cd amneziawg-tools $ build ``` -------------------------------- ### Set UI Language using Registry Source: https://github.com/amnezia-vpn/amneziawg-windows-client/blob/master/docs/userregistry.md This command adds or updates the 'Language' registry value under HKCU\Software\AmneziaWG to set the client's display language. Use supported language codes. ```powershell reg add HKCU\Software\AmneziaWG /v Language /t REG_SZ /d "en" /f ``` -------------------------------- ### Enable Dangerous Script Execution Source: https://github.com/amnezia-vpn/amneziawg-windows-client/blob/master/docs/adminregistry.md Sets the 'DangerousScriptExecution' registry key to allow the tunnel service to execute commands defined in tunnel configuration options (PreUp, PostUp, PreDown, PostDown). Scripts run as Local System and have high privileges. ```powershell > reg add HKLM\Software\AmneziaWG /v DangerousScriptExecution /t REG_DWORD /d 1 /f ``` -------------------------------- ### Tail Diagnostic Logs for Ingestion Source: https://github.com/amnezia-vpn/amneziawg-windows-client/blob/master/docs/enterprise.md Continuously tails the diagnostic logs, piping them to another process for real-time ingestion by logging services. ```text > amneziawg /dumplog /tail | log-ingest ``` -------------------------------- ### Dump Diagnostic Logs to File Source: https://github.com/amnezia-vpn/amneziawg-windows-client/blob/master/docs/enterprise.md Dumps the diagnostic logs from the manager and tunnel services to a specified file. This is useful for offline analysis. ```text > amneziawg /dumplog > C:\path\to\diagnostic\log.txt ``` -------------------------------- ### Enable Limited Operator UI Source: https://github.com/amnezia-vpn/amneziawg-windows-client/blob/master/docs/adminregistry.md Sets the 'LimitedOperatorUI' registry key to enable a restricted UI for Network Configuration Operators. This limits certain configuration management actions for users in this group. ```powershell > reg add HKLM\Software\AmneziaWG /v LimitedOperatorUI /t REG_DWORD /d 1 /f ``` -------------------------------- ### Monitor Diagnostic Logs in PowerShell Source: https://github.com/amnezia-vpn/amneziawg-windows-client/blob/master/docs/enterprise.md Monitors the diagnostic logs in real-time within a PowerShell session, allowing for interactive filtering and analysis. ```powershell PS> amneziawg /dumplog /tail | select ``` -------------------------------- ### Uninstall AmneziaWG Manager Service Source: https://github.com/amnezia-vpn/amneziawg-windows-client/blob/master/docs/enterprise.md Use this command to uninstall the AmneziaWG manager service. This removes the 'AmneziaWGManager' service. ```text > amneziawg /uninstallmanagerservice ``` -------------------------------- ### Show Tunnel Status Source: https://github.com/amnezia-vpn/amneziawg-windows-client/blob/master/docs/enterprise.md Displays the current status and statistics for a WireGuard tunnel. This command requires appropriate permissions if the configuration file is encrypted. ```bash > awg show myconfname interface: myconfname public key: lfTRXEWxt8mZc8cjSvOWN3tqnTpWw4v2Eg3qF6WTklw= private key: (hidden) listening port: 53488 peer: JRI8Xc0zKP9kXk8qP84NdUQA04h6DLfFbwJn4g+/PFs= endpoint: 163.172.161.0:12912 allowed ips: 0.0.0.0/0 latest handshake: 3 seconds ago transfer: 6.55 KiB received, 4.13 KiB sent ``` -------------------------------- ### Uninstall Tunnel Service Source: https://github.com/amnezia-vpn/amneziawg-windows-client/blob/master/docs/enterprise.md Uninstalls a WireGuard tunnel service by its name. This command removes the service associated with the specified tunnel configuration. ```bash > amneziawg /uninstalltunnelservice myconfname ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.