mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 18:31:02 +01:00
Allow wireguard
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user