/x-ui-pro

XUI-PRO nginx reverse proxy with ws/grpc/httpupgrade/splithttp,xray protocol support: vless,vmess,trojan,shadowsocks panel cloudflare ssl,xtls,ssr,v2fly,v2ray installer bypass restrictions sing-box,shadowtls,reality,tunnel,gfw tor warp wireguard geoip tuic clash vpn mihomo psiphon hy2 oneclick argo bbr wstunnel anticensorship⚡🛡️

Primary LanguageShell

XUI-PRO (Xray-UI/v2rayA/Nginx/WARP/TOR/Psiphon) 🚀

x-ui-pro is an open-source project that provides an auto-installation script for a lightweight and secure web proxy server. It combines the features of x-ui, v2rayA, warp, psiphon tor and nginx to offer a comprehensive solution (Many protocols and tools) for bypassing internet restrictions.

  • Handle WebSocket/GRPC/HttpUgrade via nginx.
  • Supports multiple users and config via port 443
  • Install multiple domains with one a server/panel
  • More security and low detection with nginx
  • Auto SSL Renew, Reload Daily Services
  • X-UI Xray / V2rayA Admin Web Panel
  • Compatible with Cloudflare CDN/IP
  • Random 170 fake HTML template!
  • Tor/Psiphon country changer
  • Only Linux Server

Install XUI-PRO📀📦

sudo su -c "$(command -v apt||echo dnf) -y install wget;bash <(wget -qO- raw.githubusercontent.com/GFW4Fun/x-ui-pro/master/x-ui-pro.sh) -panel 1 -xuiver last -cdn off -secure no -country xx"
👉Cloudflare users ⤵️

(-cdn on ) Access is only possible from the CDN IP.

🌍(-country cn,ru,us,de) Only connections from these countries are allowed. [xx = all]

🔒SSL Support: (yourdomain.com, *.yourdomain.com) To add a new subdomain, just create a new A record in your domain's DNS management. no need to reinstall the panel!

👉Installation arguments ⤵️

Random FakeSite🌏

bash <(wget -qO- raw.githubusercontent.com/GFW4Fun/x-ui-pro/master/x-ui-pro.sh) -RandomTemplate yes

Uninstall X-UI-PRO

bash <(wget -qO- raw.githubusercontent.com/GFW4Fun/x-ui-pro/master/x-ui-pro.sh) -Uninstall yes

Enable Psiphon in WARP(Custom Country) +

bash <(wget -qO- raw.githubusercontent.com/GFW4Fun/x-ui-pro/master/x-ui-pro.sh) -WarpCfonCountry US

Enable Psiphon in WARP(Random Country)🌐🎲

bash <(wget -qO- raw.githubusercontent.com/GFW4Fun/x-ui-pro/master/x-ui-pro.sh) -WarpCfonCountry XX

Tor Custom Country🧅🌍

bash <(wget -qO- raw.githubusercontent.com/GFW4Fun/x-ui-pro/master/x-ui-pro.sh) -TorCountry US

Tor Random Country 🧅🎲

bash <(wget -qO- raw.githubusercontent.com/GFW4Fun/x-ui-pro/master/x-ui-pro.sh) -TorCountry XX

Valid🚩Country🌍🆔

AT BE BG BR CA CH CZ DE DK EE ES FI FR GB HR HU IE IN IT JP LV NL NO PL PT RO RS SE SG SK UA US

Add LicenseKey to WARP🔑

bash <(wget -qO- raw.githubusercontent.com/GFW4Fun/x-ui-pro/master/x-ui-pro.sh) -WarpCfonCountry XX -WarpLicKey xxxx-xxxx-xxxx

Disable WarpPsiphon and WARP CleanKey❌

bash <(wget -qO- raw.githubusercontent.com/GFW4Fun/x-ui-pro/master/x-ui-pro.sh) -CleanKeyCfon yes

Only > Optimize the Network, SSH & System Limits!🚀🔥🛠️

bash <(wget -qO- raw.githubusercontent.com/hawshemi/Linux-Optimizer/main/linux-optimizer.sh)

Enable UFW 🚫 Firewall (Prevent direct access to xui-xray-v2ray ports)

bash <(wget -qO- raw.githubusercontent.com/GFW4Fun/x-ui-pro/master/x-ui-pro.sh) -ufw on

Other install arguments:☢️

-panel 0 > Alireza0_XUI  1 > MHSanaei_XUI 2 > FranzKafkaYu_XUI
-xuiver 2.4.7  # XUI Panel version (default is 'last' version)
-country ru,cn,de,fi,us (Only users from these countries are allowed to connect) ## -country xx (All countries are allowed) !works with -cdn on / Cloudflare On!
-secure yes   # Enable Nginx auth + Block Bad UA [xray,v2ray,go-http-client,vpn,proxy,tunnel,bot...] (Only advanced users) 

Secure mode only works with GFW-knocker/Xray-core / GFW-knocker/MahsaNG for client!

To clean or change the phrase "Go-http-client/x" from the xray/v2ray/singbox core.

Server Configuration 🔧🐧⚙️

Client Configuration 👨‍💻📱✏️

Enable WARP TOR 🧅 (Fix Google&ChatGPT Forbidden/Hide VPS IP)

XUI > Xray Configs > Outbounds > Add Outbound ➕💾👇

Connect Config(Inbound) to WARP/WARP+/TOR/Psiphon/v2rayA (Outbound): 🔗

XUI > Xray Configs > Routing Rules > Add Rule ➕💾👇

v2rayA Panel Settings (v2rayA suggested as Outbound and supports the subscription links):⚙️👇

If you forget your password, run "v2raya-reset-password" to reset it (in ssh bash)

v2rayA the configuration directory is: /usr/local/etc/v2raya

Enable XUI Subscription 🔗

XUI Panel > Panel Setting > Subscription > Enable Service (Don't change /sub/ /json/)

XUI Panel > Inbounds > General Actions > Export All URLs - Subscriptions

In the displayed address, change : to / ✏️

Useful Tools 🔥 🔗

Bulk Config With Random CDN IP Range

Xray Merge Multi Config for Balancer

Xray Json Config Fragment for bypass firewall

Free Multi Clash/Xray/v2ray Sub link

Special thanks to xray/xui/v2ray/singbox developers ❤️