From 0cce45d83731ba1523a73233c809d3fdbf3e1f11 Mon Sep 17 00:00:00 2001 From: Santa-Claus_16 Date: Wed, 12 Nov 2025 18:28:17 +0300 Subject: [PATCH] Update warp6.sh --- warp6.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/warp6.sh b/warp6.sh index f290240..7482571 100644 --- a/warp6.sh +++ b/warp6.sh @@ -8,8 +8,10 @@ PRIVATE_KEY=$(echo "$response" | jq -r '.result.key') PUBLIC_KEY=$(echo "$response" | jq -r '.result.config.peers[0].public_key') IPV6=$(echo "$response" | jq -r '.result.config.interface.addresses.v6')/128 HOST=$(echo "$response" | jq -r '.result.config.peers[0].endpoint.host') -ENDPOINT_DOMAIN=$(echo "$HOST" | awk -F: '{print $1}') -ENDPOINT_PORT=$(echo "$HOST" | awk -F: '{print $2}') +#ENDPOINT_DOMAIN=$(echo "$HOST" | awk -F: '{print $1}') +#ENDPOINT_PORT=$(echo "$HOST" | awk -F: '{print $2}') +ENDPOINT_DOMAIN="188.114.96.1" +ENDPOINT_PORT="500" for var in PRIVATE_KEY IPV6 ENDPOINT_DOMAIN ENDPOINT_PORT PUBLIC_KEY; do eval val=\$$var