An open API service indexing awesome lists of open source software.

https://github.com/shark-vil/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.
https://github.com/shark-vil/xray_vless_easy_install_script

bash-script debian installation-script letsencrypt-utils linux-server linux-shell nginx proxy-server shadowsocks tor-network ubuntu uncensored-network v2ray vless-reality vpn-service websocket websocket-server xray-core xtls-reality

Last synced: 17 days ago
JSON representation

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.

Awesome Lists containing this project

README

        

# XRay Vless Easy Install Script

## [Документация на русском](/docs/RU.md)

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

## This script uses another script internally:
### [XTLS/Xray-install](https://github.com/XTLS/Xray-install/raw/main/install-release.sh)

## 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](/docs/img/install_select.png)

## 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](https://dnsexit.com/domains/free-second-level-domains/) - 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!
```bash
apt-get update
apt-get -y install curl
```

### Use remote script
#### String to install
```bash
bash <(curl -s https://raw.githubusercontent.com/Shark-vil/xray_vless_easy_install_script/master/xvei.sh) --install
```

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

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

#### String to renew config
```bash
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
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
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
bash <(curl -s https://raw.githubusercontent.com/Shark-vil/xray_vless_easy_install_script/master/xvei.sh) --shadowsocks-qr
```

### OR Download script
```bash
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
```bash
cat /usr/local/etc/xray/config.json
```
```bash
echo $(cat /usr/local/etc/xray/config.json)
```

### Vless TLS clinet config
```
/$HOME/xray_eis/vless_config.json
```

#### Print file content
```bash
cat /$HOME/xray_eis/vless_config.json
```
```bash
echo $(cat /$HOME/xray_eis/vless_config.json)
```

### Vless TLS client connect string
```
/$HOME/xray_eis/vless_link.txt
```

#### Print file content
```bash
cat /$HOME/xray_eis/vless_link.txt
```
```bash
echo $(cat /$HOME/xray_eis/vless_link.txt)
```

### Vless WebSocket clinet config
```
/$HOME/xray_eis/vless_ws_config.json
```

#### Print file content
```bash
cat /$HOME/xray_eis/vless_ws_config.json
```
```bash
echo $(cat /$HOME/xray_eis/vless_ws_config.json)
```

### Vless WebSocket client connect string
```
/$HOME/xray_eis/vless_ws_link.txt
```

#### Print file content
```bash
cat /$HOME/xray_eis/vless_ws_link.txt
```
```bash
echo $(cat /$HOME/xray_eis/vless_ws_link.txt)
```

### Shadowsocks clinet config
```
/$HOME/xray_eis/shadowsocks_config.json
```

#### Print file content
```bash
cat /$HOME/xray_eis/shadowsocks_config.json
```
```bash
echo $(cat /$HOME/xray_eis/shadowsocks_config.json)
```

### Shadowsocks client connect string
```
/$HOME/xray_eis/shadowsocks_link.txt
```

#### Print file content
```bash
cat /$HOME/xray_eis/shadowsocks_link.txt
```
```bash
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:
```bash
echo $(cat /$HOME/xray_eis/vless_config.json)
```
```bash
echo $(cat /$HOME/xray_eis/vless_ws_config.json)
```
```bash
echo $(cat /$HOME/xray_eis/shadowsocks_config.json)
```

## What application can I use?
* [Nekoray (GitHub)](https://github.com/MatsuriDayo/nekoray/releases/latest) *I recommend it*
* [Qv2ray (GitHub)](https://github.com/Qv2ray/Qv2ray/releases/latest)
* [Hiddify](https://hiddify.com/) - Configuration files only! **vless://** & **ss://** may not process completely!
* * [Android](https://play.google.com/store/apps/details?id=app.hiddify.com)
* * [Windows](https://apps.microsoft.com/detail/9pdfnl3qv2s5)
* * [Other](https://app.hiddify.com/)
* [v2rayNG (GitHub)](https://github.com/2dust/v2rayNG/releases/latest) *I recommend it*
* * [Android](https://play.google.com/store/apps/details?id=com.v2ray.ang)

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