summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/vpn/ipsec/site-to-site/peer/node.tag/authentication/id/node.def2
-rw-r--r--templates/vpn/ipsec/site-to-site/peer/node.tag/authentication/remote-id/node.def2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/vpn/ipsec/site-to-site/peer/node.tag/authentication/id/node.def b/templates/vpn/ipsec/site-to-site/peer/node.tag/authentication/id/node.def
index a16cd3a..a8f1df9 100644
--- a/templates/vpn/ipsec/site-to-site/peer/node.tag/authentication/id/node.def
+++ b/templates/vpn/ipsec/site-to-site/peer/node.tag/authentication/id/node.def
@@ -1,5 +1,5 @@
help: ID for peer authentication
type: txt
-syntax:expression: pattern $VAR(@) "^@[[A-Za-z_]+([A-Za-z0-9][-_A-Za-z0-9]*)*$"
+syntax:expression: pattern $VAR(@) "^[[:print:]]+"
; "invalid ID \"$VAR(@)\""
val_help: @<text>; ID used for peer authentication
diff --git a/templates/vpn/ipsec/site-to-site/peer/node.tag/authentication/remote-id/node.def b/templates/vpn/ipsec/site-to-site/peer/node.tag/authentication/remote-id/node.def
index 7cc4f87..e2ba16d 100644
--- a/templates/vpn/ipsec/site-to-site/peer/node.tag/authentication/remote-id/node.def
+++ b/templates/vpn/ipsec/site-to-site/peer/node.tag/authentication/remote-id/node.def
@@ -1,5 +1,5 @@
help: ID for remote authentication
type: txt
-syntax:expression: pattern $VAR(@) "^@[[A-Za-z_]+([A-Za-z0-9][-_A-Za-z0-9]*)*$"
+syntax:expression: pattern $VAR(@) "^[[:print:]]+"
; "invalid ID \"$VAR(@)\""
val_help: @<text>; ID used for peer authentication