From b0c17ed1d54efdc3195bcdf3a30b834d0ab4e1c6 Mon Sep 17 00:00:00 2001 From: Celogeek <65178+celogeek@users.noreply.github.com> Date: Sun, 9 Aug 2020 10:03:10 +0200 Subject: [PATCH] fix external ips --- files/etc/cron.daily/realip | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/etc/cron.daily/realip b/files/etc/cron.daily/realip index f2f78d5..bf0722e 100755 --- a/files/etc/cron.daily/realip +++ b/files/etc/cron.daily/realip @@ -3,8 +3,8 @@ set -e T=`mktemp` -IPV4=$(curl -s -4 ip.sb) -IPV6=$(curl -s -6 ip.sb) +IPV4=$(curl -s https://api.ipify.org) +IPV6=$(curl -s https://api6.ipify.org) [ "$IPV4" = "" ] || IPV4="set_real_ip_from $IPV4;" [ "$IPV6" = "" ] || IPV6="set_real_ip_from $IPV6;"