Dudukist / xray-ui

Xray web UI Panel support user management system and multiprotocol proxy server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Xray-ui

Xray web UI Panel support user management system and multiprotocol proxy server

Features

  • System Status Monitoring
  • Support multi-user and multi-protocol, web page visualization operation
  • Supported protocols: vmess, vless, trojan, shadowsocks, dokodemo-door, socks, http
  • Support for configuring more transport configurations
  • Traffic statistics, limit traffic, limit expiration time
  • Customizable xray configuration template
  • Support https access panel (self-provided domain name + ssl certificate)
  • Support one-click SSL certificate application and automatic renewal
  • For more advanced configuration items, see Panel

Install & Upgrade

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

Manual installation & upgrade

  1. First download the latest compressed package from https://github.com/jvdi/xray-ui/releases
  2. Then upload this compressed package to /root/the directory , and use rootthe user to log in to the server

If your server cpu architecture is not amd64 replace with other architectures

cd /root/
rm xray-ui/ /usr/local/xray-ui/ /usr/bin/xray-ui -rf
tar zxvf xray-ui-linux-amd64.tar.gz
chmod +x xray-ui/xray-ui xray-ui/bin/xray-linux-* xray-ui/xray-ui.sh
cp xray-ui/xray-ui.sh /usr/bin/xray-ui
cp -f xray-ui/xray-ui.service /etc/systemd/system/
mv xray-ui/ /usr/local/
systemctl daemon-reload
systemctl enable xray-ui
systemctl restart xray-ui

Install using docker

此 docker 教程与 docker 镜像由Chasing66提供

  1. install docker
curl -fsSL https://get.docker.com | sh
  1. Install xray-ui
mkdir xray-ui && cd xray-ui
docker run -itd --network=host \
    -v $PWD/db/:/etc/xray-ui/ \
    -v $PWD/cert/:/root/cert/ \
    --name xray-ui --restart=unless-stopped \
    enwaiax/xray-ui:latest

Build your own image

docker build -t xray-ui .

SSL certificate application

This feature and tutorial is provided by FranzKafkaYu

The script has a built-in SSL certificate application function. To use this script to apply for a certificate, the following conditions must be met:

  • Know the Cloudflare registered email address
  • Know Cloudflare Global API Key
  • The domain name has been resolved to the current server through cloudflare

How to get Cloudflare Global API Key:

You only need to input , Domain Name, Mail, API KEY the schematic diagram is as follows:

Precautions:

  • This script uses DNS API for certificate request
  • By default, Let'sEncrypt is used as the CA party
  • The certificate installation directory is the /root/cert directory
  • The certificates applied for by this script are all wild domain name certificates

Use of Tlg robot (under development, temporarily unavailable)

This feature and tutorial is provided by FranzKafkaYu

xray-ui supports daily traffic notifications and panel login reminders via Tg bot. To use Tg bot, you need to apply for it yourself. You can refer to the blog link for the specific application tutorial. Instructions:Set the bot-related parameters in the panel background, including

  • Tg Robot Token
  • Tg Bot ChatId
  • Tg robot cycle running time, using crontab syntax

Reference syntax.

  • 30 * * * * * * //Notify on the 30ths of every minute
  • @hourly //hourly notification
  • @daily //daily notification (at 00:00 am sharp)
  • @every 8h //notify every 8 hours

TG Notification Content.

  • Node traffic usage
  • Panel login reminder
  • Node expiration reminder
  • Traffic alert reminders

More features are being planned...

Suggestion System

  • CentOS 7+
  • Ubuntu 16+
  • Debian 8+

FAQ

Migration from v2-ui

First install the latest version of xray-ui on the server where v2-ui is installed, then use the following command to migrate all inbound account data from v2-ui to xray-ui, panel settings and username and password will not be migrated.

After successful migration, please shutdown v2-ui and restart xray-ui, otherwise the inbound of v2-ui will have a port conflict with the inbound of xray-ui

Xray-ui v2-ui

About

Xray web UI Panel support user management system and multiprotocol proxy server


Languages

Language:JavaScript 87.9%Language:HTML 5.2%Language:Go 5.1%Language:Shell 1.5%Language:CSS 0.3%Language:Dockerfile 0.0%Language:Less 0.0%