summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorManuel Munz <freifunk@somakoma.de>2011-06-03 23:07:02 +0000
committerManuel Munz <freifunk@somakoma.de>2011-06-03 23:07:02 +0000
commitdb0412666f5e3cc6326f64182241c9eccee8929d (patch)
tree385e314d8606fe68c12a81b90d0e94edef7387a2
parent1d70d03c08a061eff901a65d952526246989181b (diff)
applications/openvpn: Add script_security and topology options (#251)
-rw-r--r--applications/luci-openvpn/luasrc/model/cbi/openvpn-advanced.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/applications/luci-openvpn/luasrc/model/cbi/openvpn-advanced.lua b/applications/luci-openvpn/luasrc/model/cbi/openvpn-advanced.lua
index 13dfd1297..da97ee986 100644
--- a/applications/luci-openvpn/luasrc/model/cbi/openvpn-advanced.lua
+++ b/applications/luci-openvpn/luasrc/model/cbi/openvpn-advanced.lua
@@ -58,6 +58,7 @@ local knownParams = {
{ Flag, "client_disconnect", 0 },
{ Value, "learn_address", "/usr/bin/ovpn-learnaddress" },
{ Value, "auth_user_pass_verify", "/usr/bin/ovpn-userpass via-env" },
+ { ListValue, "script_security", { 0, 1, 2, 3 }, {mode="server" } },
} },
{ "networking", {
@@ -115,6 +116,7 @@ local knownParams = {
{ Flag, "management_query_passwords", 0 }, -- management
{ Flag, "management_hold", 0 }, -- management
{ Flag, "management_log_cache", 100 }, -- management
+ { ListValue, "topology", { "net30", "p2p", "subnet" }, {dev_type="tun" } },
} },
{ "vpn", {