Skip to content

a complete script to install Xray-core on server with user management

Notifications You must be signed in to change notification settings

mahdigh782/xray-install

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

xray-install

Xray installation and configuraion script for Ubuntu and Debian servers.

Features

  • Automaticly install and configure Xray-core
  • Check exit code of every command that executed!
  • User Management with unique UUID/Password for each user
  • VLess, VMess and Trojan Support
  • XTLS for VLess and Trojan Support
  • VPS Basic settings for better experience
  • Enable TCP BBR with teddysun script

Install

Install Dependencies

apt update && apt install curl

Run Script

bash -c "$(curl -L https://github.com/thehxdev/xray-install/raw/main/xray.sh)"

User Management

User Management added to main script!

Supported protocols

  1. Ultimate Config (All Configs + XTLS)
  2. VLESS + WS + TLS
  3. VLESS + TCP + TLS
  4. VMESS + WS
  5. VMESS + WS + TLS
  6. VMESS + WS + Nginx
  7. VMESS + WS + Nginx + TLS
  8. VMESS + TCP
  9. VMESS + TCP + TLS
  10. Trojan + TCP + TLS
  11. Trojan + WS + TLS
  12. Trojan + TCP + XTLS

About

a complete script to install Xray-core on server with user management

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%