From ca6ad47646ae10e1deaa789471d91f08e0815f0b Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sun, 23 Nov 2025 15:50:13 +0000 Subject: [PATCH] Update IP retrieval method in OpenVPN script --- qbittorrent/rootfs/etc/cont-init.d/93-openvpn.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/qbittorrent/rootfs/etc/cont-init.d/93-openvpn.sh b/qbittorrent/rootfs/etc/cont-init.d/93-openvpn.sh index d2dcffc7d..05978316e 100755 --- a/qbittorrent/rootfs/etc/cont-init.d/93-openvpn.sh +++ b/qbittorrent/rootfs/etc/cont-init.d/93-openvpn.sh @@ -15,7 +15,9 @@ if bashio::config.true 'openvpn_enabled'; then bashio::log.info "----------------------------" # Get current ip - curl -s ipecho.net/plain > /currentip + ( curl -fsS --max-time 10 https://ifconfig.co/ip \ + || curl -fsS --max-time 10 https://api64.ipify.org \ + || curl -fsS --max-time 10 https://ipecho.net/plain ) > /currentip # Function to check for files path function check_path() {