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

BachBahmani/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 (No more nonsense errors).
  • 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
  • Saving backups and bundle them in .tar files for easy download.

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

  • I suggest to use only configs that has TLS.
  • UPDATE: http header type added to VMESS + TCP + TLS
  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%