Browse Source

Merge pull request #22 from dukaev/fix/detect-ip4

Aslan Dukaev 5 years ago
parent
commit
e14c3ff399
1 changed files with 1 additions and 1 deletions
  1. 1 1
      scripts/install.sh

+ 1 - 1
scripts/install.sh

@@ -88,7 +88,7 @@ WORKDIR="/home/proxy-installer"
 WORKDATA="${WORKDIR}/data.txt"
 WORKDATA="${WORKDIR}/data.txt"
 mkdir $WORKDIR && cd $_
 mkdir $WORKDIR && cd $_
 
 
-IP4=$(curl -4 -s ifconfig.co)
+IP4=$(curl -4 -s icanhazip.com)
 IP6=$(curl -6 -s icanhazip.com | cut -f1-4 -d':')
 IP6=$(curl -6 -s icanhazip.com | cut -f1-4 -d':')
 
 
 echo "Internal ip = ${IP4}. Exteranl sub for ip6 = ${IP6}"
 echo "Internal ip = ${IP4}. Exteranl sub for ip6 = ${IP6}"