Update 93-openvpn.sh

This commit is contained in:
Alexandre
2022-02-21 21:08:43 +01:00
committed by GitHub
parent 8abe395aeb
commit 77a755181c

View File

@@ -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 #
#####################