summaryrefslogtreecommitdiff
path: root/interface-definitions/vpn_ipsec.xml.in
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2024-04-22 18:09:07 +0200
committerGitHub <noreply@github.com>2024-04-22 18:09:07 +0200
commit428d793ef162cc3e61af0fbc89963898e6b3988d (patch)
tree8e4f43002a20d046edf1c9dba703b5517595ff25 /interface-definitions/vpn_ipsec.xml.in
parent2208c846d6bffeecac99afa7ebc3eda5c467aebc (diff)
parent162a0f0d746f7789a676332ec04dba65fefd6d4e (diff)
downloadvyos-1x-428d793ef162cc3e61af0fbc89963898e6b3988d.tar.gz
vyos-1x-428d793ef162cc3e61af0fbc89963898e6b3988d.zip
Merge pull request #3341 from vyos/mergify/bp/sagitta/pr-3337
T6237: IPSec remote access VPN: ability to set EAP ID of clients (backport #3337)
Diffstat (limited to 'interface-definitions/vpn_ipsec.xml.in')
-rw-r--r--interface-definitions/vpn_ipsec.xml.in20
1 files changed, 20 insertions, 0 deletions
diff --git a/interface-definitions/vpn_ipsec.xml.in b/interface-definitions/vpn_ipsec.xml.in
index 833019d68..7f425d982 100644
--- a/interface-definitions/vpn_ipsec.xml.in
+++ b/interface-definitions/vpn_ipsec.xml.in
@@ -768,6 +768,26 @@
<children>
#include <include/ipsec/authentication-id.xml.i>
#include <include/ipsec/authentication-x509.xml.i>
+ <leafNode name="eap-id">
+ <properties>
+ <help>Remote EAP ID for client authentication</help>
+ <valueHelp>
+ <format>txt</format>
+ <description>Remote EAP ID for client authentication</description>
+ </valueHelp>
+ <completionHelp>
+ <list>any</list>
+ </completionHelp>
+ <valueHelp>
+ <format>any</format>
+ <description>Allow any EAP ID</description>
+ </valueHelp>
+ <constraint>
+ <regex>[[:ascii:]]{1,64}</regex>
+ </constraint>
+ </properties>
+ <defaultValue>any</defaultValue>
+ </leafNode>
<leafNode name="client-mode">
<properties>
<help>Client authentication mode</help>