summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorAlex W <embezzle.dev@proton.me>2024-04-21 21:59:56 +0100
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-04-22 05:00:34 +0000
commit162a0f0d746f7789a676332ec04dba65fefd6d4e (patch)
tree8e4f43002a20d046edf1c9dba703b5517595ff25 /interface-definitions
parent2208c846d6bffeecac99afa7ebc3eda5c467aebc (diff)
downloadvyos-1x-162a0f0d746f7789a676332ec04dba65fefd6d4e.tar.gz
vyos-1x-162a0f0d746f7789a676332ec04dba65fefd6d4e.zip
T6237: IPSec remote access VPN: ability to set EAP ID of clients
(cherry picked from commit 78ea623df20b44309cc6ac9848ed18e97fc4ed03)
Diffstat (limited to 'interface-definitions')
-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>