Xray with VLESS and XTLS using ProxySU and Qv2ray

VLESS offers performance improvements over the original VMESS protocol. Xray (a fork of V2Ray) offers VLESS along with XTLS. XTLS reduces double-encryption, resulting in better performance on low-power devices.

This page shows you how you can set up a Xray with VLESS and XTLS server, using the ProxySU graphical user interface (GUI) tool for Windows.

1. ProxySU

1.1. Set Up DNS Record

You will need a Linux server. We used Ubuntu 21.04 for testing the procedure on this page.

You must also own your own domain name, either free or paid.

Assuming you have a domain name and a server, create a DNS record pointing from the host name (fully qualified domain name) of the server to the server’s IP address. If necessary, allow time for the DNS record to propagate.

1.2. Download ProxySU

On your Windows PC, locate the latest release of ProxySU at https://github.com/proxysu/ProxySU/releases. At the time of writing, it is version 4.01.

Download the latest zip file. Extract the contents of the zip file.

1.3. Run ProxySU

Double-click on the ProxySU application, ProxySuper.WPF.exe. If Windows Defender Smart Screen appears, click More info then Run anyway.

Windows Defender Smart Screen

If you need to change the display language, there is a language setting drop-down box at the top of the window.

ProxySU language selection

Click Add Host then Xray.

ProxySU Add Host Xray

In the left column, under Host, fill in your server’s IP address and login credentials.

In the middle column, check the box for VLESS over TCP with XTLS Preferred.

In the right column, for the Address, fill in your server’s fully qualified domain name. The UUID and Port fields are generated for you.

ProxySU for Xray

Click Save to save your configuration.

On your server’s row, click Install.

A message appears to say that logging into the server was successful:

正在登陆服务器 ...

Underneath the messages, click Install. Wait while installation on your server proceeds. Status messages appear in the XrayInstallerView window. The install process takes several minutes.

ProxySU login successful and status messages

At the end, ProxySU displays a message to say installation is complete and you can now enjoy it.


Close the XrayInstallerView window.

1.4. Save Parameters

On the row for your server, click the ViewConfig button. The server parameters and a QR code are displayed.

ProxySU info view for Xray

2. Qv2ray

2.1. Download and Install Qv2ray

Open a browser on your PC, and go to https://github.com/Qv2ray/Qv2ray. Click the Releases link. Download the installer executable for Windows 64-bit. At the time of writing, the latest version is v2.7.0-pre2, and the executable for Windows is Qv2ray.v2.7.0-pre2.Windows-x64.exe.

Run the Qv2ray installer executable. If Microsoft Defender SmartScreen appears, click More info and Run anyway. When asked if you want to allow this app to make changes, click Yes.

Qv2ray setup wizard

Run the installer, accepting the defaults. Wait until the installer finishes. An icon for Qv2ray appears on your Windows desktop.

2.2. Download and Install Xray

Download the latest release of Xray-core for Windows 64-bit from https://github.com/XTLS/Xray-core/releases. At the time of writing it is version 1.4.2, and the Windows version is named Xray-windows-64.zip. Extract files from the zip file.

Xray core for Windows

In Windows Explorer find your user id (e.g. C:\\Users\\you). If you don’t see your AppData folder, check the box View > Hidden items to display hidden items.

  1. Select the folder AppData.
  2. Select Local.
  3. Create a new folder, qv2ray, all lower case.
  4. Within it, create a new folder, vcore, all lower case.
  5. Copy all the extracted Xray files into C:\\Users\\you\\AppData\\qv2ray\\vcore.

2.3. Run Qv2ray

Qv2Ray on Windows

Launch Qv2ray.

Specify your Xray core as follows:

  1. Click Preferences.
  2. Click Kernel Settings.
  3. Select the button for V2Ray Core Executable Path.
  4. Navigate to the Xray executable you downloaded and copied into place, i.e. C:\\Users\\you\\AppData\\qv2ray\\vcore\\xray.exe.
  5. The corresponding assets directory is C:\\Users\\you\\AppData\\qv2ray\\vcore.
  6. Click OK.
Qv2Ray Kernel Settings

Specify your Xray server as follows:

  1. Click New.
  2. Fill in your server host name (fully qualified domain name).
  3. The port is 443.
  4. The type is VLESS.
  5. The UUID comes from what ProxySU set up for the server.
  6. Flow is xtls-rprx-direct.
  7. Encryption is none.
  8. Click the tab for TLS Settings.
  9. The Security Type is XTLS.
  10. The Server Address (SNI) is your host name (fully qualified domain name).
  11. Click OK.
Qv2Ray Xray Settings

2.4. Test Qv2ray

In Qv2ray, click Default Group to expand it. Select your server. Under Configuration Details, press the button to connect to your server.

Qv2Ray Configuration Details

In your browser, visit https://ipchicken.com. You should see the IP address of your server, not your local PC.

Updated 2021-06-11