From 06c9ec350192e53c28ad986bed103239e447b582 Mon Sep 17 00:00:00 2001 From: Ayush Mukherjee Date: Fri, 28 Jun 2024 00:39:21 +0530 Subject: [PATCH] fix: use ipv4 only --- createwg.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/createwg.sh b/createwg.sh index e364108..de2db55 100644 --- a/createwg.sh +++ b/createwg.sh @@ -25,7 +25,7 @@ upriv=`cat $user/privatekey` upub=`cat $user/publickey` # get server ip -ip=`curl ifconfig.me` +ip=`curl -4 ifconfig.me` # generate server config cat > $server/wg0.conf <