From 117ca02cfce6fb9a5b18ba1f58e2bb30d399d718 Mon Sep 17 00:00:00 2001 From: Paul Donald Date: Tue, 19 Dec 2023 17:51:58 +0100 Subject: [PATCH] luci-app-openvpn: Add multihome boolean. Helps when you have multiple IP(v4|v6) Signed-off-by: Paul Donald (cherry picked from commit a5ed5976f4cf70a36863e69da8c055f855545f87) --- .../luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua | 4 ++++ 1 file changed, 4 insertions(+) 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", -- 2.30.2