From b61847bdaad2f31a18eb32289061841170966fc0 Mon Sep 17 00:00:00 2001 From: Return <151555003+H-Return@users.noreply.github.com> Date: Wed, 29 May 2024 18:14:46 +0330 Subject: [PATCH] Update IPv6 --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index f2c8446..e03f530 100644 --- a/install.sh +++ b/install.sh @@ -81,7 +81,7 @@ if systemctl is-active --quiet hysteria-server.service; then 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" + URI6="hy2://$authpassword@[$IP6]:$port?obfs=salamander&obfs-password=$obfspassword&pinSHA256=$sha256&insecure=1&sni=bing.com#Hysteria2" # Step 13: Generate and display QR Code in the center of the terminal cols=$(tput cols) rows=$(tput lines)