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 <