summaryrefslogtreecommitdiff
path: root/templates/vpn
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2008-07-09 15:02:40 -0700
committerAn-Cheng Huang <ancheng@vyatta.com>2008-07-09 15:02:40 -0700
commit76bdc334604d3871d73453aebbd3cd095a4377fb (patch)
tree960722e293224b07d0e6e152c9f32211b001a7e8 /templates/vpn
parent981800dff80cfa85dc939aac43a1ad9f3aa9ea3c (diff)
downloadvyatta-cfg-vpn-76bdc334604d3871d73453aebbd3cd095a4377fb.tar.gz
vyatta-cfg-vpn-76bdc334604d3871d73453aebbd3cd095a4377fb.zip
fix for bugs 3044, 3047, and 3048: support ipsec road warriors.
Diffstat (limited to 'templates/vpn')
-rw-r--r--templates/vpn/ipsec/site-to-site/peer/node.def1
-rw-r--r--templates/vpn/ipsec/site-to-site/peer/node.tag/authentication/id/node.def6
2 files changed, 7 insertions, 0 deletions
diff --git a/templates/vpn/ipsec/site-to-site/peer/node.def b/templates/vpn/ipsec/site-to-site/peer/node.def
index e4e349e..2118990 100644
--- a/templates/vpn/ipsec/site-to-site/peer/node.def
+++ b/templates/vpn/ipsec/site-to-site/peer/node.def
@@ -4,3 +4,4 @@ help: Set VPN peers
comp_help: Allowed values:
<x.x.x.x> Set IP address of the peer
<text> Set the hostname of the peer
+ @<text> Set the ID of the peer
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
new file mode 100644
index 0000000..c5e66c1
--- /dev/null
+++ b/templates/vpn/ipsec/site-to-site/peer/node.tag/authentication/id/node.def
@@ -0,0 +1,6 @@
+help: Set ID for peer authentication
+type: txt
+syntax:expression: pattern $VAR(@) "^@[a-zA-Z_][a-zA-Z0-9_-]*$"
+ ; "invalid ID \"$VAR(@)\""
+comp_help:Possible completions:
+ @<text> ID used for peer authentication