1
0
mirror of https://github.com/proxysu/ProxySU.git synced 2025-02-16 14:43:14 +03:00

Update README.md

This commit is contained in:
proxysu 2020-04-29 17:40:00 +08:00 committed by GitHub
parent a662bc6562
commit 452f547514
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,8 +60,8 @@ V2ray and Trojan install tools for windows。V2ray和Trojan一键安装工具。
* 选择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。
* 选择NaiveProxy则调用本项目内的naive-quickstart.sh安装`curl -o /tmp/naive-quickstart.sh https://raw.githubusercontent.com/proxysu/shellscript/master/naive-quickstart.sh` `yes | bash /tmp/naive-quickstart.sh` 安装NaiveProxy。
3. 根据选择读取相应配置模板,调用[Newtonsoft.Json](https://github.com/JamesNK/Newtonsoft.Json)生成相应配置文件,并上传到服务器。
4. 如果使用WebSocket+TLS+Web/http2+TLS+Web/Trojan + TLS + Web模式则调用Caddy官方安装脚本 `curl https://getcaddy.com -o getcaddy`
`bash getcaddy personal hook.service` ,安装Caddy。
4. 如果使用WebSocket + TLS + Web/http2 + TLS + Web/Trojan + TLS + Web/NaiveProxy + TLS + Web模式则调用Caddy官方安装脚本 `curl https://getcaddy.com -o getcaddy`
`bash getcaddy personal hook.service` 、或`bash getcaddy personal hook.service,http.forwardproxy` 安装 Caddy。
5. 如果使用Http2/tcp+TLS/WebSocket+TLS模式则调用 `curl https://raw.githubusercontent.com/acmesh-official/acme.sh/master/acme.sh | INSTALLONLINE=1 sh` 安装acme.sh使用acme.sh申请并安装证书到V2ray.
6. 安装成功后,使用[Newtonsoft.Json](https://github.com/JamesNK/Newtonsoft.Json)生成兼容于v2rayN的json文件用C#内置的Base64库将json生成url链接,使用[QRcoder](https://github.com/codebude/QRCoder)生成二维码。