From 8e1e79cfa24c155c8d504822fbbd3c20f890fb70 Mon Sep 17 00:00:00 2001 From: Viacheslav Hletenko Date: Sat, 23 Dec 2023 13:21:43 +0000 Subject: T160: NAT64 add match firewall mark feature Match mark allows to use firewall marks of packet to use a specific pool Example of instance config /run/jool/instance-100.json ``` ... "pool4": [ { "protocol": "TCP", "prefix": "192.0.2.10", "port range": "1-65535", "mark": 23 }, ... ``` --- interface-definitions/nat64.xml.in | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'interface-definitions') 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 @@ #include #include + + + Match + + + + + Match fwmark value + + u32:1-2147483647 + Fwmark value to match against + + + + + + + + IPv6 source prefix options -- cgit v1.2.3