1
0
mirror of https://github.com/proxysu/ProxySU.git synced 2024-11-22 13:16:09 +03:00

Update README.md

This commit is contained in:
proxysu 2020-08-18 12:46:13 +08:00 committed by GitHub
parent 9861e0a918
commit 38f29cfddf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -77,9 +77,9 @@ V2ray, Trojan, NaiveProxy, Trojan-Go, BBR install tools for windows。V2rayTr
## 程序工作流程:
1. 使用[SSH.NET](https://github.com/sshnet/SSH.NET)登录远程主机
2. 根据选择的代理来调用相应的脚本:
* 选择V2ray则调用V2ray官方安装脚本 `curl -o /tmp/go.sh https://raw.githubusercontent.com/v2fly/fhs-install-v2ray/master/install-release.sh` `bash /tmp/go.sh -f` 安装V2ray。
* 选择V2ray则调用V2ray官方安装脚本 `curl -o /tmp/go.sh https://raw.githubusercontent.com/v2fly/fhs-install-v2ray/master/install-release.sh` `yes | bash /tmp/go.sh -f` 安装V2ray。
* 选择Trojan则调用Trojan官方安装脚本 `curl -o /tmp/trojan-quickstart.sh https://raw.githubusercontent.com/trojan-gfw/trojan-quickstart/master/trojan-quickstart.sh` `yes | bash /tmp/trojan-quickstart.sh` 安装Trojan。
* 选择Trojan-Go则调用本项目内的trojan-go.sh安装 `curl -o /tmp/trojan-go.sh https://raw.githubusercontent.com/proxysu/shellscript/master/trojan-go.sh` `bash /tmp/trojan-go.sh -f` 安装Trojan-GO。
* 选择Trojan-Go则调用本项目内的trojan-go.sh安装 `curl -o /tmp/trojan-go.sh https://raw.githubusercontent.com/proxysu/shellscript/master/trojan-go.sh` `yes | bash /tmp/trojan-go.sh -f` 安装Trojan-GO。
* 选择NaiveProxy先安装Caddy2,方法源自[Caddy官方文档](https://caddyserver.com/docs/download)。再用自编译的Caddy2(带forward_proxy插件)替换原来的Caddy运行文件。自编译Caddy2文件方法源自[NaiveProxy官方文档](https://github.com/klzgrad/naiveproxy#setup)。
3. 根据选择读取相应配置模板,调用[Newtonsoft.Json](https://github.com/JamesNK/Newtonsoft.Json)生成相应配置文件,并上传到服务器。所有模板及配置文件 [在这里](https://github.com/proxysu/windows/tree/master/TemplateConfg)
4. 如果使用WebSocket + TLS + Web/http2 + TLS + Web/Trojan + TLS + Web/NaiveProxy + TLS + Web模式则安装Caddy2,方法源自[Caddy官方文档](https://caddyserver.com/docs/download)。