mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-18 13:29:14 +02: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
|
ip route add 172.16.0.0/12 via 172.30.32.1
|
||||||
|
|
||||||
fi
|
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