Skip to content

Windows: first setup

A Windows desktop can use Yuhaiin through its local HTTP/SOCKS proxy or through a TUN adapter. Begin with a local proxy; administrator privileges are not needed for ordinary application proxy use.

  1. Download the correct Windows archive or executable from Yuhaiin releases. Most Intel/AMD laptops use windows-amd64. Do not choose amd64v3 unless you know your CPU supports it.

  2. Extract the archive, if necessary. Open the folder in File Explorer.

  3. In that folder, open PowerShell and run the actual downloaded filename. For example, after renaming it to yuhaiin.exe:

    .\yuhaiin.exe -host 127.0.0.1:50051
  4. Keep the terminal open and visit http://127.0.0.1:50051 on this PC. The Web UI is the management page, not the proxy address.

If Windows warns about an unfamiliar application, verify the release source before deciding whether to run it. Do not disable security software just to get the program to start.

Follow Your first connection. The backend normally starts with an enabled mixed inbound at 127.0.0.1:1080. Check Traffic entry → Inbounds for its actual address, then point your browser or OS proxy settings there. The separate new Local preset offered by the React editor starts at 127.0.0.1:9002, but it is not required for a fresh installation. Open Monitoring → Connections to confirm traffic enters Yuhaiin.

In Settings → Configuration, the HTTP and SOCKS5 System proxy integration options can request Windows proxy integration. They are not the same as a full VPN: some apps ignore system proxy settings. Revert them if another proxy tool already owns the system settings.

If you need apps without proxy settings, use TUN. Creating a Windows tunnel can require administrator permissions and a compatible network driver. Do not start by changing your physical network adapter’s static IP or default gateway.

Use Ctrl+C in the terminal to stop the program if you started it manually. Disable any system proxy configuration that points to the stopped program; otherwise browser traffic may fail. For updates, first back up the data directory, then replace the executable without deleting the configuration.

If a website stops loading: temporarily disable the system proxy setting and the TUN inbound, confirm normal internet access, then follow Troubleshooting.