均衡负载test

This commit is contained in:
KANIKIG
2020-12-13 23:09:40 +08:00
parent 6243bdaffe
commit 842f50cb6a

View File

@@ -410,8 +410,8 @@ function method() {
echo " \"tcp://:$s_port/$d_ip:$d_port\",
\"udp://:$s_port/$d_ip:$d_port\"" >>$gost_conf_path
elif [[ "$is_encrypt" == "peer"* ]]; then
echo " \"tcp://:$s_port?peer=$d_ip.txt\",
\"udp://:$s_port?peer=$d_ip.txt\"" >>$gost_conf_path
echo " \"tcp://:$s_port?peer=~/$d_ip.txt\",
\"udp://:$s_port?peer=~/$d_ip.txt\"" >>$gost_conf_path
elif [ "$is_encrypt" == "encrypttls" ]; then
echo " \"tcp://:$s_port\",
\"udp://:$s_port\"
@@ -448,8 +448,8 @@ function method() {
echo " \"tcp://:$s_port/$d_ip:$d_port\",
\"udp://:$s_port/$d_ip:$d_port\"" >>$gost_conf_path
elif [[ "$is_encrypt" == "peer"* ]]; then
echo " \"tcp://:$s_port?peer=$d_ip.txt\",
\"udp://:$s_port?peer=$d_ip.txt\"" >>$gost_conf_path
echo " \"tcp://:$s_port?peer=~/$d_ip.txt\",
\"udp://:$s_port?peer=~/$d_ip.txt\"" >>$gost_conf_path
elif [ "$is_encrypt" == "encrypttls" ]; then
echo " \"tcp://:$s_port\",
\"udp://:$s_port\"