Xray panel supporting multi-protocol multi-user expire day & traffic & IP limit (Vmess & Vless & Trojan & ShadowSocks & Wireguard)
Go to file
2023-02-10 18:49:31 +03:30
.github 3x-ui 2023-02-09 22:48:06 +03:30
config 3x-ui 2023-02-09 22:48:06 +03:30
database 3x-ui 2023-02-09 22:48:06 +03:30
logger 3x-ui 2023-02-09 22:48:06 +03:30
media 3x-ui 2023-02-09 22:48:06 +03:30
util 3x-ui 2023-02-09 22:48:06 +03:30
v2ui 3x-ui 2023-02-09 22:48:06 +03:30
web fa,zh bug fixed - qrcode for trojan added 2023-02-10 18:49:31 +03:30
xray 3x-ui 2023-02-09 22:48:06 +03:30
.gitignore 3x-ui 2023-02-09 22:48:06 +03:30
go.mod 3x-ui 2023-02-09 22:48:06 +03:30
go.sum 3x-ui 2023-02-09 22:48:06 +03:30
install.sh 3x-ui 2023-02-09 22:48:06 +03:30
LICENSE 3x-ui 2023-02-09 22:48:06 +03:30
main.go 3x-ui 2023-02-09 22:48:06 +03:30
README.md for enable traffic for users - policy 2023-02-10 00:00:46 +03:30
x-ui.service 3x-ui 2023-02-09 22:48:06 +03:30
x-ui.sh 3x-ui 2023-02-09 22:48:06 +03:30

3x-ui

Disclaimer: This project is only for personal learning and communication, please do not use it for illegal purposes, please do not use it in a production environment

Install & Upgrade

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

SSL

apt-get install certbot -y
certbot certonly --standalone --agree-tos --register-unsafely-without-email -d yourdomain.com
certbot renew --dry-run

Default settings

  • Port: 2053
  • user: admin
  • password: admin
  • database path: /etc/x-ui/x-ui.db

before you set ssl on settings

  • http:// ip or domain:2053/xui

After you set ssl on settings

for enable traffic for users you should do :

xray Configuration :

  "policy": {
    "levels": {
      "0": {
        "statsUserUplink": true,
        "statsUserDownlink": true
      }
    },

    "system": {
      "statsInboundDownlink": true,
      "statsInboundUplink": true
    }
  },
  "routing": {

suggestion system

  • Ubuntu 20.04+

pic

1 2 3 4