The service install scripts are intentionally manual for the MVP phase.
WireGuard for Windows is an external prerequisite for the MVP.
VPN Router does not bundle, redistribute, or silently install WireGuard. Users must install WireGuard for Windows separately from the official WireGuard distribution before using WireGuard profiles.
Official install page:
https://www.wireguard.com/install/
The app only detects whether wireguard.exe exists in the standard install locations and opens the official install page when it is missing.
Install from an elevated PowerShell session:
.\scripts\windows\install-service.ps1
Start-Service VpnRouterServiceUninstall:
.\scripts\windows\uninstall-service.ps1Runtime feature flags live in windows/VpnRouter.Service/appsettings.json.
Defaults are safe:
EnableWireGuardActivation:falseEnableWindowsDnsMutation:falseEnableWindowsRouteMutation:false
Do not enable mutation flags until the matching implementation has explicit recovery behavior and has been tested from an elevated service context.
Development run scripts:
.\scripts\windows\run-service-dev.ps1
.\scripts\windows\run-app-dev.ps1Or run both:
.\scripts\windows\run-dev.ps1To test actual WireGuard tunnel activation after importing a profile, start the development service with:
.\scripts\windows\run-service-dev.ps1 -EnableWireGuardActivationTo test the full experimental path, run PowerShell as administrator and enable each mutation explicitly:
.\scripts\windows\run-service-dev.ps1 -EnableWireGuardActivation -EnableWindowsRouteMutation -EnableWindowsDnsMutationNotes:
EnableWireGuardActivationruns WireGuard's tunnel service install/uninstall commands for imported profiles.EnableWindowsRouteMutationadds/removes IPv4/32routes for resolved selected domains.EnableWindowsDnsMutationmakes the DNS proxy listen on127.0.0.1:53; Windows DNS server mutation still needs a dedicated restore-tested implementation before it should be used on a primary machine.
Manual development recovery:
.\scripts\windows\restore-network-dev.ps1If DNS mutation was enabled and name resolution appears broken, run from an elevated PowerShell session:
.\scripts\windows\restore-network-dev.ps1 -ResetDnsToDhcpThis stops development app/service processes, stops WireGuard test tunnel services, removes recorded VpnRouter host routes when possible, and optionally resets active non-WireGuard adapters' IPv4 DNS settings to DHCP/default.