From 2878036b1213ce749b6e6a9726ae5e1c63fb6313 Mon Sep 17 00:00:00 2001 From: CN-JS-HuiBai Date: Wed, 16 Oct 2024 22:52:50 +0800 Subject: [PATCH] remove IPv6 Support --- run-wireguard.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run-wireguard.sh b/run-wireguard.sh index 0f6c09e..c6d82ef 100644 --- a/run-wireguard.sh +++ b/run-wireguard.sh @@ -87,7 +87,7 @@ wireguard_install(){ s2=$(cat spublickey) c1=$(cat cprivatekey) c2=$(cat cpublickey) - serverip=$(curl https://ddnsip.cn) + serverip=$(curl https://ipv4.ddnsip.cn) port=$(rand 10000 60000) eth=$(ls /sys/class/net | grep e | head -1) chmod 777 -R /etc/wireguard