From 7d49f7079f1129c2fadc7f38ceb230804d89e177 Mon Sep 17 00:00:00 2001 From: Joe Groocock Date: Sun, 20 Aug 2023 14:40:38 +0100 Subject: nat64: T160: Implement Jool-based NAT64 translator Signed-off-by: Joe Groocock --- interface-definitions/include/nat64-protocol.xml.i | 27 ++++++ interface-definitions/nat64.xml.in | 97 ++++++++++++++++++++++ 2 files changed, 124 insertions(+) create mode 100644 interface-definitions/include/nat64-protocol.xml.i create mode 100644 interface-definitions/nat64.xml.in (limited to 'interface-definitions') diff --git a/interface-definitions/include/nat64-protocol.xml.i b/interface-definitions/include/nat64-protocol.xml.i new file mode 100644 index 000000000..9432e6a87 --- /dev/null +++ b/interface-definitions/include/nat64-protocol.xml.i @@ -0,0 +1,27 @@ + + + + Apply translation address to a specfic protocol + + + + + Transmission Control Protocol + + + + + + User Datagram Protocol + + + + + + Internet Control Message Protocol + + + + + + diff --git a/interface-definitions/nat64.xml.in b/interface-definitions/nat64.xml.in new file mode 100644 index 000000000..1522395e4 --- /dev/null +++ b/interface-definitions/nat64.xml.in @@ -0,0 +1,97 @@ + + + + + IPv6-to-IPv4 Network Address Translation (NAT64) Settings + 501 + + + + + IPv6 source to IPv4 destination address translation + + + + + Source NAT64 rule number + + u32:1-999999 + Number for this rule + + + + + NAT64 rule number must be between 1 and 999999 + + + #include + #include + + + IPv6 source prefix options + + + + + IPv6 prefix to be translated + + ipv6net + IPv6 prefix + + + + + + + + + + + Translated IPv4 address options + + + + + Translation IPv4 pool number + + u32:1-999999 + Number for this rule + + + + + NAT64 pool number must be between 1 and 999999 + + + #include + #include + #include + #include + + + IPv4 address or prefix to translate to + + ipv4 + IPv4 address + + + ipv4net + IPv4 prefix + + + + + + + + + + + + + + + + + + -- cgit v1.2.3