GFW4Fun / x-ui-pro

:atom:X-UI PRO nginx reverse proxy with ws/grpc/httpupgrade/splithttp,xray protocol support: vless,vmess,trojan,shadowsocks xui panel cloudflare ssl,xtls-rprx,ssr,v2fly bypass restrictions: socks5,v2ray-core installer,sing-box,shadowtls,reality,tunnel,gfw tor warp wireguard geoip tuic clash vpn mihomo psiphon hy2 oneclick argo bbr anticensorship.
322 stars 102 forks source link
cloudflare-warp-plus great-firewall grpc httpupgrade nginx psiphon reverse-proxy shadowsocks singbox splithttp tor tunnel v2ray wireguard wireguard-vpn x-ui x-ui-pro xray xray-panel xui

X-Ui-Pro (XRAY-UI + Nginx + WARP + TOR + Psiphon + WireGuard) :rocket:

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 xray-ui, warp, tor and nginx to offer a comprehensive solution for bypassing internet restrictions.

Install X-UI-PRO: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 -cdn off"
Cloudflare users :small_red_triangle_down: ## **Cloudflare users > -cdn on > DomainON** **SSL Support** (yourdomain.com, *.yourdomain.com) **For add new subdomain, just add a new record A,AAAA[IP] in domain dns management! no need to reinstall the panel!**
Installation arguments :small_red_triangle_down: ## **Random FakeSite**:earth_asia: ``` sudo su -c "bash <(wget -qO- cdn.jsdelivr.net/gh/GFW4Fun/x-ui-pro/x-ui-pro.sh) -RandomTemplate yes" ``` **Uninstall X-UI-PRO**:x: ``` sudo su -c "bash <(wget -qO- cdn.jsdelivr.net/gh/GFW4Fun/x-ui-pro/x-ui-pro.sh) -Uninstall yes" ``` **Enable Psiphon in WARP(Custom Country) +** ``` sudo su -c "bash <(wget -qO- cdn.jsdelivr.net/gh/GFW4Fun/x-ui-pro/x-ui-pro.sh) -WarpCfonCountry US" ``` **Enable Psiphon in WARP(Random Country)🌐🎲** ``` sudo su -c "bash <(wget -qO- cdn.jsdelivr.net/gh/GFW4Fun/x-ui-pro/x-ui-pro.sh) -WarpCfonCountry XX" ``` **Add LicenseKey to WARPπŸ”‘** ``` sudo su -c "bash <(wget -qO- cdn.jsdelivr.net/gh/GFW4Fun/x-ui-pro/x-ui-pro.sh) -WarpLicKey xxxx-xxxx-xxxx" ``` **Disable WarpPsiphon and WARP CleanKey❌** ``` sudo su -c "bash <(wget -qO- cdn.jsdelivr.net/gh/GFW4Fun/x-ui-pro/x-ui-pro.sh) -CleanKeyCfon yes" ``` **Other arguments:☒️** -panel 0 > Alireza0 -panel 1 > MHSanaei -panel 2 > FranzKafkaYu

βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–

Server Configuration :wrench:πŸ§βš™οΈ

βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–

Client Configuration πŸ‘¨β€πŸ’»πŸ“±βœοΈ

βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–

Enable WARP TOR πŸ§… (Fix Google&ChatGPT Forbidden/Hide VPS IP)

WARP☁️> XUI > Xray Configs > Outbounds > WARP > Create > Add > Save Restart!

WARP-Plus☁️> XUI > Xray Configs > Outbounds > Add Outbound > Protocol:Socks > Tag:warp+ > Address:Port 127.0.0.1:8086 > Add > Save Restart!

TOR πŸ§…> XUI > Xray Configs > Outbounds > Add Outbound > Protocol:Socks > Tag:tor > Address:Port 127.0.0.1:9050 > Add > Save Restart!

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

βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–

Checking Config/Port inside VPS (Internal)πŸ”„

Example: Check TOR/Psiphon/WARP on your server!

#TOR
curl -s --socks5-hostname 127.0.0.1:9050 "http://ip-api.com/json/" | jq .

#WARP/Psiphon
curl -s --socks5-hostname 127.0.0.1:8086 "http://ip-api.com/json/" | jq .

If return details, The port is active and healthyπŸ“Άβœ…

βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–

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

βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–

Enable UFW :no_entry_sign: Firewall (Prevent direct access to x-ui-xray ports)

apt update && apt install ufw
ufw reset && ufw allow ssh && ufw allow ftp && ufw allow http && ufw allow https
ufw enable && ufw reload && ufw status

βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–

Cloudflare Find Good IP (VPN off❗ during scanning)

Cloudflare IP Ranges: https://www.cloudflare.com/ips/

Cloudflare IP Scanner: vfarid | goldsrc | ircfspace | drunkleen | cloudflare-v2ray-scanner

Please Star ⭐ Thank you!