Skip to main content

What is VLESS?

VLESS is a modern, lightweight protocol used to create fast, flexible VPN-like connections over the internet. It’s an improved version of VMess with a simpler design and no built-in encryption, because it relies on TLS instead. This makes it efficient, good for use with CDNs, and useful for bypassing censorship or network limits when combined with Xray on a VPS.

What is 3x-ui?

3x-ui is a web panel (a control dashboard in your browser) for managing Xray-core. It lets you create and manage VLESS VPN accounts without touching complex config files. You can add users, generate VLESS links or QR codes, and see traffic usage in a few clicks. 3x-ui also supports other popular protocols like Trojan, Shadowsocks, and more, so you can choose what works best for your needs. Overall, it turns many “terminal-only” tasks into simple buttons and forms, which is much easier for beginners.

Installation 3x-ui on VPS

1

Install Ubuntu 22.04 on your EDIS Global VPS

Purchase a VPS in your preferred location through our website.
2

Connect to the VPS server using the SSH protocol:

    ssh root@VPS_IP_address
    Enter root password:
3

Update and upgrade packages

    apt update && apt upgrade -y 
4

Install curl package:

    apt install curl -y
5

Disable IPv6 on Ubuntu 22.04:

    #Create file 99-disable-ipv6.conf
    sudo nano /etc/sysctl.d/99-disable-ipv6.conf

    #Put this inside the file:
    net.ipv6.conf.all.disable_ipv6 = 1
    net.ipv6.conf.default.disable_ipv6 = 1
    net.ipv6.conf.lo.disable_ipv6 = 1
    #Save file and exit, then apply:

    sudo sysctl --system
    #Check network settings:
    ip a
    ip a | grep inet6
6

Install 3x-ui panel

    bash <(curl -Ls https://raw.githubusercontent.com/mhsanaei/3x-ui/master/install.sh)
7

During the installation process script asked about change port

    Would you like to customize the Panel Port settings? (If not, a random port will be applied) [y/n]: 
Type y to set your own port. The port should use between 41000-65000 range. For example: 46522At the end, you will see something like:

###############################################
Username: ajYbrazcyO
Password: HPty32FVU7
Port: 46522
WebBasePath: ZtvraBUmNK9NQj43ks
Access URL: http://YOUR_SERVER_IP:46522/ZtvraBUmNK9NQj43ks ###############################################
Save these credentials to notes.

Connect to the 3x-ui panel

Never connect to 3x-ui over plain http – it’s not secure. Always access the panel via https or through an SSH tunnel. To secure your connection to 3x-ui, make sure at least one of the following is set up:
  • Generate and assign a self-signed certificate for the panel
  • Use SSH port forwarding (access 3x-ui through an SSH tunnel)
  • Use a Let’s Encrypt SSL certificate if you have a registered domain
  • Self-sign cert
  • SSH port forwarding
  • Let's encrypt SSL cert
A self-signed certificate lets the 3x-ui panel use HTTPS, so all data between your browser and the panel is encrypted instead of sent in plain text. Your browser may show a warning because the cert isn’t from a public CA, but the connection is still secure—this helps prevent man-in-the-middle (MITM) attacks and is much safer than using HTTP, especially when entering your password or changing VPN settings.Generate a self-signed certificate and apply it to 3x-ui:
  1. Create a directory for the certificate:
  # Create cert directory
  sudo mkdir -p /root/cert/
  1. Generate a self-signed certificate:
  sudo openssl req -x509 -nodes -newkey rsa:2048 -days 365 \
    -keyout /root/cert/private.key \
    -out /root/cert/cert.crt \
    -subj "/C=EE/ST=Harjumaa/L=Tallinn/O=Org/OU=site/CN=localhost"
  1. Assign the certificate to the 3x-ui web panel:
  sudo /usr/local/x-ui/x-ui cert \
    -webCert "/root/cert/cert.crt" \
    -webCertKey "/root/cert/private.key"
  1. Restart the 3x-ui panel to apply changes:
sudo x-ui
Select option 13 to restart the panel. After that, the 3x-ui web interface will be served over HTTPS using your self-signed certificate.
Great, you’re now securely connected and logged in to the 3x-ui panel. Next, you’ll create a new inbound and connect to your server from your client apps.

3X-UI panel

Login to the panel: 3x-ui login After logging into the 3X-UI panel, go to the Inbounds tab and click on the Add Inbound button: inbounds Fill in the following fields in the opened menu:
  • Remark - name the connection
  • Protocol - select vless
  • Listen IP - leave the field blank;
  • Port - specify port 443.
  • Click on the Client drop-down list and click one by one to the Email, ID, Subscription to update.
  • For Flow settings choose xtls-rprx-vision. The Flow will be visible after activation Reality for Security setting. addinbound
  • Trasmission - TCP(RAW)
  • Security - Reality
  • uTLS - chrome or firefox
  • Target - google.com:443
  • SNI - google.com,www.google.com
  • Short IDs click to update
  • Click to Generate New Cert addinbound2
Activate Sniffing, switch to enable: addinbound3snifingenable After entering the data, click the Create button. If configured correctly, you will have an entry with the protocol. Try to click on the + plus to show client settings for export: inboundcreated In the drop down menu click to the QR code image: qrcodeclick1 In the pop-up window you’ll see two QR codes. Click the QR code on the right (the VLESS one) and its client configuration will be copied to your clipboard. Then paste this config into your VPN client on your PC or Mobile device. QRcode2

How to Connect to 3x-ui (PC, Android, iOS)

Descabe about 3X-UI clients for PC: Hiddify, v2rayN, v2RayTun, v2RayNG, Nekoray and others.
ClientMobile (Android / iOS)PC (Windows / Linux / macOS)Notes
v2rayNG AndroidPopular Android V2Ray/Xray client; supports import via link/QR.
v2RayTun Android, iOS WindowsXray-based client that works well with VLESS/Trojan configs.
Streisand Android, iOS Windows
macOS
Multi-protocol client supporting VLESS, VMess, Trojan, Shadowsocks.
Hiddify Android, iOS Windows
macOS
Linux
Multi-platform client; easy to use with 3x-ui links and subscriptions.
v2rayN Windows
Linux
macOS
Classic GUI client for VLESS/VMess/Trojan/Xray.
Nekoray Windows
Linux
Cross-platform GUI proxy client for desktops and laptops.
Links: