Allow wireguard

This commit is contained in:
Alexandre
2023-12-14 11:11:26 +01:00
committed by GitHub
parent 2d5a156e8a
commit 76fff1d7b2

View File

@@ -49,3 +49,6 @@ if [[ "$(bashio::config "VPN_ENABLED")" == "yes" ]] && [[ "$(bashio::config "VPN
ip route add 172.16.0.0/12 via 172.30.32.1
fi
# Set net.ipv4.conf.all.src_valid_mark
sed -i -E 's/&& cmd sysctl -q net.ipv4.conf.all.src_valid_mark=1//gm' "$(command -v wg-quick)" || true