From 9a0efb1f078fb8bc8ca3a2ce8411e5d55355a71c Mon Sep 17 00:00:00 2001 From: Kar Date: Tue, 29 Apr 2025 12:10:12 +0000 Subject: [PATCH] Update wg_init.sh --- wg_init.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wg_init.sh b/wg_init.sh index e9dcbb9..dde790b 100644 --- a/wg_init.sh +++ b/wg_init.sh @@ -47,7 +47,7 @@ systemctl enable wg-quick@wg0 systemctl start wg-quick@wg0 # Detect public IP -PUBLIC_IP=$(curl -s ifconfig.me) +PUBLIC_IP=$(curl -4 -s ifconfig.me) # Setup Mobile Peer MOBILE_DIR="$WG_DIR/mobile_1"