2023-02-09 19:18:06 +00:00
# 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
2023-02-09 19:22:10 +00:00
before you set ssl on settings
2023-02-09 19:18:06 +00:00
- http:// ip or domain:2053/xui
2023-02-09 19:22:10 +00:00
After you set ssl on settings
2023-02-09 19:18:06 +00:00
- https://yourdomain:2053/xui
2023-02-09 20:30:46 +00:00
**for enable traffic for users you should do :**
**xray Configuration :**
```json
"policy": {
"levels": {
"0": {
"statsUserUplink": true,
"statsUserDownlink": true
}
},
"system": {
"statsInboundDownlink": true,
"statsInboundUplink": true
}
},
"routing": {
```
2023-02-09 19:18:06 +00:00
# suggestion system
- Ubuntu 20.04+
# pic



