sudo bash -c "$(curl -sL https://github.com/Gozargah/Marzban-scripts/raw/master/marzban.sh)" @ install
sudo bash -c "$(curl -sL https://github.com/Gozargah/Marzban-scripts/raw/master/marzban.sh)" @ install --database mysql
sudo bash -c "$(curl -sL https://github.com/Gozargah/Marzban-scripts/raw/master/marzban.sh)" @ install --database mariad
http://你购买的VPS的公网IP:8000/dashboard
apt install -y certbot
https://你购买的VPS的公网IP:8000/dashboard
https://你的域名:8000/dashboard
{ "log": { "loglevel": "warning" }, "routing": { "rules": [ { "ip": [ "geoip:private" ], "outboundTag": "BLOCK", "type": "field" } ] }, "inbounds": [ { "tag": "Shadowsocks TCP", "listen": "0.0.0.0", "port": 7443, "protocol": "shadowsocks", "settings": { "clients": [], "network": "tcp,udp" } }, { "tag": "VLESS WS CF", "listen": "0.0.0.0", "port": 8443, "protocol": "vless", "settings": { "clients": [], "decryption": "none" }, "streamSettings": { "network": "ws", "wsSettings": { "path": "/vless" }, "security": "tls", "tlsSettings": { "serverName": "1024.com", "certificates": [ { "certificateFile": "/etc/letsencrypt/live/1024.com/fullchain.pem", "keyFile": "/etc/letsencrypt/live/1024.com/privkey.pem" } ] } }, "sniffing": { "enabled": true, "destOverride": [ "http", "tls", "quic" ] } } ], "outbounds": [ { "protocol": "freedom", "tag": "DIRECT" }, { "protocol": "blackhole", "tag": "BLOCK" } ]}複製代碼