v2rayN Windows XP

A GUI client for Windows XP, support v2ray-core with protocols Shadowsocks, VLESS, VMess.
How to use
To use the v2rayN program, you need to install NET Framework 4.0
Go to Release section and download archive with binaries files. Unpack the downloaded archive to any location.
Go to the directory with the unpacked archive and run v2rayN.exe

After launching, the v2rayN icon appears in the system tray. Click on it to open the main program window.
You can add server links using the program menu and the clipboard:

After add server links click needed server on table and choose “Set as active server (Enter)”

In the program’s information window, you’ll see the service and v2ray core startup status.
Further information about connections and program operation will be displayed there.

Building v2rayN and v2ray core from source
The application is built in two stages. The first stage builds the GUI using NET Framework 4.0
and Visual Studio 2015 (recommended). Windows 7 or higher is recommended for this build.
The second stage builds the application in Windows XP, using the native Go language for Windows XP
and trusted root certificates installed for downloading and processing Go mods.
First stage build
- Download and Install Visual Studio 2015 Community Edition or higher.
- Clone this repo or use the source code archive at the recommended path:
"C:\Users<user>\Documents\Visual Studio 2015\Projects"
cd "C:\Users\<user>\Documents\Visual Studio 2015\Projects\"
git clone https://github.com/tx00100xt/v2rayN-Windows-XP.git
- Open Visual Studio 2015 and choose solution:
“C:\Users<user>\Documents\Visual Studio 2015\Projects\v2rayN-Windows-XP\v2rayN.sln”
- Select Release x86 and compile it.
After building, you will get the output files:
bin\Release\v2rayN.exe
bin\Release\zh-Hans\v2rayN.resources.dll
Second stage build
The first thing you need to do is install trusted root certificates..
-
Download the GlobalSign Root-R1 certificate to an accessible location:
GlobalSign Root Certificates
-
Click Start > Run

-
Type MMC and press OK

-
Click on File > Add / Remove Snap-In

-
Click Add

-
Under Snap-in, double click on Certificates

-
Click Computer Account > Next

-
Choose Local Computer > Finish

-
Click Close.
-
Click OK to exit the snap-in window.

-
Click [+] next to Certificates > Trusted Root Certification Authorities > Certificates
-
Right click on Certificates and select All Tasks > Import

-
Click Next

-
Click Browse

-
Select Root-R1.crt downloaded in step 1..
Press Open and Next to continue.

-
Click Next

-
Click Finish

-
Press OK

NOTE:
If you do not install trusted root certificates, you will receive an error during build:
tls: failed to verify certificate: x509: certificate signed by unknown authority
For a large number of mods, when executing the command:
go mod download
After install trusted root certificates, you can install the Go language compiler and start building the V2ray core.
Download the Go compiler go-386.zip for Windows XP from the repo: https://github.com/BieHDC/go-backports
Unpack this archive on disk "C:\ " . Add the path to the Go compiler “C:\go\bin” to the PATH environment variable.
Also put the source code of “v2rayN-Windows-XP” on the "C:\ " disk.
Open a terminal and use the following commands to build v2ray.exe and v2ctl.exe
cd C:\v2rayN-Windows-XP\v2ray-core
go mod download
go build -o v2ray.exe -trimpath -ldflags "-s -w -buildid=" ./main
go build -o v2ctl.exe -trimpath -ldflags "-s -w -buildid=" -tags confonly ./infra/control/main
The final build will contain the following files:
v2rayN\v2rayN.exe
v2rayN\v2ray.exe
v2rayN\v2ctl.exe
v2rayN\config.json
v2rayN\geoip.dat
v2rayN\geosite.dat
v2rayN\zh-Hans\v2rayN.resources.dll
You can download the completed archive containing these files in the Release section.
You can run executable file v2ray.exe from the command line without using GUI.

By default, the listen address 127.0.0.1:10808 is used.
Links
https://github.com/2dust/v2rayN
https://github.com/v2ray/v2ray-core
评论