Invert openvpn_alt_mode binding behavior

This commit is contained in:
Alexandre
2025-11-25 13:24:10 +01:00
parent fa45da21a3
commit aa19627ee7
6 changed files with 56 additions and 54 deletions

View File

@@ -133,7 +133,7 @@ if bashio::config.true 'wireguard_enabled'; then
vpn_wireguard=true
fi
if ! bashio::config.true 'openvpn_alt_mode'; then
if bashio::config.true 'openvpn_alt_mode'; then
if [[ "${vpn_openvpn}" == true ]]; then
VPN_INTERFACE="tun0"
bashio::log.info "VPN monitor set to query external IP through interface ${VPN_INTERFACE} (interface binding)."