summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua
diff options
context:
space:
mode:
authorPaul Donald <newtwen@gmail.com>2023-12-19 17:51:58 +0100
committerPaul Donald <newtwen@gmail.com>2023-12-19 17:57:14 +0100
commita5ed5976f4cf70a36863e69da8c055f855545f87 (patch)
treed175be93e0185bccfedbfbdb2bdabe52d61a3103 /applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua
parente7650bb86aaacb6ef654c9e10f25cc7c9f799556 (diff)
luci-app-openvpn: Add multihome boolean.
Helps when you have multiple IP(v4|v6) Signed-off-by: Paul Donald <newtwen@gmail.com>
Diffstat (limited to 'applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua')
-rw-r--r--applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua4
1 files changed, 4 insertions, 0 deletions
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",