Skip to content

Commit

Permalink
mode=websocket for ss
Browse files Browse the repository at this point in the history
  • Loading branch information
phlinhng committed Oct 15, 2020
1 parent 11cb17b commit a946f94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/v2gun.sh
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ show_links() {

colorEcho ${BLUE} "Shadowsocks"
local user_ss="$(printf %s "aes-128-gcm:${uuid}" | base64 --wrap=0)"
local uri_ss="${user_ss}@${sni}:443/?plugin=`urlEncode "v2ray-plugin;tls;host=${sni};path=${path};mux=0"`#`urlEncode "${sni} (SS)"`"
local uri_ss="${user_ss}@${sni}:443/?plugin=`urlEncode "v2ray-plugin;tls;mode=websocket;host=${sni};path=${path};mux=0"`#`urlEncode "${sni} (SS)"`"
printf "%s\n" "ss://${uri_ss}"

#colorEcho ${YELLOW} "===============配 置 文 件==============="
Expand Down

0 comments on commit a946f94

Please sign in to comment.