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:59:19 +0000 (17:59 +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 e48718deee7a47c470f60f291793cb08839f4e22..b75aa9fbafefbf82c459f09a04ea7940dd056b7a 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",