VLESS is a lightweight proxy protocol from the Xray project, and Reality is a way to hide it: to anyone watching the connection, your server looks like an ordinary HTTPS website. That helps on networks that recognize and block common VPN protocols. 3x-ui is a free web panel for Xray, so you set everything up with clicks and get a link and a QR code for each device. This guide uses a Nano-IP plan for $8/mo (2 vCPU, 1 GB RAM, 15 GB NVMe, dedicated IPv4) with Ubuntu 24.04. We ran every step on a fresh server and connected from a separate machine.
Step 1. Get a server with its own IPv4
Reality runs on port 443, so the server needs its own public IPv4: on NAT plans only the personal SSH port is reachable over IPv4. Order Nano-IP or any larger plan with a dedicated IP, with Ubuntu 24.04. On the server page, the Access block shows the SSH command:

Connect with ssh root@203.0.113.10 (your address instead of ours). If this is your first time, see how to connect to your VPS.
Step 2. Update the system
apt update && apt full-upgrade -y
reboot
Wait a minute and connect again. Right after the first boot the system may still be installing updates on its own; if apt says the lock is held by another process, wait a few minutes and run the command again.
Step 3. Install 3x-ui
Run the official install script from the project's GitHub:
bash <(curl -Ls https://raw.githubusercontent.com/mhsanaei/3x-ui/master/install.sh)
The script asks a few questions:
- Customize the panel port? — press Enter: the panel gets a random port.
- Database — press Enter for SQLite, it's enough for a personal server.
- SSL certificate — choose 4 (Skip SSL). You'll open the panel through an SSH tunnel, so the connection is encrypted by SSH.
- Bind the panel to 127.0.0.1 only? — answer
y. Then the panel can't be reached from the internet at all, only through the tunnel.
At the end the script prints the port, the secret path, the username and the password. The username and password are shown only once, so copy them right away. If you missed them, they're saved on the server:
cat /etc/x-ui/install-result.env
If the panel is already installed and you didn't answer y to the last question, bind it to 127.0.0.1 with two commands:
/usr/local/x-ui/x-ui setting -listenIP 127.0.0.1
x-ui restart
Step 4. Open the panel through an SSH tunnel
On your computer, open a tunnel. Replace 20616 with your panel port from Step 3:
ssh -L 20616:127.0.0.1:20616 root@203.0.113.10
Keep this window open and go to http://127.0.0.1:20616/your-secret-path/ in your browser. You'll see the login form:

Step 5. Create the VLESS + Reality inbound
An inbound is the port that Xray listens on. Go to Inbounds and click Add Inbound.
On the Basics tab:
- Protocol:
vless. - Port:
443. - Remark: any name, for example
reality. - Share address strategy: choose Custom and enter your server's IP in Custom share address. You opened the panel as 127.0.0.1, and without this the links and QR codes would point to 127.0.0.1 instead of your server.
On the Security tab choose Reality and fill in:
- Target:
www.microsoft.com:443. This is the site your server will look like. You can pick another big HTTPS site; the Scan and Find Targets buttons help check one. - SNI: type
www.microsoft.comand press Enter. - Public Key, Private Key and Short IDs are filled in automatically. Get New Cert makes a new key pair if you need one.

Click Create. The inbound appears in the list:

Step 6. Add a client
In this version of 3x-ui, clients are created separately from inbounds. Go to Clients and click Add Clients:
- Email: a clear name for the device, for example
my-phone. It's just a name, not a real address. - Attached inbounds: choose
reality. - On the Credentials tab, set Flow to
xtls-rprx-vision.
Click Create.
Step 7. Connect your devices
On the Clients page, click the QR icon next to the client. Open the block with the vless, TCP and REALITY labels: that QR code holds the client's link. The copy button next to it puts the same vless://… link on the clipboard.

Apps that understand VLESS + Reality:
- Android: v2rayNG or Hiddify — scan the QR code or import the link from the clipboard.
- iPhone and iPad: Streisand, V2Box or Hiddify.
- Windows, macOS, Linux: v2rayN, Hiddify or NekoBox.
Add a separate client for each device with Add Clients, so you can switch one off without touching the others.
How we tested it
We went through Steps 3–7 in the panel by hand, opened through an SSH tunnel as described. Then on a separate machine we started the Xray client with the link from the QR code and sent traffic through it:
- a website that shows your IP saw the server's address, not the machine's own;
- a 10 MB file downloaded in 0.55 s, about 18 MB/s;
- a plain TLS connection to port 443 of the server, without the client key, got the real certificate of www.microsoft.com, issued by Microsoft. That's what anyone watching the traffic sees.
The link from the QR code had the server's address, not 127.0.0.1, together with sni=www.microsoft.com and flow=xtls-rprx-vision. With 3x-ui and Xray running, the Nano-IP server still had about 560 MB of memory available.
Common problems
- "Could not get lock /var/lib/dpkg/lock-frontend". A fresh server is still installing its first updates. Wait a few minutes and repeat the command.
- The panel page doesn't open. The SSH tunnel window is closed, or the port in the tunnel doesn't match the panel port. Check the port and the secret path with
x-ui settings. - The app connects, but nothing loads. Usually the client data doesn't match: the public key, short ID, SNI or flow differ from the server. Delete the profile in the app and import the link from the panel again.
- The link or QR code shows 127.0.0.1. Open the inbound, set Share address strategy to Custom and enter your server's IP, as in Step 5.
- "Duplicate email" when you add a client. Every client needs its own name in the Email field. Clients stay on the Clients page even after you delete their inbound: remove the old one there or pick a new name.
Use it for your own devices: spam, attacks and scanning through the proxy are against the rules, just like from the server itself. If you prefer a classic VPN, see AmneziaWG on an $8 VPS. Plans with a dedicated IPv4: see plans.
Stuck? Write to the chat on the site or to info@eqvps.com with your server's hostname — a real person answers.
Comments
No comments yet. Be the first.