xray_vless_easy_install_script

This script will help you to easily install and customize the configuration file for Vless / Vless WebSocket / Shadowsocks. All you need to have is a server, domain and mail. All the configuration work is taken care of by the script.

APACHE-2.0 License

Stars
3

XRay Vless Easy Install Script

This script uses another script internally:

XTLS/Xray-install

How is this script different?

It will automatically install Nginx, and set up a configuration file for Shadowsocks + Vless + WebSocket Vless.

Attention!

You must buy, or find a free DOMAIN NAME (example.com)

P.s. dnsexit - It seems this site gives you the opportunity to register a domain for free. It is true that the free period of use is 1 year.

Arguments:

  • --help - Print help info
  • --install - Installing Xray
  • --install-expert - Installation mode for advanced users. Allows you to configure Shadowsocks and install WARP / TOR proxy.
  • --remove - Deletes Xray
  • --reinstall - Reinstalls all configs and services
  • --renew - Reinstalls ONLY configuration files, without reinstalling services
  • --vless-qr - Outputs the Vless connection code to the terminal
  • --shadowsocks-qr - Outputs the Shadowsocks connection code to the terminal

How use?

Execute these lines before running the scripts!

apt-get update
apt-get -y install curl

Use remote script

String to install

bash <(curl -s https://raw.githubusercontent.com/Shark-vil/xray_vless_easy_install_script/master/xvei.sh) --install

String for advanced installation

bash <(curl -s https://raw.githubusercontent.com/Shark-vil/xray_vless_easy_install_script/master/xvei.sh) --install-expert

String to remove

bash <(curl -s https://raw.githubusercontent.com/Shark-vil/xray_vless_easy_install_script/master/xvei.sh) --remove

String to reinstall

bash <(curl -s https://raw.githubusercontent.com/Shark-vil/xray_vless_easy_install_script/master/xvei.sh) --reinstall

String to renew config

bash <(curl -s https://raw.githubusercontent.com/Shark-vil/xray_vless_easy_install_script/master/xvei.sh) --renew

String to get vless QR code

bash <(curl -s https://raw.githubusercontent.com/Shark-vil/xray_vless_easy_install_script/master/xvei.sh) --vless-qr

String to get shadowsocks QR code

bash <(curl -s https://raw.githubusercontent.com/Shark-vil/xray_vless_easy_install_script/master/xvei.sh) --shadowsocks-qr

OR Download script

apy-get update
apt-get install wget
wget https://raw.githubusercontent.com/Shark-vil/xray_vless_easy_install_script/master/xvei.sh
chmod +x xvei.sh
./xvei.sh

Where are the files stored?

XRay config

/usr/local/etc/xray/config.json

Print file content

cat /usr/local/etc/xray/config.json
echo $(cat /usr/local/etc/xray/config.json)

Vless clinet config

/$HOME/xray_eis/vless_client_config.json

Print file content

cat /$HOME/xray_eis/vless_client_config.json
echo $(cat /$HOME/xray_eis/vless_client_config.json)

Vless client connect string

/$HOME/xray_eis/vless_client_link.txt

Print file content

cat /$HOME/xray_eis/vless_client_link.txt
echo $(cat /$HOME/xray_eis/vless_client_link.txt)

Shadowsocks client connect string

/$HOME/xray_eis/shadowsocks_client_link.txt

Print file content

cat /$HOME/xray_eis/shadowsocks_client_link.txt
echo $(cat /$HOME/xray_eis/shadowsocks_client_link.txt)

Client shadowsocks password

/$HOME/xray_eis/shadowsocks_password.txt

Print file content

cat /$HOME/xray_eis/shadowsocks_password.txt
echo $(cat /$HOME/xray_eis/shadowsocks_password.txt)

FAQ

  • I can't connect to the session.
    • Make sure your server is not closed by a CDN (For example: loudflare Proxied). In this case you will only have to use Vless WebSocket or Shadowsocks connection. If the domain returns the real IP of your server - you can use any type of connection.

  • I paste the text to connect into the app, but nothing works.
    • Some applications may not support vless:// and ss:// references. In this case, you will need to use the full configuration file. You can get it by invoking the command in the terminal after installation:
echo $(cat /$HOME/xray_eis/vless_client_config.json)

What application can I use?

P.s. Personally, I'm having trouble with Hiddify on my Android device. I recommend using v2rayNG. On Windows - Hiddify works fine!

Related Projects