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`
# get server ip
ip=`curl ifconfig.me`
ip=`curl -4 ifconfig.me`
# generate server config
cat > $server/wg0.conf <<EOF

Loading…
Cancel
Save