[新服务]XUI面板支持TrojanVLESSVmess不同端口同时连接

目的

  • 面板管理
  • 同步链接 Trojan Vless Vmess 等

参考

  • https://www.v2rayssr.com/x-ui.html

实现

# 记得先在CloudFlare map ip to domain

apt update -y && apt upgrade -y
apt install curl tar cron socat -y 

export CF_Email="[email protected]"
~/.acme.sh/acme.sh --register-account -m ${CF_Email}

export TLD_DOMAIN="your.owndomain.com"
~/.acme.sh/acme.sh  --issue -d ${TLD_DOMAIN}  --standalone

export KEY_FILE_PATH="/root/sslcert"
mkdir -p ${KEY_FILE_PATH}
cd ${KEY_FILE_PATH}

~/.acme.sh/acme.sh --installcert -d ${TLD_DOMAIN} \
  --key-file ${KEY_FILE_PATH}/private.key \
  --fullchain-file ${KEY_FILE_PATH}/cert.crt

~/.acme.sh/acme.sh --upgrade --auto-upgrade
chmod -R 755 ${KEY_FILE_PATH}

# show absolute full path
find $PWD

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

网页管理端登陆并修改密码+新建多个梯子并存

vless + xtls + tcp (据说性能最强)

export TLD_DOMAIN="your.owndomain.com"
echo "vless://[email protected]$TLD_DOMAIN:8443?security=xtls&encryption=none&headerType=none&type=tcp&flow=xtls-rprx-direct&sni=$TLD_DOMAIN#$TLD_DOMAIN-xui-vless"

Leave a Reply