mirror of
https://github.com/angristan/openvpn-install.git
synced 2025-03-13 14:13:14 +01:00
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
@ -618,7 +618,7 @@ function installOpenVPN() {
|
||||
if [[ $IPV6_SUPPORT == "y" ]]; then
|
||||
PUBLIC_IP=$(curl https://ifconfig.co)
|
||||
else
|
||||
PUBLIC_IP=$(curl -4 https://ifconfig.co)
|
||||
PUBLIC_IP=$(curl -4 https://ip.me)
|
||||
fi
|
||||
ENDPOINT=${ENDPOINT:-$PUBLIC_IP}
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user