# VLESS (REALITY) Proxy Setup

> For AI tools: this is the Markdown copy of https://xproxy.io/document/vless-reality-proxy-setup. Every XProxy guide has one at its URL + `.md`; the index of all guides is https://xproxy.io/llms.txt.

Enable encrypted VLESS REALITY proxies per modem, share them by QR code and connect from Android, iPhone, Windows, macOS or Xray.

VLESS with REALITY is an encrypted proxy for phones and strict networks. To anyone watching, it looks like a normal visit to a big website. Your users only scan a QR code.

**You need:** a Premium or Business plan (on other plans the VLESS switch is locked) and at least one modem online.

In short

**Private**

The whole connection is encrypted. Wi-Fi owners, ISPs and firewalls cannot see what you visit.

**Hard to block**

It borrows the identity of a real site (by default `dl.google.com`), so it does not look like a proxy.

**Easy on phones**

One QR scan, and the app routes the whole phone, not just one browser.

## Set it up

**Step 1: Turn on VLESS**

Open **Proxy Management → Proxy Settings → General**.

1. Switch on **VLESS (REALITY)**. The first time, XProxy creates the REALITY key pair for you. The public key shows under the switch.
2. Leave **Camouflage SNI** on `dl.google.com` unless you have a reason to change it. It is the website your traffic imitates.
3. Click **Save &amp; restart** at the bottom of the window. The XProxy app restarts for a few seconds and the VLESS ports open.

