summaryrefslogtreecommitdiff
path: root/templates-cfg
diff options
context:
space:
mode:
Diffstat (limited to 'templates-cfg')
-rw-r--r--templates-cfg/service/nat/rule/node.tag/protocols/node.def9
1 files changed, 5 insertions, 4 deletions
diff --git a/templates-cfg/service/nat/rule/node.tag/protocols/node.def b/templates-cfg/service/nat/rule/node.tag/protocols/node.def
index e2e6e84..bea3fa3 100644
--- a/templates-cfg/service/nat/rule/node.tag/protocols/node.def
+++ b/templates-cfg/service/nat/rule/node.tag/protocols/node.def
@@ -2,7 +2,8 @@ type: txt
help: Protocol to NAT (this can be a protocol name in /etc/protocols, a protocol number, or "all")
syntax:expression: exec "/opt/vyatta/sbin/vyatta-validate-type.pl protocol_negate '$VAR(@)'" ; "invalid protocol \"$VAR(@)\""
comp_help:Possible completions:
- <name> A protocol name, for example, "tcp"
- <number> A protocol number
- all All protocols
-(Note: a protocol can also be negated, for example, "!tcp")
+ <text> An IP protocol name from /etc/protocols (e.g. "tcp" or "udp").
+ <0-255> An IP protocol number.
+ all All IP protocols.
+ !<protocol> All IP protocols except for the specified name or number
+ (negation).