项目介绍

GFW4Fun/x-ui-pro 是一个托管在 GitHub 上的开源项目,主要使用 Shell 编写,目前获得 1.3k 个 Star、251 次 Fork。

仓库全名
GFW4Fun/x-ui-pro
Star 数
1.3k
Fork 数
251
未关闭 Issue
20

README 摘要

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…

完整内容见 GitHub 原始 README 或本页 。

常见问题

x-ui-pro 用什么语言开发?

主要使用 Shell 编写,目前有 1.3k 个 Star。

如何获取 x-ui-pro 的源码?

可以直接克隆仓库:git clone https://github.com/GFW4Fun/x-ui-pro.git,默认分支为 master;安装与运行步骤见仓库 README。

x-ui-pro 最近还在维护吗?

仓库最近一次更新为 5月27日,当前有 20 个未关闭 Issue;Star 数为 1.3k,可作为社区活跃度的参考。

简要分析

热度分
1853
价值分
876
活跃状态
活跃

语言占比

Shell

Release

贡献者

README

XUI-PRO logo 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"
:point_right:Cloudflare users :arrow_heading_down:

(-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!

:point_right:Installation arguments :arrow_heading_down:

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) +

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 :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 / GFW-knocker/MahsaNG on the client side only.

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

:point_right:Install XUI-PRO [Secure mode] :arrow_heading_down:
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 / GFW-knocker/MahsaNG on the client side only.

The above points are highly recommended. Always use port 443 and enable TLS.

Server Configuration :wrench:🐧⚙️

Client Configuration 👨‍💻📱✏️

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

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

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

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

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

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 / ✏️

Bulk Config With Random CDN IP Range

Xray Merge Multi Config for Balancer

GFW-AntiDPI-UA-Random-Patcher

Xray Json Config Fragment for bypass firewall

Free Multi Clash/Xray/v2ray Sub link

Special thanks to xray/xui/v2ray/singbox developers :heart:

评论

暂无评论