aboutsummaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorAndrey V. Elsukov <ae@FreeBSD.org>2018-05-09 12:25:23 +0000
committerAndrey V. Elsukov <ae@FreeBSD.org>2018-05-09 12:25:23 +0000
commitc54e0abbc6952a548424b9c00b0ddb7683e75aaa (patch)
treecd027aee38ba72c049b1433d9f1754519329b58f /sbin
parent71d1bbce917b774368053975f630c5e309a56e0b (diff)
downloadsrc-c54e0abbc6952a548424b9c00b0ddb7683e75aaa.tar.gz
src-c54e0abbc6952a548424b9c00b0ddb7683e75aaa.zip
Update NAT64 documentation, now we support any IPv6 prefixes.
MFC after: 1 month
Notes
Notes: svn path=/head/; revision=333406
Diffstat (limited to 'sbin')
-rw-r--r--sbin/ipfw/ipfw.820
1 files changed, 11 insertions, 9 deletions
diff --git a/sbin/ipfw/ipfw.8 b/sbin/ipfw/ipfw.8
index 1024652cac73..4a925d72ba43 100644
--- a/sbin/ipfw/ipfw.8
+++ b/sbin/ipfw/ipfw.8
@@ -1,7 +1,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd March 19, 2018
+.Dd May 9, 2018
.Dt IPFW 8
.Os
.Sh NAME
@@ -3048,13 +3048,6 @@ After translation NAT64 translator sends packets through corresponding netisr
queue.
Thus translator host should be configured as IPv4 and IPv6 router.
.Pp
-Currently both stateful and stateless NAT64 translators use Well-Known IPv6
-Prefix
-.Ar 64:ff9b::/96
-to represent IPv4 addresses in the IPv6 address.
-Thus DNS64 service and routing should be configured to use Well-Known IPv6
-Prefix.
-.Pp
The stateful NAT64 configuration command is the following:
.Bd -ragged -offset indent
.Bk -words
@@ -3067,7 +3060,7 @@ The stateful NAT64 configuration command is the following:
.Pp
The following parameters can be configured:
.Bl -tag -width indent
-.It Cm prefix4 Ar ipv4_prefix/mask
+.It Cm prefix4 Ar ipv4_prefix/plen
The IPv4 prefix with mask defines the pool of IPv4 addresses used as
source address after translation.
Stateful NAT64 module translates IPv6 source address of client to one
@@ -3075,6 +3068,12 @@ IPv4 address from this pool.
Note that incoming IPv4 packets that don't have corresponding state entry
in the states table will be dropped by translator.
Make sure that translation rules handle packets, destined to configured prefix.
+.It Cm prefix6 Ar ipv6_prefix/length
+The IPv6 prefix defines IPv4-embedded IPv6 addresses used by translator
+to represent IPv4 addresses. This IPv6 prefix should be configured in DNS64.
+The translator implementation follows RFC6052, that restricts the length of
+prefixes to one of following: 32, 40, 48, 56, 64, or 96.
+The Well-Known IPv6 Prefix 64:ff9b:: must be 96 bits long.
.It Cm max_ports Ar number
Maximum number of ports reserved for upper level protocols to one IPv6 client.
All reserved ports are divided into chunks between supported protocols.
@@ -3174,6 +3173,9 @@ The stateless NAT64 configuration command is the following:
.Pp
The following parameters can be configured:
.Bl -tag -width indent
+.It Cm prefix6 Ar ipv6_prefix/length
+The IPv6 prefix defines IPv4-embedded IPv6 addresses used by translator
+to represent IPv4 addresses. This IPv6 prefix should be configured in DNS64.
.It Cm table4 Ar table46
The lookup table
.Ar table46