summaryrefslogtreecommitdiff
path: root/templates/vpn
diff options
context:
space:
mode:
authorAlex Harpin <development@landsofshadow.co.uk>2015-01-17 18:59:17 +0000
committerAlex Harpin <development@landsofshadow.co.uk>2015-01-17 18:59:17 +0000
commit2e341aac4ed4df5481f58505c6ea0425bf93dc98 (patch)
tree0d0c2047cebe3015ce8a24fd7e7575a01a62daeb /templates/vpn
parent90057becb0a3aac0636282b43aaf8b7ac4e7b967 (diff)
downloadvyatta-cfg-vpn-2e341aac4ed4df5481f58505c6ea0425bf93dc98.tar.gz
vyatta-cfg-vpn-2e341aac4ed4df5481f58505c6ea0425bf93dc98.zip
vyatta-cfg-vpn: update pre-shared secret key help for single quotes
Updated the help for pre-shared secret key usage when special characters are used. These need to be enclosed in single quotes to stop them being expanded by the bash shell. Bug #451 http://bugzilla.vyos.net/show_bug.cgi?id=451
Diffstat (limited to 'templates/vpn')
-rw-r--r--templates/vpn/ipsec/profile/node.tag/authentication/pre-shared-secret/node.def8
-rw-r--r--templates/vpn/ipsec/site-to-site/peer/node.tag/authentication/pre-shared-secret/node.def8
2 files changed, 12 insertions, 4 deletions
diff --git a/templates/vpn/ipsec/profile/node.tag/authentication/pre-shared-secret/node.def b/templates/vpn/ipsec/profile/node.tag/authentication/pre-shared-secret/node.def
index 3b59835..b1cc826 100644
--- a/templates/vpn/ipsec/profile/node.tag/authentication/pre-shared-secret/node.def
+++ b/templates/vpn/ipsec/profile/node.tag/authentication/pre-shared-secret/node.def
@@ -6,7 +6,9 @@ Only these characters are allowed to be used for setting pre-shared secret key :
alphanumeric characters a-z A-Z 0-9
special characters - + & ! @ # $ % ^ * ( ) , . : _
-Use of single quotes to set pre-shared secret key is recommended.
+Use of single quotes to set pre-shared secret key is recommended. If you are
+using special characters in the pre-shared scret key then single quotes are
+required.
Example usage : 'aA1-&!@,.:_2Bb'
"
@@ -15,5 +17,7 @@ These characters are allowed to be used for setting pre-shared secret key :
alphanumeric characters a-z A-Z 0-9
special characters - + & ! @ # $ %% ^ * ( ) , . : _
-Use of single quotes to set pre-shared secret key is recommended.
+Use of single quotes to set pre-shared secret key is recommended. If you are
+using special characters in the pre-shared scret key then single quotes are
+required.
Example usage : 'aA1-&!@,.:_2Bb'
diff --git a/templates/vpn/ipsec/site-to-site/peer/node.tag/authentication/pre-shared-secret/node.def b/templates/vpn/ipsec/site-to-site/peer/node.tag/authentication/pre-shared-secret/node.def
index 3b59835..b1cc826 100644
--- a/templates/vpn/ipsec/site-to-site/peer/node.tag/authentication/pre-shared-secret/node.def
+++ b/templates/vpn/ipsec/site-to-site/peer/node.tag/authentication/pre-shared-secret/node.def
@@ -6,7 +6,9 @@ Only these characters are allowed to be used for setting pre-shared secret key :
alphanumeric characters a-z A-Z 0-9
special characters - + & ! @ # $ % ^ * ( ) , . : _
-Use of single quotes to set pre-shared secret key is recommended.
+Use of single quotes to set pre-shared secret key is recommended. If you are
+using special characters in the pre-shared scret key then single quotes are
+required.
Example usage : 'aA1-&!@,.:_2Bb'
"
@@ -15,5 +17,7 @@ These characters are allowed to be used for setting pre-shared secret key :
alphanumeric characters a-z A-Z 0-9
special characters - + & ! @ # $ %% ^ * ( ) , . : _
-Use of single quotes to set pre-shared secret key is recommended.
+Use of single quotes to set pre-shared secret key is recommended. If you are
+using special characters in the pre-shared scret key then single quotes are
+required.
Example usage : 'aA1-&!@,.:_2Bb'