From 53a3b8877b821985fc735bb2ede97c4686493a19 Mon Sep 17 00:00:00 2001 From: KANIKIG Date: Thu, 17 Dec 2020 12:33:45 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0gost=E5=9B=BD=E5=86=85?= =?UTF-8?q?=E5=8A=A0=E9=80=9F=E4=B8=8B=E8=BD=BD=E9=95=9C=E5=83=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 1 + gost.sh | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 1f55856..e0d91c6 100755 --- a/README.md +++ b/README.md @@ -35,6 +35,7 @@ - relay+wss - 落地机一键创建ss或socks5代理 (gost内置) - 支持多传输类型的多落地简单型均衡负载 +- 增加gost国内加速下载镜像 ## 功能展示 diff --git a/gost.sh b/gost.sh index 9e663d5..041fe09 100755 --- a/gost.sh +++ b/gost.sh @@ -455,19 +455,19 @@ function method() { ], \"ChainNodes\": [ \"relay+wss://$d_ip:$d_port\"" >>$gost_conf_path - elif [ "$is_encrypt" == "peertls" ]; then + elif [ "$is_encrypt" == "peertls" ]; then echo " \"tcp://:$s_port\", \"udp://:$s_port\" ], \"ChainNodes\": [ \"relay+tls://:?ip=/root/$d_ip.txt&strategy=$d_port\"" >>$gost_conf_path - elif [ "$is_encrypt" == "peerws" ]; then + elif [ "$is_encrypt" == "peerws" ]; then echo " \"tcp://:$s_port\", \"udp://:$s_port\" ], \"ChainNodes\": [ \"relay+ws://:?ip=/root/$d_ip.txt&strategy=$d_port\"" >>$gost_conf_path - elif [ "$is_encrypt" == "peerwss" ]; then + elif [ "$is_encrypt" == "peerwss" ]; then echo " \"tcp://:$s_port\", \"udp://:$s_port\" ],