summaryrefslogtreecommitdiff
path: root/interface-definitions/nat64.xml.in
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-12-24 11:08:44 +0100
committerGitHub <noreply@github.com>2023-12-24 11:08:44 +0100
commit6173c3f6d0b84636d0d3a2c5d65edd7b7f0aadca (patch)
tree58c1c9b6c187add1d588f6f3e93e03ad6488df89 /interface-definitions/nat64.xml.in
parent89cd75b8dbe5cc145a4423bf10faa76fd6bdcdbf (diff)
parent8e1e79cfa24c155c8d504822fbbd3c20f890fb70 (diff)
downloadvyos-1x-6173c3f6d0b84636d0d3a2c5d65edd7b7f0aadca.tar.gz
vyos-1x-6173c3f6d0b84636d0d3a2c5d65edd7b7f0aadca.zip
Merge pull request #2677 from sever-sever/T160
T160: NAT64 add match firewall mark feature
Diffstat (limited to 'interface-definitions/nat64.xml.in')
-rw-r--r--interface-definitions/nat64.xml.in19
1 files changed, 19 insertions, 0 deletions
diff --git a/interface-definitions/nat64.xml.in b/interface-definitions/nat64.xml.in
index baf13e6cb..dfdd295d2 100644
--- a/interface-definitions/nat64.xml.in
+++ b/interface-definitions/nat64.xml.in
@@ -26,6 +26,25 @@
<children>
#include <include/generic-description.xml.i>
#include <include/generic-disable-node.xml.i>
+ <node name="match">
+ <properties>
+ <help>Match</help>
+ </properties>
+ <children>
+ <leafNode name="mark">
+ <properties>
+ <help>Match fwmark value</help>
+ <valueHelp>
+ <format>u32:1-2147483647</format>
+ <description>Fwmark value to match against</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-2147483647"/>
+ </constraint>
+ </properties>
+ </leafNode>
+ </children>
+ </node>
<node name="source">
<properties>
<help>IPv6 source prefix options</help>