summaryrefslogtreecommitdiffhomepage
path: root/protocols/luci-proto-openconnect
diff options
context:
space:
mode:
authorFlorian Eckert <fe@dev.tdt.de>2020-11-25 10:27:44 +0100
committerGitHub <noreply@github.com>2020-11-25 10:27:44 +0100
commit7e2e3ee4990f22904a94c01f4ffc9c8d44df8968 (patch)
treeaa3b3636e7c2c3b7ced551628109469989d1b0b1 /protocols/luci-proto-openconnect
parent87d64ee27978ad008743e69e2e1c198e89a598ff (diff)
parenteeada1a077a7c930ad89baa2157cffaa2ec3b4c4 (diff)
Merge pull request #4542 from mayli/oc-protocol
luci-proto-openconnect: add vpn_procotol support
Diffstat (limited to 'protocols/luci-proto-openconnect')
-rw-r--r--protocols/luci-proto-openconnect/htdocs/luci-static/resources/protocol/openconnect.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/protocols/luci-proto-openconnect/htdocs/luci-static/resources/protocol/openconnect.js b/protocols/luci-proto-openconnect/htdocs/luci-static/resources/protocol/openconnect.js
index 1f07f97513..388812d893 100644
--- a/protocols/luci-proto-openconnect/htdocs/luci-static/resources/protocol/openconnect.js
+++ b/protocols/luci-proto-openconnect/htdocs/luci-static/resources/protocol/openconnect.js
@@ -93,6 +93,12 @@ return network.registerProtocol('openconnect', {
certLoadPromise = null,
o;
+ o = s.taboption('general', form.ListValue, 'vpn_protocol', _('VPN Protocol'));
+ o.value('anyconnect', 'Cisco AnyConnect SSL VPN');
+ o.value('nc', 'Juniper Network Connect');
+ o.value('gp', 'GlobalProtect SSL VPN');
+ o.value('pulse', 'Pulse Connect Secure SSL VPN');
+
o = s.taboption('general', form.Value, 'server', _('VPN Server'));
o.datatype = 'host(0)';