summaryrefslogtreecommitdiff
path: root/interface-definitions/include/nat-port.xml.i
blob: 5f762cfb374b90fc98776dd3fa139f02c7570f6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<!-- include start from nat-port.xml.i -->
<leafNode name="port">
  <properties>
    <help>Port number</help>
    <valueHelp>
     <format>txt</format>
     <description>Named port (any name in /etc/services, e.g., http)</description>
    </valueHelp>
    <valueHelp>
      <format>u32:1-65535</format>
      <description>Numeric IP port</description>
    </valueHelp>
    <valueHelp>
      <format>start-end</format>
      <description>Numbered port range (e.g. 1001-1005)</description>
    </valueHelp>
    <valueHelp>
      <format/>
      <description>\n\nMultiple destination ports can be specified as a comma-separated list.\nThe whole list can also be negated using '!'.\nFor example: '!22,telnet,http,123,1001-1005'</description>
    </valueHelp>
    <constraint>
     <validator name="port-multi"/>
    </constraint>
  </properties>
</leafNode>
<!-- include end -->