mirror of
https://github.com/KANIKIG/Multi-EasyGost.git
synced 2025-08-10 00:52:32 +00:00
fix
This commit is contained in:
8
gost.sh
8
gost.sh
@@ -314,10 +314,13 @@ function method()
|
||||
\"relay+wss://$d_ip:$d_port\"" >> $gost_conf_path
|
||||
elif [ "$is_encrypt" = "decrypttls" ]; then
|
||||
echo " \"relay+tls://:$s_port/$d_ip:$d_port\"" >> $gost_conf_path
|
||||
proxy
|
||||
elif [ "$is_encrypt" = "decryptws" ]; then
|
||||
echo " \"relay+ws://:$s_port/$d_ip:$d_port\"" >> $gost_conf_path
|
||||
proxy
|
||||
elif [ "$is_encrypt" = "decryptwss" ]; then
|
||||
echo " \"relay+wss://:$s_port/$d_ip:$d_port\"" >> $gost_conf_path
|
||||
proxy
|
||||
else
|
||||
echo "config error"
|
||||
fi
|
||||
@@ -345,10 +348,13 @@ function method()
|
||||
\"relay+wss://$d_ip:$d_port\"" >> $gost_conf_path
|
||||
elif [ "$is_encrypt" = "decrypttls" ]; then
|
||||
echo " \"relay+tls://:$s_port/$d_ip:$d_port\"" >> $gost_conf_path
|
||||
proxy
|
||||
elif [ "$is_encrypt" = "decryptws" ]; then
|
||||
echo " \"relay+ws://:$s_port/$d_ip:$d_port\"" >> $gost_conf_path
|
||||
proxy
|
||||
elif [ "$is_encrypt" = "decryptwss" ]; then
|
||||
echo " \"relay+wss://:$s_port/$d_ip:$d_port\"" >> $gost_conf_path
|
||||
proxy
|
||||
else
|
||||
echo "config error"
|
||||
fi
|
||||
@@ -446,14 +452,12 @@ function writeconf()
|
||||
eachconf_retrieve
|
||||
multiconfstart
|
||||
method
|
||||
proxy
|
||||
multiconflast
|
||||
else
|
||||
trans_conf=$(sed -n "${i}p" $raw_conf_path)
|
||||
eachconf_retrieve
|
||||
multiconfstart
|
||||
method
|
||||
proxy
|
||||
multiconflast
|
||||
fi
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user