summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorKim Hagen <kim@sentrium.io>2021-10-07 08:44:00 -0500
committerKim Hagen <kim@sentrium.io>2021-10-07 08:44:00 -0500
commitba8630da96396f09c638fccdc9cfe6a3ee70fd58 (patch)
treea4bedef0d677fa8179dd76c7c8d314476f3683cd /interface-definitions
parenteb7f8904076e749e18c10b6374bf363dfa009c19 (diff)
downloadvyos-1x-ba8630da96396f09c638fccdc9cfe6a3ee70fd58.tar.gz
vyos-1x-ba8630da96396f09c638fccdc9cfe6a3ee70fd58.zip
pull request fixes
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/interfaces-openvpn.xml.in23
1 files changed, 14 insertions, 9 deletions
diff --git a/interface-definitions/interfaces-openvpn.xml.in b/interface-definitions/interfaces-openvpn.xml.in
index 62fac9be0..023f9f55d 100644
--- a/interface-definitions/interfaces-openvpn.xml.in
+++ b/interface-definitions/interfaces-openvpn.xml.in
@@ -635,14 +635,14 @@
</properties>
<defaultValue>net30</defaultValue>
</leafNode>
- <node name="2fa">
+ <node name="mfa">
<properties>
- <help>2-factor authentication</help>
+ <help>multi-factor authentication</help>
</properties>
<children>
<node name="totp">
<properties>
- <help>Time-based One-Time Passwords</help>
+ <help>Time-based one-time passwords</help>
</properties>
<children>
<leafNode name="slop">
@@ -656,10 +656,11 @@
<validator name="numeric" argument="--range 1-65535"/>
</constraint>
</properties>
+ <defaultValue>180</defaultValue>
</leafNode>
<leafNode name="drift">
<properties>
- <help>time drift in seconds (default: 0)</help>
+ <help>Time drift in seconds (default: 0)</help>
<valueHelp>
<format>1-65535</format>
<description>Seconds</description>
@@ -668,10 +669,11 @@
<validator name="numeric" argument="--range 1-65535"/>
</constraint>
</properties>
+ <defaultValue>0</defaultValue>
</leafNode>
<leafNode name="step">
<properties>
- <help>Step value for TOTP in seconds (default: 30)</help>
+ <help>Step value for totp in seconds (default: 30)</help>
<valueHelp>
<format>1-65535</format>
<description>Seconds</description>
@@ -680,10 +682,11 @@
<validator name="numeric" argument="--range 1-65535"/>
</constraint>
</properties>
+ <defaultValue>30</defaultValue>
</leafNode>
<leafNode name="digits">
<properties>
- <help>Number of digits to use from TOTP hash (default: 6)</help>
+ <help>Number of digits to use for totp hash (default: 6)</help>
<valueHelp>
<format>1-65535</format>
<description>Seconds</description>
@@ -692,25 +695,27 @@
<validator name="numeric" argument="--range 1-65535"/>
</constraint>
</properties>
+ <defaultValue>6</defaultValue>
</leafNode>
<leafNode name="challenge">
<properties>
- <help>expect password as result of a challenge response protocol (default: enabled)</help>
+ <help>Expect password as result of a challenge response protocol (default: enabled)</help>
<completionHelp>
<list>disable enable</list>
</completionHelp>
<valueHelp>
<format>disable</format>
- <description>Disable challenge response (default)</description>
+ <description>Disable challenge-response</description>
</valueHelp>
<valueHelp>
<format>enable</format>
- <description>Enable chalenge response (default)</description>
+ <description>Enable chalenge-response (default)</description>
</valueHelp>
<constraint>
<regex>^(disable|enable)$</regex>
</constraint>
</properties>
+ <defaultValue>enable</defaultValue>
</leafNode>
</children>
</node>