Skip to content

Latest commit

 

History

History
203 lines (167 loc) · 5.78 KB

README.md

File metadata and controls

203 lines (167 loc) · 5.78 KB

XRay Vless Easy Install Script

Attention

Perform installation only if you have administrator rights! (root)

This script uses another script internally:

How is this script different?

It will automatically install “Nginx”, and set up a configuration file for “Shadowsocks + Vless TLS + Vless WebSocket”. The script allows you to select one or more options.

Select configuration

Attention!

You must buy, or find a free DOMAIN NAME (example.com), if you are going to use "Vless". For "Shadowsocks" it is NOT NEEDED.

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

Arguments:

  • --help - Print help info
  • --install - Installing Xray
  • --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
  • --vless-ws-qr - Outputs the Vless WebSocket 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 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 vless WebSocket QR code

bash <(curl -s https://raw.githubusercontent.com/Shark-vil/xray_vless_easy_install_script/master/xvei.sh) --vless-ws-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 TLS clinet config

/$HOME/xray_eis/vless_config.json

Print file content

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

Vless TLS client connect string

/$HOME/xray_eis/vless_link.txt

Print file content

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

Vless WebSocket clinet config

/$HOME/xray_eis/vless_ws_config.json

Print file content

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

Vless WebSocket client connect string

/$HOME/xray_eis/vless_ws_link.txt

Print file content

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

Shadowsocks clinet config

/$HOME/xray_eis/shadowsocks_config.json

Print file content

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

Shadowsocks client connect string

/$HOME/xray_eis/shadowsocks_link.txt

Print file content

cat /$HOME/xray_eis/shadowsocks_link.txt
echo $(cat /$HOME/xray_eis/shadowsocks_link.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_config.json)
echo $(cat /$HOME/xray_eis/vless_ws_config.json)
echo $(cat /$HOME/xray_eis/shadowsocks_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!