summaryrefslogtreecommitdiff
path: root/templates/vpn/ipsec/site-to-site
diff options
context:
space:
mode:
authorDaniil Baturin <daniil.baturin@vyatta.com>2012-03-29 03:10:47 +0700
committerDaniil Baturin <daniil.baturin@vyatta.com>2012-03-29 03:10:47 +0700
commit116765680a142c698da9da3ff7c4637ff88cb825 (patch)
tree0dcd54a9a37a1968d835eac4d26b5be47c9c7219 /templates/vpn/ipsec/site-to-site
parentd34ccd9bd463765cfabaca527471ceabb1e6ccb9 (diff)
downloadvyatta-cfg-vpn-116765680a142c698da9da3ff7c4637ff88cb825.tar.gz
vyatta-cfg-vpn-116765680a142c698da9da3ff7c4637ff88cb825.zip
Add any special case for local-address instead of 0.0.0.0.
Diffstat (limited to 'templates/vpn/ipsec/site-to-site')
-rw-r--r--templates/vpn/ipsec/site-to-site/peer/node.tag/local-address/node.def6
1 files changed, 5 insertions, 1 deletions
diff --git a/templates/vpn/ipsec/site-to-site/peer/node.tag/local-address/node.def b/templates/vpn/ipsec/site-to-site/peer/node.tag/local-address/node.def
index 370b2bd..c738bd6 100644
--- a/templates/vpn/ipsec/site-to-site/peer/node.tag/local-address/node.def
+++ b/templates/vpn/ipsec/site-to-site/peer/node.tag/local-address/node.def
@@ -1,5 +1,9 @@
help: IPv4 or IPv6 address of a local interface to use for VPN
+type: ipv4
+type: ipv6
type: txt
+allowed: echo "any"
val_help: ipv4; IPv4 address of a local interface for VPN
val_help: ipv6; IPv6 address of a local interface for VPN
-syntax:expression: exec "/opt/vyatta/sbin/is_valid_address.pl $VAR(@)"
+val_help: any; Allow any IPv4 address present on the system to be used for VPN
+syntax:expression: exec "/opt/vyatta/sbin/is_valid_address.pl $VAR(@)"