From 20569c7106fb3816308ebe0a9d31a62ded40d536 Mon Sep 17 00:00:00 2001 From: xiahare Date: Fri, 18 Oct 2024 12:00:08 -0700 Subject: [PATCH 1/3] url ip.seeip.org has been changed to api.seeip.org --- openvpn-install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openvpn-install.sh b/openvpn-install.sh index 6c6a6474..d9397b16 100755 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -627,11 +627,11 @@ function installOpenVPN() { # Behind NAT, we'll default to the publicly reachable IPv4/IPv6. if [[ $IPV6_SUPPORT == "y" ]]; then - if ! PUBLIC_IP=$(curl -f --retry 5 --retry-connrefused https://ip.seeip.org); then + if ! PUBLIC_IP=$(curl -f --retry 5 --retry-connrefused https://api.seeip.org); then PUBLIC_IP=$(dig -6 TXT +short o-o.myaddr.l.google.com @ns1.google.com | tr -d '"') fi else - if ! PUBLIC_IP=$(curl -f --retry 5 --retry-connrefused -4 https://ip.seeip.org); then + if ! PUBLIC_IP=$(curl -f --retry 5 --retry-connrefused -4 https://api.seeip.org); then PUBLIC_IP=$(dig -4 TXT +short o-o.myaddr.l.google.com @ns1.google.com | tr -d '"') fi fi From f93092ee44129d6a4ec20c5913ab6ebd305edf86 Mon Sep 17 00:00:00 2001 From: xiahare Date: Fri, 18 Oct 2024 12:17:46 -0700 Subject: [PATCH 2/3] update readme:curl url --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index dd83d6a7..e74b2078 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ You can also check out [wireguard-install](https://github.com/angristan/wireguar First, get the script and make it executable: ```bash -curl -O https://raw.githubusercontent.com/angristan/openvpn-install/master/openvpn-install.sh +curl -O https://raw.githubusercontent.com/xiahare/openvpn-install/master/openvpn-install.sh chmod +x openvpn-install.sh ``` From 417f9a7bd5a89a646263b841f9d5f40dc9c9b50c Mon Sep 17 00:00:00 2001 From: xiahare Date: Fri, 18 Oct 2024 12:18:53 -0700 Subject: [PATCH 3/3] update readme:curl url --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e74b2078..dd83d6a7 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ You can also check out [wireguard-install](https://github.com/angristan/wireguar First, get the script and make it executable: ```bash -curl -O https://raw.githubusercontent.com/xiahare/openvpn-install/master/openvpn-install.sh +curl -O https://raw.githubusercontent.com/angristan/openvpn-install/master/openvpn-install.sh chmod +x openvpn-install.sh ```