This repository contains some useful scripts for x-ui and 3x-ui.
Manual Build 3x-ui
bash <(curl -sSL https://raw.githubusercontent.com/hamid-gh98/x-ui-scripts/main/build_3x-ui.sh)
Install Warp (on socks5 proxy) for 3x-ui
bash <(curl -sSL https://raw.githubusercontent.com/hamid-gh98/x-ui-scripts/main/install_warp_proxy.sh)
-y
=> Accept default values-f
=> Force reinstall Warp Socks5 Proxy (WireProxy)
warp u
=> Uninstall Warpwarp a
=> Change Warp Account Type (free, plus, etc.)warp y
=> Turn on/off WireProxy
- To use IPv4 for routing warp:
- Go to Panel > Settings > Xray Configurations > Complete Template
- Find the object with tag
WARP
in outbounds:{ "tag": "WARP", "protocol": "socks", "settings": { "servers": [ { "address": "127.0.0.1", "port": 40000 } ] } }
- Replace it with the following json object:
{ "tag": "WARP-socks5", "protocol": "socks", "settings": { "servers": [ { "address": "127.0.0.1", "port": 40000 } ] } }, { "tag":"WARP", "protocol":"freedom", "proxySettings":{ "tag":"WARP-socks5" }, "settings":{ "domainStrategy":"UseIPv4" } }
- To use IPv6 for routing warp:
- Follow the same steps as for IPv4, replacing
UseIPv4
withUseIPv6
- Follow the same steps as for IPv4, replacing