fix: use ipv4 only

main
Ayush Mukherjee 5 months ago
parent 02144067ec
commit 06c9ec3501

@ -25,7 +25,7 @@ upriv=`cat $user/privatekey`
upub=`cat $user/publickey` upub=`cat $user/publickey`
# get server ip # get server ip
ip=`curl ifconfig.me` ip=`curl -4 ifconfig.me`
# generate server config # generate server config
cat > $server/wg0.conf <<EOF cat > $server/wg0.conf <<EOF

Loading…
Cancel
Save