From 77a755181c2699a1a1d7ad03199c1ba93ce9b908 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Mon, 21 Feb 2022 21:08:43 +0100 Subject: [PATCH] Update 93-openvpn.sh --- qbittorrent/rootfs/etc/cont-init.d/93-openvpn.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/qbittorrent/rootfs/etc/cont-init.d/93-openvpn.sh b/qbittorrent/rootfs/etc/cont-init.d/93-openvpn.sh index 050a201c9..5a0ca8970 100644 --- a/qbittorrent/rootfs/etc/cont-init.d/93-openvpn.sh +++ b/qbittorrent/rootfs/etc/cont-init.d/93-openvpn.sh @@ -10,6 +10,16 @@ if bashio::config.true 'openvpn_enabled'; then bashio::log.info "Configuring openvpn" + ############### + # ENABLE IPV6 # + ############### + + { echo "net.ipv6.conf.all.disable_ipv6 = 0"; + echo "net.ipv6.conf.default.disable_ipv6 = 0"; + echo "net.ipv6.conf.lo.disable_ipv6 = 0"; } >> /etc/sysctl.conf || true + + sysctl -p || true + ##################### # CONFIGURE OPENVPN # #####################