mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-04-19 21:42:24 +00:00
73 lines
1.8 KiB
Markdown
73 lines
1.8 KiB
Markdown
# 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** :star2:
|
|
|
|
# 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
|
|
- https://yourdomain:2053/xui
|
|
|
|
**for enable traffic for users you should do :**
|
|
|
|
**xray Configuration :**
|
|
```json
|
|
"policy": {
|
|
"levels": {
|
|
"0": {
|
|
"statsUserUplink": true,
|
|
"statsUserDownlink": true
|
|
}
|
|
},
|
|
|
|
"system": {
|
|
"statsInboundDownlink": true,
|
|
"statsInboundUplink": true
|
|
}
|
|
},
|
|
"routing": {
|
|
```
|
|
|
|
# suggestion system
|
|
- Ubuntu 20.04+
|
|
|
|
# pic
|
|
|
|

|
|

|
|

|
|

|
|
|
|
# a special thanks to
|
|
- [vaxilu](https://github.com/vaxilu/)
|
|
- [HexaSoftwareTech](https://github.com/HexaSoftwareTech/)
|
|
- [diditra](https://github.com/diditra/)
|
|
- [FranzKafkaYu](https://github.com/FranzKafkaYu)
|
|
- [alireza0](https://github.com/alireza0/)
|
|
|
|
## Stargazers over time
|
|
|
|
[](https://starchart.cc/MHSanaei/3x-ui)
|