Updating

Intro

https://github.com/XTLS/Xray-core/discussions/1295

Quick Start

Method 1

Official Script

Forward from https://github.com/chika0801/Xray-examples/tree/main/VLESS-TCP-XTLS-Vision

  1. Install Xray on server

    1
    bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)" @ install
  2. Download server configuration file

    1
    curl -Lo /usr/local/etc/xray/config.json https://raw.githubusercontent.com/chika0801/Xray-examples/main/VLESS-TCP-XTLS-Vision/config_server.json
  3. Apply for a certificate via acme.sh

  4. Move your certificate and key
    Move fullchain.cer and private.key to /etc/ssl/private

  5. Restart application

    1
    systemctl restart xray
    Actions
    Application/usr/local/bin/xray
    Configuration/usr/local/etc/xray/config.json
    Checkxray -test -config /usr/local/etc/xray/config.json
    Routing rules file/usr/local/share/xray/
    Check logjournalctl -u xray --output cat -e
    Realtime logjournalctl -u xray --output cat -f
  6. Configure on v2rayN

    • port: 16387
    • ID: chika
    • flow: xtls-rprx-vision

Method 2

Onekey Script

https://github.com/mack-a/v2ray-agent

1
wget -P /root -N --no-check-certificate "https://raw.githubusercontent.com/mack-a/v2ray-agent/master/install.sh" && chmod 700 /root/install.sh && /root/install.sh

Method 3

X-UI

https://github.com/FranzKafkaYu/x-ui

English version:

1
bash <(curl -Ls https://raw.githubusercontent.com/FranzKafkaYu/x-ui/master/install_en.sh)

Chinese version:

1
bash <(curl -Ls https://raw.githubusercontent.com/FranzKafkaYu/x-ui/master/install.sh)