summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-openvpn/luasrc/model/cbi/openvpn-basic.lua
diff options
context:
space:
mode:
authorMarkus Wigge <markus@cultcom.de>2009-04-16 15:18:24 +0000
committerMarkus Wigge <markus@cultcom.de>2009-04-16 15:18:24 +0000
commit43173b1f31f36d22db5f4918587d80acfe10b9cd (patch)
tree908122f0e90962b158be38ff0538cf0bba08edcb /applications/luci-openvpn/luasrc/model/cbi/openvpn-basic.lua
parente152620080cf0a279e2fa5219913ec6539c65733 (diff)
- removed init- and config-files shipped with the openvpn package
- changed the description for the management port option - changed PKI options from "Value" to "FileUpload" - added "pkcs12" option to basic theme - cleaned the recipes by removing defaults and adding approved config options we use for some years now. - ... more to come.
Diffstat (limited to 'applications/luci-openvpn/luasrc/model/cbi/openvpn-basic.lua')
-rw-r--r--applications/luci-openvpn/luasrc/model/cbi/openvpn-basic.lua11
1 files changed, 6 insertions, 5 deletions
diff --git a/applications/luci-openvpn/luasrc/model/cbi/openvpn-basic.lua b/applications/luci-openvpn/luasrc/model/cbi/openvpn-basic.lua
index cadf558bf7..1d4cc4d7ac 100644
--- a/applications/luci-openvpn/luasrc/model/cbi/openvpn-basic.lua
+++ b/applications/luci-openvpn/luasrc/model/cbi/openvpn-basic.lua
@@ -42,11 +42,12 @@ local basicParams = {
{ Flag, "client_to_client", 0 },
{ DynamicList, "remote", "vpnserver.example.org" },
- { Value, "secret", "/etc/openvpn/secret.key 1" },
- { Value, "ca", "/etc/easy-rsa/keys/ca.crt" },
- { Value, "dh", "/etc/easy-rsa/keys/dh1024.pem" },
- { Value, "cert", "/etc/easy-rsa/keys/some-client.crt" },
- { Value, "key", "/etc/easy-rsa/keys/some-client.key" },
+ { FileUpload, "secret", "/etc/openvpn/secret.key 1" },
+ { FileUpload, "pkcs12", "/etc/easy-rsa/keys/some-client.pk12" },
+ { FileUpload, "ca", "/etc/easy-rsa/keys/ca.crt" },
+ { FileUpload, "dh", "/etc/easy-rsa/keys/dh1024.pem" },
+ { FileUpload, "cert", "/etc/easy-rsa/keys/some-client.crt" },
+ { FileUpload, "key", "/etc/easy-rsa/keys/some-client.key" },
}