Update openvpn-install.sh
Updated openvpn-install.sh to use ip.me since ifconfig.co is not working
This commit is contained in:
parent
b2888fa514
commit
fd707bea39
1 changed files with 1 additions and 1 deletions
|
@ -618,7 +618,7 @@ function installOpenVPN() {
|
||||||
if [[ $IPV6_SUPPORT == "y" ]]; then
|
if [[ $IPV6_SUPPORT == "y" ]]; then
|
||||||
PUBLIC_IP=$(curl https://ifconfig.co)
|
PUBLIC_IP=$(curl https://ifconfig.co)
|
||||||
else
|
else
|
||||||
PUBLIC_IP=$(curl -4 https://ifconfig.co)
|
PUBLIC_IP=$(curl -4 https://ip.me)
|
||||||
fi
|
fi
|
||||||
ENDPOINT=${ENDPOINT:-$PUBLIC_IP}
|
ENDPOINT=${ENDPOINT:-$PUBLIC_IP}
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue