luci-app-openvpn: Add multihome boolean.
authorPaul Donald <newtwen@gmail.com>
Tue, 19 Dec 2023 16:51:58 +0000 (17:51 +0100)
committerPaul Donald <newtwen@gmail.com>
Tue, 19 Dec 2023 16:58:52 +0000 (17:58 +0100)
Helps when you have multiple IP(v4|v6)

Signed-off-by: Paul Donald <newtwen@gmail.com>
(cherry picked from commit a5ed5976f4cf70a36863e69da8c055f855545f87)

applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua

index 0dca521a0c1eafffafb916d0b714c581c2cd0fa3..526815728365ed5d3a8ba4bf629290b27b07cb05 100644 (file)
@@ -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",