summaryrefslogtreecommitdiff
path: root/templates/vpn
diff options
context:
space:
mode:
Diffstat (limited to 'templates/vpn')
-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(@)"