mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
os-openconnect: Added option to enable the use of insecure ciphers
Committer: Robert Zaage <robert@zaage.it>
This commit is contained in:
committed by
Ad Schellevis
parent
cb2e7d3e6e
commit
971b4da0cf
+6
@@ -59,6 +59,12 @@
|
||||
<type>text</type>
|
||||
<help>Enter a secret to use with one-time password generation.</help>
|
||||
</field>
|
||||
<field>
|
||||
<id>general.allowinsecure</id>
|
||||
<label>Allow Insecure Ciphers</label>
|
||||
<type>checkbox</type>
|
||||
<help>This option allows the use of insecure ciphers.</help>
|
||||
</field>
|
||||
<field>
|
||||
<id>general.protocol</id>
|
||||
<label>Protocol</label>
|
||||
|
||||
@@ -58,6 +58,10 @@
|
||||
<tokensecret type="TextField">
|
||||
<Required>N</Required>
|
||||
</tokensecret>
|
||||
<allowinsecure type="BooleanField">
|
||||
<Default>0</Default>
|
||||
<Required>N</Required>
|
||||
</allowinsecure>
|
||||
<protocol type="OptionField">
|
||||
<Default>anyconnect</Default>
|
||||
<Required>Y</Required>
|
||||
|
||||
+3
@@ -25,6 +25,9 @@ token-mode={{ OPNsense.openconnect.general.tokenmode }}
|
||||
token-secret={{ OPNsense.openconnect.general.tokensecret }}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% if OPNsense.openconnect.general.allowinsecure|default('0') == '1' %}
|
||||
allow-insecure-crypto
|
||||
{% endif %}
|
||||
{% if helpers.exists('OPNsense.openconnect.general.protocol') and OPNsense.openconnect.general.protocol != '' %}
|
||||
protocol={{ OPNsense.openconnect.general.protocol }}
|
||||
{% if OPNsense.openconnect.general.protocol == 'anyconnect' %}
|
||||
|
||||
Reference in New Issue
Block a user