本帖最后由 HLYYL 于 2023-8-25 14:12 编辑
https://github.com/azoway/across/tree/main/xtls
指定ID和域名,私钥后,随便重装,客户端配置不用变
多个机器换个域名一把梭
- ###### Tips
- * 通过 [xray](https://github.com/XTLS/Xray-core/releases) [caddy](https://github.com/caddyserver/caddy/releases) 配置 [reality](https://github.com/XTLS/REALITY) + [trojan](https://github.com/imgk/caddy-trojan) + [naiveproxy](https://github.com/klzgrad/naiveproxy) **共用443端口**
- * 参考:[xray](https://github.com/XTLS/Xray-examples) [lxhao61](https://github.com/lxhao61/integrated-examples)
- * 安装:
- ```bash
- 方法一: 假如已有域名 my.domain.com 指向服务器地址, 使用以下命令
- bash <(curl -s https://raw.githubusercontent.com/azoway/across/master/xtls/xtls_fly.sh) [email protected]
-
- 方法二: 假如仅有IP地址 123.123.234.234 可使用DNS泛域名解析应用nip.io/sslip.io, 使用以下命令
- bash <(curl -s https://raw.githubusercontent.com/azoway/across/master/xtls/xtls_fly.sh) [email protected]
-
- 加上uuid(默认随机):
- bash <(curl -s https://raw.githubusercontent.com/azoway/across/master/xtls/xtls_fly.sh) [email protected] uuid@97697d26-04e5-47ba-84ac-65289558977d
- 加上伪装域名(默认**azon.com):
- bash <(curl -s https://raw.githubusercontent.com/azoway/across/master/xtls/xtls_fly.sh) [email protected] fk@**azon.com
- 加上privateKey(默认由 xray x25519 命令生成):
- bash <(curl -s https://raw.githubusercontent.com/azoway/across/master/xtls/xtls_fly.sh) [email protected] pk@YGSafufMK-803V3RH5j4dkGzTR_WT8-QSObNSBlqr3Y
- ```
- * 卸载:
- ```bash
- apt purge caddy -y
- bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)" @ remove --purge
- ```
复制代码 |