This is an automated archive.
The original was posted on /r/wireguard by /u/PsychologicalCat6978 on 2024-01-21 13:30:32+00:00.
Hi all!
I am running WireGuard VPN as a server on my untangle NG Firewall for remote worker VPNs. The network has about 20 users so to standardize deployment I thought I would write a script.
The script runs as SYSTEM, deploys wireguard via chocolatey, adds the standard user to the Network Configuration Operators group, and creates the registry key to allow the standard user to access the wireguard gui. Once installed it runs wireguard /installtunnelservice to apply the appropriate configuration for that machine ( each computer has its own config file)
All seems to work smoothly (no errors). The tunnel is definitely active because I can ping the server from the remote worker pc. However, the connection does not show in the WireGuard GUI so the users are unable to turn it on or off depending if they are in the office(off) or home(on)
Any ideas on how to deploy the configuration through a script that gets added to the GUI?