From 76bdc334604d3871d73453aebbd3cd095a4377fb Mon Sep 17 00:00:00 2001 From: An-Cheng Huang Date: Wed, 9 Jul 2008 15:02:40 -0700 Subject: fix for bugs 3044, 3047, and 3048: support ipsec road warriors. --- templates/vpn/ipsec/site-to-site/peer/node.def | 1 + .../vpn/ipsec/site-to-site/peer/node.tag/authentication/id/node.def | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 templates/vpn/ipsec/site-to-site/peer/node.tag/authentication/id/node.def (limited to 'templates/vpn') 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: Set IP address of the peer Set the hostname of the peer + @ 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: + @ ID used for peer authentication -- cgit v1.2.3