File: libxt_NETMAP.man

package info (click to toggle)
iptables 1.8.11-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,792 kB
  • sloc: ansic: 53,482; sh: 7,810; xml: 772; python: 755; makefile: 271
file content (11 lines) | stat: -rw-r--r-- 496 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
This target allows you to statically map a whole network of addresses onto
another network of addresses.  It can only be used from rules in the
.B nat
table.
.TP
\fB\-\-to\fP \fIaddress\fP[\fB/\fP\fImask\fP]
Network address to map to.  The resulting address will be constructed in the
following way: All 'one' bits in the mask are filled in from the new `address'.
All bits that are zero in the mask are filled in from the original address.
.TP
IPv6 support available since Linux kernels >= 3.7.