From 1f9086112702ff18827a9797ac5a2db5a8954c83 Mon Sep 17 00:00:00 2001 From: Return <151555003+H-Return@users.noreply.github.com> Date: Wed, 29 May 2024 18:20:01 +0330 Subject: [PATCH] Update install.sh --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index e03f530..b4ca491 100644 --- a/install.sh +++ b/install.sh @@ -80,8 +80,8 @@ if systemctl is-active --quiet hysteria-server.service; then echo "Generating URI Scheme..." IP=$(curl -4 ip.sb) IP6=$(curl -6 ip.sb) - URI="hy2://$authpassword@$IP:$port?obfs=salamander&obfs-password=$obfspassword&pinSHA256=$sha256&insecure=1&sni=bing.com#Hysteria2" - URI6="hy2://$authpassword@[$IP6]:$port?obfs=salamander&obfs-password=$obfspassword&pinSHA256=$sha256&insecure=1&sni=bing.com#Hysteria2" + URI="hy2://$authpassword@$IP:$port?obfs=salamander&obfs-password=$obfspassword&pinSHA256=$sha256&insecure=1&sni=bing.com#Hysteria2-IPv4" + URI6="hy2://$authpassword@[$IP6]:$port?obfs=salamander&obfs-password=$obfspassword&pinSHA256=$sha256&insecure=1&sni=bing.com#Hysteria2-IPv6" # Step 13: Generate and display QR Code in the center of the terminal cols=$(tput cols) rows=$(tput lines)