Windows
Supported: Windows 10 1909+, Windows 11, Windows Server 2019+. Architecture: amd64 (x64). ARM64 not yet supported.
Install
Section titled “Install”-
Open PowerShell with Run as Administrator.
-
Run the installer:
Terminal window irm https://proxy.sotatek.works/releases/download/latest/install.ps1 | iexThe script downloads the matching binary, verifies the SHA256 checksum, places it under
%ProgramFiles%\SotatekProxy\bin\sotatek-proxy.exe, seeds a default config under%ProgramData%\SotatekProxy\config.yaml, registers theSotatekProxyWindows Service, and starts it. -
Open a new terminal so the updated
PATHtakes effect, then verify:Terminal window sotatek-proxy statusInvoke-WebRequest http://127.0.0.1:3817/_proxy/healthz
Run from PowerShell with Administrator privileges to register the service.
-
Clone the repository:
Terminal window git clone https://github.com/sotatek-dev/sotatek-proxy.gitcd sotatek-proxy -
Build the binary:
Terminal window go build -o dist\sotatek-proxy.exe .\cmd\sotatek-proxy\Or, if you have
makeinstalled (e.g. via Chocolatey or Git for Windows):dist\sotatek-proxy-windows-amd64.exe make build-windows-amd64 -
Install the binary and register the service (Admin PowerShell):
Terminal window # Create install directoryNew-Item -ItemType Directory -Force "$env:ProgramFiles\SotatekProxy\bin"# Copy binaryCopy-Item ".\dist\sotatek-proxy.exe" "$env:ProgramFiles\SotatekProxy\bin\sotatek-proxy.exe"# Add to PATH for current session$env:PATH += ";$env:ProgramFiles\SotatekProxy\bin"# Register and start the Windows servicesotatek-proxy install -
Open a new terminal so the updated
PATHtakes effect, then verify:Terminal window sotatek-proxy statusInvoke-WebRequest http://127.0.0.1:3817/_proxy/healthz
Where things live
Section titled “Where things live”| What | Path |
|---|---|
| Binary | %ProgramFiles%\SotatekProxy\bin\sotatek-proxy.exe |
| Config | %ProgramData%\SotatekProxy\config.yaml |
| Logs | %ProgramData%\SotatekProxy\logs\sotatek-proxy.log |
| Service | SotatekProxy (LocalSystem, auto-start on boot) |
Service commands
Section titled “Service commands”sotatek-proxy status # running / stoppedsotatek-proxy start # start nowsotatek-proxy stop # stop nowsotatek-proxy logs # tail last 100 linessotatek-proxy uninstall # remove service (admin)You can also use the Windows Service Controller:
Get-Service SotatekProxyStart-Service SotatekProxyStop-Service SotatekProxyDefender SmartScreen warning
Section titled “Defender SmartScreen warning”Until Authenticode signing is enabled, Windows Defender SmartScreen may warn on first run. Click More info → Run anyway, or whitelist the install dir as administrator:
Add-MpPreference -ExclusionPath "$env:ProgramFiles\SotatekProxy\bin"Troubleshooting
Section titled “Troubleshooting”netstat -ano | findstr :3817Stop-Service SotatekProxy ; Start-Service SotatekProxyOr set port: 3818 in %ProgramData%\SotatekProxy\config.yaml and restart the service.
sotatek-proxy logsGet-EventLog -LogName System -Source 'Service Control Manager' -Newest 20 | Where-Object Message -match 'SotatekProxy'sotatek-proxy daemon # foreground for debugging (admin)The installer added %ProgramFiles%\SotatekProxy\bin to machine PATH. Open a fresh terminal so the change is picked up. If still missing, log out and back in, or call the binary by its absolute path:
& "$env:ProgramFiles\SotatekProxy\bin\sotatek-proxy.exe" statusUninstall
Section titled “Uninstall”From Admin PowerShell:
sotatek-proxy uninstallRemove-Item -Recurse -Force "$env:ProgramFiles\SotatekProxy"Remove-Item -Recurse -Force "$env:ProgramData\SotatekProxy"Then remove %ProgramFiles%\SotatekProxy\bin from machine PATH (System Properties → Environment Variables).