Xray panel supporting multi-protocol multi-user expire day & traffic & IP limit (Vmess & Vless & Trojan & ShadowSocks & Wireguard)
Go to file
2023-02-21 11:50:09 +03:30
.github update pack 2023-02-16 19:28:20 +03:30
config update pack 2 2023-02-18 16:07:32 +03:30
database update pack 2 2023-02-18 16:07:32 +03:30
logger 3x-ui 2023-02-09 22:48:06 +03:30
media Add files via upload 2023-02-18 20:16:20 +03:30
util update pack 2023-02-16 19:28:20 +03:30
v2ui 3x-ui 2023-02-09 22:48:06 +03:30
web update pack 3 2023-02-20 20:59:55 +03:30
xray update pack 2 2023-02-18 16:07:32 +03:30
.gitignore en lang edit, new designed 2023-02-12 17:20:09 +03:30
go.mod update pack 3 2023-02-20 20:59:55 +03:30
go.sum update pack 3 2023-02-20 20:59:55 +03:30
install.sh Update install.sh 2023-02-21 11:50:09 +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 update pack 3 2023-02-20 20:59:55 +03:30
x-ui.service 3x-ui 2023-02-09 22:48:06 +03:30
x-ui.sh update pack 3 2023-02-20 20:59:55 +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

xray panel supporting multi-protocol, Multi-lang (English,Farsi,Chinese)

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

If you think this project is helpful to you, you may wish to give a 🌟

Default settings

  • Port: 2053
  • username and password will be generated randomly you can see them after you install it (x-ui "7")
  • 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+
  • Debian 10
  • CentOS 8

pic

1 2 3 4

a special thanks to

Stargazers over time

Stargazers over time