![Proxy Settings, General tab: the VLESS (REALITY) switch, the public key and Camouflage SNI marked (demo data)](https://media1.xproxy.io/docs/use-proxies/vl-1-general-v2.webp)

> The address in your links is set in **Proxy Settings → Address**: it is the host of the **Remote** QR code (public IP or DDNS name). Leave it empty if you only use LAN or VPS.

**Step 2: Find the VLESS port of a modem**

In **Proxy Management**, click the **VLESS** tab in the header of the proxy column. Each modem now shows **VLESS v4**, and **VLESS v6** if its SIM has IPv6.

Modem #1 uses port `10001`, modem #2 `10002`, and so on. Click the address to copy the full link, or the **QR icon** to show the QR code.

![Proxy Management with the VLESS tab, the VLESS v4 port and the QR icon of the first modem marked (demo data)](https://media1.xproxy.io/docs/use-proxies/vl-2-list-v1.webp)

> No VLESS ports in the table? You did not click **Save &amp; restart** in step 1, or the page needs a refresh.

**Step 3: Pick the right QR code**

The **VLESS QR Code** window has one tab per way of connecting. The link changes with the tab, so choose where the user is before you share it:

- **VPS**: for users outside your network when VPS Forwarding is on. VLESS ports are always published on the VPS.
- **Local (LAN)**: for phones and PCs on the same Wi-Fi or network as the box.
- **Remote**: uses the public address in **Proxy Settings → Address**. Forward TCP ports 10001 and up on your router first.

Then scan the code, or click **Copy Link**.

![VLESS QR Code window, VPS tab (demo data)](https://media1.xproxy.io/docs/protocols/vless-qr-vps.webp)

> Anyone with the link can use the port. Share it only with people you trust (see [Who can use my VLESS ports?](#security)).

## Connect your device

Any app that supports **VLESS + REALITY + xtls-rprx-vision** works. Pick your platform:

**Android**

1. Install **v2rayNG** (free) from Google Play, or the `arm64-v8a` APK from [GitHub](https://github.com/2dust/v2rayNG/releases/latest).
2. Tap **+** at the top, then **Import from QR code** and scan the QR code. Got the link instead? Copy it on the phone and tap **Import from Clipboard**.
3. Tap the new server (it is named *XProxy #1 · carrier*), then the round button. Accept the VPN request. Tap **Connected, tap to check connection**: it shows *Connection succeeded* and the modem's mobile IP.

**iPhone / iPad**

1. Install **V2Box** (free) from the [App Store](https://apps.apple.com/us/app/v2box-v2ray-client/id6446814690). Shadowrocket and Streisand work the same way.
2. Open the **Configs** tab. Tap the scan icon and scan the QR code, or copy the link and tap **+** to import it from the clipboard.
3. Select the server, go to **Home** and slide to connect. Allow the VPN profile the first time.

**Windows / macOS / Linux**

1. Download **v2rayN** (free) from [v2rayn.2dust.link](https://v2rayn.2dust.link/): pick your system, then the file. Windows: `v2rayN-windows-64-desktop.zip`. Mac with an Apple chip: `v2rayN-macos-arm64.dmg` (Intel Mac: `v2rayN-macos-64.dmg`). Linux: `v2rayN-linux-64.deb`.
2. Start **v2rayN**. Windows: unzip the file and run `v2rayN.exe`. Mac: open the.dmg and drag v2rayN to Applications. Linux: install the.deb and open v2rayN from your apps.
3. Click **Copy Link** in XProxy. In v2rayN open **Configuration** → **Import Share Links from clipboard**, or just press **Ctrl+V** in the window.
4. Click the new server and press **Enter** to make it active. v2rayN now runs a local proxy on `127.0.0.1:10808`: apps that ask for a proxy address can use it.
5. To send the whole computer through the modem, open the menu at the bottom and choose **Set system proxy**. Choose **Clear system proxy** to stop.

**Linux / servers (Xray)**

```
{
  "inbounds": [
    { "listen": "127.0.0.1", "port": 1080, "protocol": "socks", "settings": { "udp": true } },
    { "listen": "127.0.0.1", "port": 8080, "protocol": "http" }
  ],
  "outbounds": [{
    "protocol": "vless",
    "settings": {
      "vnext": [{
        "address": "51.79.12.34",
        "port": 10001,
        "users": [{ "id": "YOUR-UUID", "encryption": "none", "flow": "xtls-rprx-vision" }]
      }]
    },
    "streamSettings": {
      "network": "tcp",
      "security": "reality",
      "realitySettings": {
        "serverName": "dl.google.com",
        "fingerprint": "chrome",
        "publicKey": "YOUR-PBK",
        "shortId": "YOUR-SID"
      }
    }
  }]
}
```

Copy `address`, `port`, `id` (UUID), `serverName` (sni), `publicKey` (pbk) and `shortId` (sid) from your vless:// link. Your scripts then use `socks5h://127.0.0.1:1080` or `http://127.0.0.1:8080` as a normal local proxy.

## What is inside the link?

```
vless://3f1c2a9e-6b1d-5c8e-9a7f-2d4b6e8f0a01@51.79.12.34:10001?encryption=none&security=reality&sni=dl.google.com&fp=chrome&pbk=KRxam16n9xBi9ZR1lS4nmZXy6adSEMvQkN3LmpLK0PC&sid=a1b2c3d4&type=tcp&flow=xtls-rprx-vision#51.79.12.34
```

| Part | Meaning |
| --- | --- |
| `3f1c…0a01` | The UUID: the key that unlocks the port. Treat it like a password. |
| `51.79.12.34:10001` | Where to connect: the VPS, LAN or remote host, plus the VLESS port of the modem. |
| `security=reality`, `sni`, `fp=chrome` | The disguise: look like Chrome visiting the Camouflage SNI site. |
| `pbk`, `sid` | The public key and short ID of your box. They prove the app is talking to your XProxy. |
| `type=tcp`, `flow=xtls-rprx-vision` | Transport and flow. Your app must support *xtls-rprx-vision*. |

## Who can use my VLESS ports?

- Anyone who has the link. The proxy username and password and the IP whitelist do **not** apply to VLESS. The UUID is the only key.
- **Premium plan:** all modems on the box share one UUID. Each modem has its own link, but the key is the same.
- **Business plan:** every modem gets its own UUID, so a customer's link opens only their modem. The Selling Platform can also create VLESS shared ports with a unique UUID per port.

## Using VLESS from anywhere

- **With VPS Forwarding** (recommended): VLESS ports are published on your VPS by themselves. Use the **VPS** QR tab. [Set up VPS Forwarding](https://xproxy.io/document/vps-forwarding-to-use-difference-place). If you set a port offset in Forwarding Ports, the VPS link already holds the shifted port (for example `13001` instead of `10001`). Share it as it is.
- **Through your router:** forward **TCP** ports `10001` and up to the box ([NAT Forwarding](https://xproxy.io/document/how-public-access-xproxy)), set your public address in **Proxy Settings → Address**, and share the **Remote** QR code.

## Troubleshooting

| Symptom | Fix |
| --- | --- |
| The VLESS switch is locked | Your plan is not Premium or Business. [Upgrade the subscription](https://xproxy.io/document/how-upgrade-subscription). |
| No VLESS ports in the table | Click **Save &amp; restart** after switching it on, wait for the app restart, then refresh the page. |
| The app connects but nothing loads | The link points to an address the device cannot reach, for example a LAN link used on mobile data. Pick the VPS or Remote tab and import again. |
| A remote link times out | TCP port 10001 and up is not forwarded on the router, or the public address in Proxy Settings → Address is wrong. |
| "unknown flow" or REALITY errors in the app | The app or its core is too old. Update it, or use one of the apps listed above. |
| Links stopped working after a settings change | Changing the Camouflage SNI or the public address changes the link. Import the new link or QR code. |

## FAQ

### VLESS or SOCKS5 for my anti-detect browser?

Most anti-detect browsers only accept HTTP or SOCKS5, so use [HTTP/SOCKS5](https://xproxy.io/document/how-use-proxy-format-http-socks5) there. Use VLESS for phones, for networks that block proxies, or when the traffic must be encrypted on its way to your box.

### Does IP rotation work with VLESS?

Yes. VLESS port 10001 exits through modem #1, so rotating modem #1 ([any rotation method](https://xproxy.io/document/how-change-rotate-ip)) changes the IP for its VLESS users too. Open connections drop for a moment while the modem reconnects.

### Does it carry UDP?

Yes. Apps that support it send UDP (calls, games, QUIC) through VLESS too, so you avoid the UDP limits of plain SOCKS5.

## What next?

Use a whole device through one modem, or compare all the protocols.

[WireGuard &amp; OpenVPN →](https://xproxy.io/document/make-vpn-mobile-proxy) [Proxy protocols →](https://xproxy.io/document/proxy-protocols-overview)

---

Source: https://xproxy.io/document/vless-reality-proxy-setup
