mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-07-08 06:50:58 +02:00
Update 93-openvpn.sh
This commit is contained in:
@@ -10,6 +10,16 @@ if bashio::config.true 'openvpn_enabled'; then
|
|||||||
|
|
||||||
bashio::log.info "Configuring openvpn"
|
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 #
|
# CONFIGURE OPENVPN #
|
||||||
#####################
|
#####################
|
||||||
|
|||||||
Reference in New Issue
Block a user