diff options
Diffstat (limited to 'templates/vpn/ipsec')
-rw-r--r-- | templates/vpn/ipsec/site-to-site/peer/node.def | 1 | ||||
-rw-r--r-- | templates/vpn/ipsec/site-to-site/peer/node.tag/authentication/id/node.def | 6 |
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 |