RAWNAT: add extension's kernel and userspace modules

RAWNAT provides stateless 1:1 network address translation.
This commit is contained in:
Jan Engelhardt
2009-03-26 20:37:00 +01:00
parent 03aeed615d
commit 637516f2d4
13 changed files with 804 additions and 2 deletions

View File

@@ -0,0 +1,10 @@
The \fBRAWDNAT\fR target will rewrite the destination address in the IP header,
much like the \fBNETMAP\fR target.
.TP
\fB--to-destination\fR \fIaddr\fR[\fB/\fR\fImask\fR]
Network address to map to. The resulting address will be constructed the
following way: All 'one' bits in the \fImask\fR are filled in from the new
\fIaddress\fR. All bits that are zero in the mask are filled in from the
original address.
.PP
See the \fBRAWSNAT\fR help entry for examples and constraints.