discover · compare · collections · requirements · contribute · feed · watching · stats · help with your tokens
GFW4Fun/x-ui-pro · source
Snapshot 0 · 2026-11-04T12:47:27Z · Shell ·
Content fingerprint
6a047908692c4595da565028b20faf3126ffd2e6b306c4ef01d2435c266cf795GitHub description at capture
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⚡🛡️
README at capture

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/XHTTP** 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
- Auto Daily backups x-ui.db to /var/backups
- 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 + ArgoSBX(SingBox)**:dvd::package:
```
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 v2.9.3 -cdn off -secure no -country xx"
```
<details><summary>:point_right:Cloudflare users :arrow_heading_down:</summary>
##
**<img src="https://raw.githubusercontent.com/GFW4Fun/x-ui-pro/master/media/cdnon.png" width="34">(-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!**
</details>
<details><summary>:point_right:Installation arguments :arrow_heading_down:</summary>
##
**Random FakeSite**:earth_asia:
```
bash <(wget -qO- raw.githubusercontent.com/GFW4Fun/x-ui-pro/master/x-ui-pro.sh) -RandomTemplate yes
```
**Uninstall X-UI-PRO**:x:
```
bash <(wget -qO- raw.githubusercontent.com/GFW4Fun/x-ui-pro/master/x-ui-pro.sh) -Uninstall yes
```
**Enable Psiphon in WARP+(Custom Country) <img src="https://raw.githubusercontent.com/GFW4Fun/x-ui-pro/master/media/cdnon.png" width="34">+<img src="https://raw.githubusercontent.com/GFW4Fun/x-ui-pro/master/media/psiphon.gif" width="15">**
```
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<img src="https://raw.githubusercontent.com/GFW4Fun/x-ui-pro/master/media/cdnon.png" width="34">🔑**
```
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 :no_entry_sign: 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
```
**Uninstall V2rayA ❌**
```
sudo sh -c "$(wget -qO- https://github.com/v2rayA/v2rayA-installer/raw/main/uninstaller.sh)"
```
**Other install arguments:☢️**
```
-panel 0-Alireza0_XUI 1-MHSanaei_XUI 2-FranzKafkaYu_XUI 3-AghayeCoder_tx-ui
```
```
-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 requires [GFW Anti-DPI UA Random Patcher](https://github.com/GFW4Fun/GFW-AntiDPI-UA-Random-Patcher) / [GFW-knocker/MahsaNG](https://github.com/GFW-knocker/MahsaNG) on the client side only.**
To clean or change the phrase "Go-http-client/x" from the xray/v2ray/singbox core.
</details>
<details><summary>:point_right:Install XUI-PRO [Secure mode] :arrow_heading_down:</summary>
#### Enable Secure/CDN Mode
```
bash <(wget -qO- raw.githubusercontent.com/GFW4Fun/x-ui-pro/master/x-ui-pro.sh) -panel 1 -xuiver last -cdn on -secure yes -country xx"
```
#### 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
```
#### Random Fake HTML
```
bash <(wget -qO- raw.githubusercontent.com/GFW4Fun/x-ui-pro/master/x-ui-pro.sh) -RandomTemplate yes
```
#### Bulk Config with Random CDN IP(Cloudflare users)
```
https://gfw4fun.github.io/xray_bulk_config_with_random_cdn_ip_range/
```
#### Disable ICMP
```
sudo sysctl -w net.ipv4.icmp_echo_ignore_all=1 net.ipv6.icmp.echo_ignore_all=1 && sudo sysctl -p &>/dev/null
```
#### Secure SSH (Change Port 22 to Custome Port)
```
sudo bash -c 'read -p "Enter new SSH port: " port && sed -i "s/^#Port 22/Port $port/" /etc/ssh/sshd_config && ufw allow ${port}/tcp && systemctl restart sshd'
```
**Secure mode requires [GFW Anti-DPI UA Random Patcher](https://github.com/GFW4Fun/GFW-AntiDPI-UA-Random-Patcher) / [GFW-knocker/MahsaNG](https://github.com/GFW-knocker/MahsaNG) on the client side only.**
The above points are highly recommended. Always use port 443 and enable TLS.
</details>
<img src="https://raw.githubusercontent.com/GFW4Fun/x-ui-pro/master/media/hr.png" width="100%">
### Server Configuration :wrench:🐧⚙️


### Client Configuration 👨💻📱✏️

<img src="https://raw.githubusercontent.com/GFW4Fun/x-ui-pro/master/media/hr.png" width="100%">
## Enable WARP<img src="https://raw.githubusercontent.com/GFW4Fun/x-ui-pro/master/media/cdnon.png" width="34"> TOR 🧅 (Fix Google&ChatGPT Forbidden/Hide VPS IP)
#### XUI > Xray Configs > Outbounds > Add Outbound ➕💾👇

#### Connect Config(Inbound) to WARP/WARP+/TOR/Psiphon/v2rayA (Outbound): :link:
#### 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 :link:
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 / ` ✏️
<img src="https://raw.githubusercontent.com/GFW4Fun/x-ui-pro/master/media/hr.png" width="100%">
## Useful Tools :fire: :link:
[Bulk Config With Random CDN IP Range](https://gfw4fun.github.io/xray_bulk_config_with_random_cdn_ip_range/)
[Xray Merge Multi Config for Balancer](https://github.com/Surfboardv2ray/Xray-Load-Balancer)
[GFW-AntiDPI-UA-Random-Patcher](https://github.com/GFW4Fun/GFW-AntiDPI-UA-Random-Patcher)
[Xray Json Config Fragment for bypass firewall](https://misaturo.github.io/Xray-Fragment-Configurator/)
[Free Multi Clash/Xray/v2ray Sub link](https://raw.githubusercontent.com/mermeroo/V2RAY-and-CLASH-Subscription-Links/refs/heads/main/SUB%20LINKS)
##
### Special thanks to xray/xui/v2ray/singbox developers :heart: