Choose Your Setup Method
Select your preferred method. The automated script is recommended for convenience, while the manual guide is great for learning.
Step 1: Run The Deploy Script
- Click the button below to generate a secure UUID and your server setup script.
- Copy the entire shell script that appears.
- SSH into your fresh Ubuntu server, paste the script, and press Enter.
- Once the script finishes, click "Next".
2. Copy and Run This Script on Your Server:
Step 2: Generate Connection Link
Your server is configured! Now, provide your connection details below to create your final link and QR code.
The domain your traffic will pretend to be. Use a common, high-traffic domain.
A label for this connection so you can identify it in your client app.
Introduction
This guide will walk you through setting up a VLESS proxy server on any Ubuntu VPS manually.
Step 1: Prerequisites
- An Ubuntu VPS, an IP address, and SSH access.
Step 2: Connect & Update Server
# Replace YOUR_VPS_IP with your server's actual IP address
ssh root@YOUR_VPS_IP
# Update the package lists and upgrade all installed packages
sudo apt update && sudo apt upgrade -y
Step 3: Install Nginx & X-ray
# Install the Nginx web server
sudo apt install nginx -y
# Install the X-ray core using the official script
bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)" @ install
Step 4: Generate Your UUID
Option A: Generate in Browser (Recommended)
Option B: Generate on Server (Manual)
xray uuid
Step 5: Configure Nginx
# Open the file
sudo nano /etc/nginx/sites-available/default
# Then paste this content:
server {
listen 80 default_server;
server_name _;
location /xray {
proxy_pass http://127.0.0.1:10002;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
}
}
Step 6: Configure X-ray
Step 7: Open Firewall Ports
sudo ufw allow 80/tcp
Step 8: Restart & Verify
sudo systemctl restart nginx
sudo systemctl restart xray
sudo systemctl status xray # Should be active (running)
Step 9: Build Your Connection Link
The domain your traffic will pretend to be. Use a common, high-traffic domain.
A label for this connection so you can identify it in your client app.
Your Final VLESS Link:
🎉 Connection Ready!
QR Code
Connection Link
Recommended Client Apps
- Windows: v2rayN, NekoRay
- Android: v2rayNG, NekoBoxForAndroid, Exclave
- iOS: V2Box, Shadowrocket, FoXray, Quantumult X
- macOS: V2RayU, NekoRay, FoXray
- Linux: NekoRay, v2rayA