mirror of
https://github.com/KANIKIG/Multi-EasyGost.git
synced 2025-08-10 00:52:32 +00:00
fix
This commit is contained in:
14
gost.sh
14
gost.sh
@@ -313,14 +313,20 @@ function method()
|
||||
\"ChainNodes\": [
|
||||
\"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
|
||||
{
|
||||
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
|
||||
@@ -347,14 +353,20 @@ function method()
|
||||
\"ChainNodes\": [
|
||||
\"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
|
||||
|
||||
Reference in New Issue
Block a user