Healthcheck checks your IP is in the VPN configuration file
This commit is contained in:
@@ -119,14 +119,6 @@ echo "options ndots:0" >> /etc/resolv.conf
|
||||
exitOnError $?
|
||||
printf "DONE\n"
|
||||
|
||||
############################################
|
||||
# ORIGINAL IP FOR HEALTHCHECK
|
||||
############################################
|
||||
printf "Getting non VPN public IP address..."
|
||||
export INITIAL_IP=$(wget -qO- 'https://duckduckgo.com/?q=what+is+my+ip' | grep -o 'Your IP address is [0-9.]*[0-9]' | grep -o '[0-9][0-9.]*')
|
||||
exitOnError $?
|
||||
printf "$INITIAL_IP\n"
|
||||
|
||||
############################################
|
||||
# FIREWALL
|
||||
############################################
|
||||
|
||||
Reference in New Issue
Block a user