From: Paul Donald Date: Tue, 19 Dec 2023 16:51:58 +0000 (+0100) Subject: luci-app-openvpn: Add multihome boolean. X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=117ca02cfce6fb9a5b18ba1f58e2bb30d399d718;p=project%2Fluci.git luci-app-openvpn: Add multihome boolean. Helps when you have multiple IP(v4|v6) Signed-off-by: Paul Donald (cherry picked from commit a5ed5976f4cf70a36863e69da8c055f855545f87) --- diff --git a/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua b/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua index 0dca521a0c..5268157283 100644 --- a/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua +++ b/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua @@ -195,6 +195,10 @@ local knownParams = { "nobind", 0, translate("Do not bind to local address and port") }, + { Flag, + "multihome", + 0, + translate("When you have more than one IP address (e.g. multiple interfaces, or secondary IP addresses), and do not use --local to force binding to one specific address only") }, { Value, "dev", "tun0",