summaryrefslogtreecommitdiff
path: root/interface-definitions/include/nat-port.xml.i
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-05-12 19:28:06 +0200
committerChristian Poessinger <christian@poessinger.com>2020-05-16 15:30:26 +0200
commitac4f99ac3b176f1804b17b32e6615e8b3701dfe8 (patch)
tree4e6595c1934572e5451cb93e687fd5abddabe884 /interface-definitions/include/nat-port.xml.i
parent1330898ed095b42b6aba7ba00f9a6932b241a230 (diff)
downloadvyos-1x-ac4f99ac3b176f1804b17b32e6615e8b3701dfe8.tar.gz
vyos-1x-ac4f99ac3b176f1804b17b32e6615e8b3701dfe8.zip
nat: T2198: split nat-address-port include into individual files
Diffstat (limited to 'interface-definitions/include/nat-port.xml.i')
-rw-r--r--interface-definitions/include/nat-port.xml.i17
1 files changed, 17 insertions, 0 deletions
diff --git a/interface-definitions/include/nat-port.xml.i b/interface-definitions/include/nat-port.xml.i
new file mode 100644
index 000000000..24803ae05
--- /dev/null
+++ b/interface-definitions/include/nat-port.xml.i
@@ -0,0 +1,17 @@
+<leafNode name="port">
+ <properties>
+ <help>Port number</help>
+ <valueHelp>
+ <format>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> </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>
+ </properties>
+</leafNode>