summaryrefslogtreecommitdiff
path: root/templates/firewall/group/port-group
diff options
context:
space:
mode:
authorStig Thormodsrud <stig@io.vyatta.com>2009-02-15 15:51:55 -0800
committerStig Thormodsrud <stig@io.vyatta.com>2009-02-15 15:51:55 -0800
commite64e39512d6909150cb189c7d59fb72db4216ddb (patch)
tree9c19685a71c75c60aaf2de76b27827c48b8f788f /templates/firewall/group/port-group
parentc0e91ced01c7b87a818577245969aeedb7aa5796 (diff)
downloadvyatta-cfg-firewall-e64e39512d6909150cb189c7d59fb72db4216ddb.tar.gz
vyatta-cfg-firewall-e64e39512d6909150cb189c7d59fb72db4216ddb.zip
Add support for ranges in firewall group address & port.
Diffstat (limited to 'templates/firewall/group/port-group')
-rw-r--r--templates/firewall/group/port-group/node.tag/port/node.def9
1 files changed, 7 insertions, 2 deletions
diff --git a/templates/firewall/group/port-group/node.tag/port/node.def b/templates/firewall/group/port-group/node.tag/port/node.def
index 92bce9c..0f0981b 100644
--- a/templates/firewall/group/port-group/node.tag/port/node.def
+++ b/templates/firewall/group/port-group/node.tag/port/node.def
@@ -10,8 +10,13 @@ syntax:expression: exec "sudo /opt/vyatta/sbin/vyatta-ipset.pl \
create: sudo /opt/vyatta/sbin/vyatta-ipset.pl --action=add-member \
--set-name=$VAR(../@) \
- --member="$VAR(@) "
+ --member="$VAR(@)"
delete: sudo /opt/vyatta/sbin/vyatta-ipset.pl --action=delete-member \
--set-name=$VAR(../@) \
- --member="$VAR(@) "
+ --member="$VAR(@)"
+
+comp_help: Possible completions:
+ <port name> Named port (any name in /etc/services, e.g., http)
+ <1-65535> Numbered port
+ <start>-<end> Numbered port range (e.g. 1001-1050)